7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/DocumentStatus.h>
11#include <aws/ssm/model/DocumentType.h>
12#include <aws/ssm/model/DocumentFormat.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ssm/model/ReviewStatus.h>
15#include <aws/ssm/model/DocumentRequires.h>
16#include <aws/ssm/model/AttachmentContent.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
59 template<
typename CreatedDateT = Aws::Utils::DateTime>
60 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
61 template<
typename CreatedDateT = Aws::Utils::DateTime>
72 template<
typename DisplayNameT = Aws::String>
73 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
74 template<
typename DisplayNameT = Aws::String>
85 template<
typename VersionNameT = Aws::String>
86 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet =
true; m_versionName = std::forward<VersionNameT>(value); }
87 template<
typename VersionNameT = Aws::String>
96 template<
typename DocumentVersionT = Aws::String>
97 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
98 template<
typename DocumentVersionT = Aws::String>
121 template<
typename StatusInformationT = Aws::String>
122 void SetStatusInformation(StatusInformationT&& value) { m_statusInformationHasBeenSet =
true; m_statusInformation = std::forward<StatusInformationT>(value); }
123 template<
typename StatusInformationT = Aws::String>
132 template<
typename ContentT = Aws::String>
133 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
134 template<
typename ContentT = Aws::String>
163 template<
typename RequiresT = Aws::Vector<DocumentRequires>>
164 void SetRequires(RequiresT&& value) { m_requiresHasBeenSet =
true; m_requires = std::forward<RequiresT>(value); }
165 template<
typename RequiresT = Aws::Vector<DocumentRequires>>
167 template<
typename RequiresT = DocumentRequires>
168 GetDocumentResult&
AddRequires(RequiresT&& value) { m_requiresHasBeenSet =
true; m_requires.emplace_back(std::forward<RequiresT>(value));
return *
this; }
177 template<
typename AttachmentsContentT = Aws::Vector<AttachmentContent>>
178 void SetAttachmentsContent(AttachmentsContentT&& value) { m_attachmentsContentHasBeenSet =
true; m_attachmentsContent = std::forward<AttachmentsContentT>(value); }
179 template<
typename AttachmentsContentT = Aws::Vector<AttachmentContent>>
181 template<
typename AttachmentsContentT = AttachmentContent>
182 GetDocumentResult&
AddAttachmentsContent(AttachmentsContentT&& value) { m_attachmentsContentHasBeenSet =
true; m_attachmentsContent.emplace_back(std::forward<AttachmentsContentT>(value));
return *
this; }
202 template<
typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
204 template<
typename RequestIdT = Aws::String>
210 bool m_nameHasBeenSet =
false;
213 bool m_createdDateHasBeenSet =
false;
216 bool m_displayNameHasBeenSet =
false;
219 bool m_versionNameHasBeenSet =
false;
222 bool m_documentVersionHasBeenSet =
false;
225 bool m_statusHasBeenSet =
false;
228 bool m_statusInformationHasBeenSet =
false;
231 bool m_contentHasBeenSet =
false;
234 bool m_documentTypeHasBeenSet =
false;
237 bool m_documentFormatHasBeenSet =
false;
240 bool m_requiresHasBeenSet =
false;
243 bool m_attachmentsContentHasBeenSet =
false;
246 bool m_reviewStatusHasBeenSet =
false;
249 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