7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workdocs/WorkDocs_EXPORTS.h>
11#include <aws/workdocs/model/DocumentVersionMetadata.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename MetadataT = DocumentVersionMetadata>
39 m_metadataHasBeenSet =
true;
40 m_metadata = std::forward<MetadataT>(value);
42 template <
typename MetadataT = DocumentVersionMetadata>
54 template <
typename CustomMetadataT = Aws::Map<Aws::String, Aws::String>>
56 m_customMetadataHasBeenSet =
true;
57 m_customMetadata = std::forward<CustomMetadataT>(value);
59 template <
typename CustomMetadataT = Aws::Map<Aws::String, Aws::String>>
64 template <
typename CustomMetadataKeyT = Aws::String,
typename CustomMetadataValueT = Aws::String>
66 m_customMetadataHasBeenSet =
true;
67 m_customMetadata.emplace(std::forward<CustomMetadataKeyT>(key), std::forward<CustomMetadataValueT>(value));
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
95 bool m_metadataHasBeenSet =
false;
96 bool m_customMetadataHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
GetDocumentVersionResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomMetadata() const
void SetCustomMetadata(CustomMetadataT &&value)
const Aws::String & GetRequestId() const
AWS_WORKDOCS_API GetDocumentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WORKDOCS_API GetDocumentVersionResult()=default
AWS_WORKDOCS_API GetDocumentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
GetDocumentVersionResult & WithCustomMetadata(CustomMetadataT &&value)
void SetMetadata(MetadataT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetDocumentVersionResult & WithMetadata(MetadataT &&value)
const DocumentVersionMetadata & GetMetadata() const
GetDocumentVersionResult & AddCustomMetadata(CustomMetadataKeyT &&key, CustomMetadataValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue