7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/AttachmentContent.h>
12#include <aws/ssm/model/DocumentFormat.h>
13#include <aws/ssm/model/DocumentRequires.h>
14#include <aws/ssm/model/DocumentStatus.h>
15#include <aws/ssm/model/DocumentType.h>
16#include <aws/ssm/model/ReviewStatus.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
59 template <
typename CreatedDateT = Aws::Utils::DateTime>
61 m_createdDateHasBeenSet =
true;
62 m_createdDate = std::forward<CreatedDateT>(value);
64 template <
typename CreatedDateT = Aws::Utils::DateTime>
78 template <
typename DisplayNameT = Aws::String>
80 m_displayNameHasBeenSet =
true;
81 m_displayName = std::forward<DisplayNameT>(value);
83 template <
typename DisplayNameT = Aws::String>
97 template <
typename VersionNameT = Aws::String>
99 m_versionNameHasBeenSet =
true;
100 m_versionName = std::forward<VersionNameT>(value);
102 template <
typename VersionNameT = Aws::String>
114 template <
typename DocumentVersionT = Aws::String>
116 m_documentVersionHasBeenSet =
true;
117 m_documentVersion = std::forward<DocumentVersionT>(value);
119 template <
typename DocumentVersionT = Aws::String>
134 m_statusHasBeenSet =
true;
151 template <
typename StatusInformationT = Aws::String>
153 m_statusInformationHasBeenSet =
true;
154 m_statusInformation = std::forward<StatusInformationT>(value);
156 template <
typename StatusInformationT = Aws::String>
168 template <
typename ContentT = Aws::String>
170 m_contentHasBeenSet =
true;
171 m_content = std::forward<ContentT>(value);
173 template <
typename ContentT = Aws::String>
186 m_documentTypeHasBeenSet =
true;
187 m_documentType = value;
201 m_documentFormatHasBeenSet =
true;
202 m_documentFormat = value;
217 template <
typename RequiresT = Aws::Vector<DocumentRequires>>
219 m_requiresHasBeenSet =
true;
220 m_requires = std::forward<RequiresT>(value);
222 template <
typename RequiresT = Aws::Vector<DocumentRequires>>
227 template <
typename RequiresT = DocumentRequires>
229 m_requiresHasBeenSet =
true;
230 m_requires.emplace_back(std::forward<RequiresT>(value));
241 template <
typename AttachmentsContentT = Aws::Vector<AttachmentContent>>
243 m_attachmentsContentHasBeenSet =
true;
244 m_attachmentsContent = std::forward<AttachmentsContentT>(value);
246 template <
typename AttachmentsContentT = Aws::Vector<AttachmentContent>>
251 template <
typename AttachmentsContentT = AttachmentContent>
253 m_attachmentsContentHasBeenSet =
true;
254 m_attachmentsContent.emplace_back(std::forward<AttachmentsContentT>(value));
270 m_reviewStatusHasBeenSet =
true;
271 m_reviewStatus = value;
282 template <
typename RequestIdT = Aws::String>
284 m_requestIdHasBeenSet =
true;
285 m_requestId = std::forward<RequestIdT>(value);
287 template <
typename RequestIdT = Aws::String>
321 bool m_nameHasBeenSet =
false;
322 bool m_createdDateHasBeenSet =
false;
323 bool m_displayNameHasBeenSet =
false;
324 bool m_versionNameHasBeenSet =
false;
325 bool m_documentVersionHasBeenSet =
false;
326 bool m_statusHasBeenSet =
false;
327 bool m_statusInformationHasBeenSet =
false;
328 bool m_contentHasBeenSet =
false;
329 bool m_documentTypeHasBeenSet =
false;
330 bool m_documentFormatHasBeenSet =
false;
331 bool m_requiresHasBeenSet =
false;
332 bool m_attachmentsContentHasBeenSet =
false;
333 bool m_reviewStatusHasBeenSet =
false;
334 bool m_requestIdHasBeenSet =
false;
DocumentFormat GetDocumentFormat() const
const Aws::String & GetStatusInformation() const
GetDocumentResult & WithStatus(DocumentStatus value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetDocumentVersion() const
const Aws::Vector< DocumentRequires > & GetRequires() const
const Aws::Vector< AttachmentContent > & GetAttachmentsContent() const
GetDocumentResult & WithAttachmentsContent(AttachmentsContentT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetName(NameT &&value)
void SetAttachmentsContent(AttachmentsContentT &&value)
GetDocumentResult & WithContent(ContentT &&value)
void SetDocumentFormat(DocumentFormat value)
DocumentType GetDocumentType() const
ReviewStatus GetReviewStatus() const
void SetStatus(DocumentStatus value)
GetDocumentResult & WithStatusInformation(StatusInformationT &&value)
GetDocumentResult & WithName(NameT &&value)
GetDocumentResult & WithReviewStatus(ReviewStatus value)
DocumentStatus GetStatus() const
void SetDisplayName(DisplayNameT &&value)
AWS_SSM_API GetDocumentResult()=default
GetDocumentResult & WithDocumentVersion(DocumentVersionT &&value)
const Aws::String & GetDisplayName() const
GetDocumentResult & AddAttachmentsContent(AttachmentsContentT &&value)
AWS_SSM_API GetDocumentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetContent(ContentT &&value)
AWS_SSM_API GetDocumentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDocumentResult & WithRequires(RequiresT &&value)
const Aws::String & GetContent() const
GetDocumentResult & WithRequestId(RequestIdT &&value)
GetDocumentResult & WithVersionName(VersionNameT &&value)
void SetVersionName(VersionNameT &&value)
GetDocumentResult & WithDocumentFormat(DocumentFormat value)
GetDocumentResult & WithDocumentType(DocumentType value)
GetDocumentResult & WithDisplayName(DisplayNameT &&value)
void SetDocumentVersion(DocumentVersionT &&value)
void SetReviewStatus(ReviewStatus value)
GetDocumentResult & AddRequires(RequiresT &&value)
void SetStatusInformation(StatusInformationT &&value)
void SetRequires(RequiresT &&value)
void SetDocumentType(DocumentType value)
const Aws::String & GetName() const
GetDocumentResult & WithCreatedDate(CreatedDateT &&value)
const Aws::String & GetVersionName() const
void SetCreatedDate(CreatedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue