7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/AttachmentContent.h>
13#include <aws/ssm/model/DocumentFormat.h>
14#include <aws/ssm/model/DocumentRequires.h>
15#include <aws/ssm/model/DocumentStatus.h>
16#include <aws/ssm/model/DocumentType.h>
17#include <aws/ssm/model/ReviewStatus.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
60 template <
typename CreatedDateT = Aws::Utils::DateTime>
62 m_createdDateHasBeenSet =
true;
63 m_createdDate = std::forward<CreatedDateT>(value);
65 template <
typename CreatedDateT = Aws::Utils::DateTime>
79 template <
typename DisplayNameT = Aws::String>
81 m_displayNameHasBeenSet =
true;
82 m_displayName = std::forward<DisplayNameT>(value);
84 template <
typename DisplayNameT = Aws::String>
98 template <
typename VersionNameT = Aws::String>
100 m_versionNameHasBeenSet =
true;
101 m_versionName = std::forward<VersionNameT>(value);
103 template <
typename VersionNameT = Aws::String>
115 template <
typename DocumentVersionT = Aws::String>
117 m_documentVersionHasBeenSet =
true;
118 m_documentVersion = std::forward<DocumentVersionT>(value);
120 template <
typename DocumentVersionT = Aws::String>
135 m_statusHasBeenSet =
true;
152 template <
typename StatusInformationT = Aws::String>
154 m_statusInformationHasBeenSet =
true;
155 m_statusInformation = std::forward<StatusInformationT>(value);
157 template <
typename StatusInformationT = Aws::String>
169 template <
typename ContentT = Aws::String>
171 m_contentHasBeenSet =
true;
172 m_content = std::forward<ContentT>(value);
174 template <
typename ContentT = Aws::String>
187 m_documentTypeHasBeenSet =
true;
188 m_documentType = value;
202 m_documentFormatHasBeenSet =
true;
203 m_documentFormat = value;
218 template <
typename RequiresT = Aws::Vector<DocumentRequires>>
220 m_requiresHasBeenSet =
true;
221 m_requires = std::forward<RequiresT>(value);
223 template <
typename RequiresT = Aws::Vector<DocumentRequires>>
228 template <
typename RequiresT = DocumentRequires>
230 m_requiresHasBeenSet =
true;
231 m_requires.emplace_back(std::forward<RequiresT>(value));
242 template <
typename AttachmentsContentT = Aws::Vector<AttachmentContent>>
244 m_attachmentsContentHasBeenSet =
true;
245 m_attachmentsContent = std::forward<AttachmentsContentT>(value);
247 template <
typename AttachmentsContentT = Aws::Vector<AttachmentContent>>
252 template <
typename AttachmentsContentT = AttachmentContent>
254 m_attachmentsContentHasBeenSet =
true;
255 m_attachmentsContent.emplace_back(std::forward<AttachmentsContentT>(value));
271 m_reviewStatusHasBeenSet =
true;
272 m_reviewStatus = value;
283 template <
typename RequestIdT = Aws::String>
285 m_requestIdHasBeenSet =
true;
286 m_requestId = std::forward<RequestIdT>(value);
288 template <
typename RequestIdT = Aws::String>
325 bool m_nameHasBeenSet =
false;
326 bool m_createdDateHasBeenSet =
false;
327 bool m_displayNameHasBeenSet =
false;
328 bool m_versionNameHasBeenSet =
false;
329 bool m_documentVersionHasBeenSet =
false;
330 bool m_statusHasBeenSet =
false;
331 bool m_statusInformationHasBeenSet =
false;
332 bool m_contentHasBeenSet =
false;
333 bool m_documentTypeHasBeenSet =
false;
334 bool m_documentFormatHasBeenSet =
false;
335 bool m_requiresHasBeenSet =
false;
336 bool m_attachmentsContentHasBeenSet =
false;
337 bool m_reviewStatusHasBeenSet =
false;
338 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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