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/AttachmentInformation.h>
12#include <aws/ssm/model/DocumentFormat.h>
13#include <aws/ssm/model/DocumentHashType.h>
14#include <aws/ssm/model/DocumentParameter.h>
15#include <aws/ssm/model/DocumentRequires.h>
16#include <aws/ssm/model/DocumentStatus.h>
17#include <aws/ssm/model/DocumentType.h>
18#include <aws/ssm/model/PlatformType.h>
19#include <aws/ssm/model/ReviewInformation.h>
20#include <aws/ssm/model/ReviewStatus.h>
21#include <aws/ssm/model/Tag.h>
54 template <
typename Sha1T = Aws::String>
56 m_sha1HasBeenSet =
true;
57 m_sha1 = std::forward<Sha1T>(value);
59 template <
typename Sha1T = Aws::String>
61 SetSha1(std::forward<Sha1T>(value));
73 template <
typename HashT = Aws::String>
75 m_hashHasBeenSet =
true;
76 m_hash = std::forward<HashT>(value);
78 template <
typename HashT = Aws::String>
80 SetHash(std::forward<HashT>(value));
93 m_hashTypeHasBeenSet =
true;
108 template <
typename NameT = Aws::String>
110 m_nameHasBeenSet =
true;
111 m_name = std::forward<NameT>(value);
113 template <
typename NameT = Aws::String>
115 SetName(std::forward<NameT>(value));
128 template <
typename DisplayNameT = Aws::String>
130 m_displayNameHasBeenSet =
true;
131 m_displayName = std::forward<DisplayNameT>(value);
133 template <
typename DisplayNameT = Aws::String>
146 template <
typename VersionNameT = Aws::String>
148 m_versionNameHasBeenSet =
true;
149 m_versionName = std::forward<VersionNameT>(value);
151 template <
typename VersionNameT = Aws::String>
164 template <
typename OwnerT = Aws::String>
166 m_ownerHasBeenSet =
true;
167 m_owner = std::forward<OwnerT>(value);
169 template <
typename OwnerT = Aws::String>
171 SetOwner(std::forward<OwnerT>(value));
182 template <
typename CreatedDateT = Aws::Utils::DateTime>
184 m_createdDateHasBeenSet =
true;
185 m_createdDate = std::forward<CreatedDateT>(value);
187 template <
typename CreatedDateT = Aws::Utils::DateTime>
201 m_statusHasBeenSet =
true;
219 template <
typename StatusInformationT = Aws::String>
221 m_statusInformationHasBeenSet =
true;
222 m_statusInformation = std::forward<StatusInformationT>(value);
224 template <
typename StatusInformationT = Aws::String>
237 template <
typename DocumentVersionT = Aws::String>
239 m_documentVersionHasBeenSet =
true;
240 m_documentVersion = std::forward<DocumentVersionT>(value);
242 template <
typename DocumentVersionT = Aws::String>
255 template <
typename DescriptionT = Aws::String>
257 m_descriptionHasBeenSet =
true;
258 m_description = std::forward<DescriptionT>(value);
260 template <
typename DescriptionT = Aws::String>
273 template <
typename ParametersT = Aws::Vector<DocumentParameter>>
275 m_parametersHasBeenSet =
true;
276 m_parameters = std::forward<ParametersT>(value);
278 template <
typename ParametersT = Aws::Vector<DocumentParameter>>
283 template <
typename ParametersT = DocumentParameter>
285 m_parametersHasBeenSet =
true;
286 m_parameters.emplace_back(std::forward<ParametersT>(value));
298 template <
typename PlatformTypesT = Aws::Vector<PlatformType>>
300 m_platformTypesHasBeenSet =
true;
301 m_platformTypes = std::forward<PlatformTypesT>(value);
303 template <
typename PlatformTypesT = Aws::Vector<PlatformType>>
309 m_platformTypesHasBeenSet =
true;
310 m_platformTypes.push_back(value);
322 m_documentTypeHasBeenSet =
true;
323 m_documentType = value;
337 template <
typename SchemaVersionT = Aws::String>
339 m_schemaVersionHasBeenSet =
true;
340 m_schemaVersion = std::forward<SchemaVersionT>(value);
342 template <
typename SchemaVersionT = Aws::String>
355 template <
typename LatestVersionT = Aws::String>
357 m_latestVersionHasBeenSet =
true;
358 m_latestVersion = std::forward<LatestVersionT>(value);
360 template <
typename LatestVersionT = Aws::String>
373 template <
typename DefaultVersionT = Aws::String>
375 m_defaultVersionHasBeenSet =
true;
376 m_defaultVersion = std::forward<DefaultVersionT>(value);
378 template <
typename DefaultVersionT = Aws::String>
392 m_documentFormatHasBeenSet =
true;
393 m_documentFormat = value;
412 template <
typename TargetTypeT = Aws::String>
414 m_targetTypeHasBeenSet =
true;
415 m_targetType = std::forward<TargetTypeT>(value);
417 template <
typename TargetTypeT = Aws::String>
430 template <
typename TagsT = Aws::Vector<Tag>>
432 m_tagsHasBeenSet =
true;
433 m_tags = std::forward<TagsT>(value);
435 template <
typename TagsT = Aws::Vector<Tag>>
437 SetTags(std::forward<TagsT>(value));
440 template <
typename TagsT = Tag>
442 m_tagsHasBeenSet =
true;
443 m_tags.emplace_back(std::forward<TagsT>(value));
455 template <
typename AttachmentsInformationT = Aws::Vector<AttachmentInformation>>
457 m_attachmentsInformationHasBeenSet =
true;
458 m_attachmentsInformation = std::forward<AttachmentsInformationT>(value);
460 template <
typename AttachmentsInformationT = Aws::Vector<AttachmentInformation>>
465 template <
typename AttachmentsInformationT = AttachmentInformation>
467 m_attachmentsInformationHasBeenSet =
true;
468 m_attachmentsInformation.emplace_back(std::forward<AttachmentsInformationT>(value));
481 template <
typename RequiresT = Aws::Vector<DocumentRequires>>
483 m_requiresHasBeenSet =
true;
484 m_requires = std::forward<RequiresT>(value);
486 template <
typename RequiresT = Aws::Vector<DocumentRequires>>
491 template <
typename RequiresT = DocumentRequires>
493 m_requiresHasBeenSet =
true;
494 m_requires.emplace_back(std::forward<RequiresT>(value));
505 template <
typename AuthorT = Aws::String>
507 m_authorHasBeenSet =
true;
508 m_author = std::forward<AuthorT>(value);
510 template <
typename AuthorT = Aws::String>
523 template <
typename ReviewInformationT = Aws::Vector<ReviewInformation>>
525 m_reviewInformationHasBeenSet =
true;
526 m_reviewInformation = std::forward<ReviewInformationT>(value);
528 template <
typename ReviewInformationT = Aws::Vector<ReviewInformation>>
533 template <
typename ReviewInformationT = ReviewInformation>
535 m_reviewInformationHasBeenSet =
true;
536 m_reviewInformation.emplace_back(std::forward<ReviewInformationT>(value));
548 template <
typename ApprovedVersionT = Aws::String>
550 m_approvedVersionHasBeenSet =
true;
551 m_approvedVersion = std::forward<ApprovedVersionT>(value);
553 template <
typename ApprovedVersionT = Aws::String>
566 template <
typename PendingReviewVersionT = Aws::String>
568 m_pendingReviewVersionHasBeenSet =
true;
569 m_pendingReviewVersion = std::forward<PendingReviewVersionT>(value);
571 template <
typename PendingReviewVersionT = Aws::String>
585 m_reviewStatusHasBeenSet =
true;
586 m_reviewStatus = value;
601 template <
typename CategoryT = Aws::Vector<Aws::String>>
603 m_categoryHasBeenSet =
true;
604 m_category = std::forward<CategoryT>(value);
606 template <
typename CategoryT = Aws::Vector<Aws::String>>
611 template <
typename CategoryT = Aws::String>
613 m_categoryHasBeenSet =
true;
614 m_category.emplace_back(std::forward<CategoryT>(value));
625 template <
typename CategoryEnumT = Aws::Vector<Aws::String>>
627 m_categoryEnumHasBeenSet =
true;
628 m_categoryEnum = std::forward<CategoryEnumT>(value);
630 template <
typename CategoryEnumT = Aws::Vector<Aws::String>>
635 template <
typename CategoryEnumT = Aws::String>
637 m_categoryEnumHasBeenSet =
true;
638 m_categoryEnum.emplace_back(std::forward<CategoryEnumT>(value));
702 bool m_sha1HasBeenSet =
false;
703 bool m_hashHasBeenSet =
false;
704 bool m_hashTypeHasBeenSet =
false;
705 bool m_nameHasBeenSet =
false;
706 bool m_displayNameHasBeenSet =
false;
707 bool m_versionNameHasBeenSet =
false;
708 bool m_ownerHasBeenSet =
false;
709 bool m_createdDateHasBeenSet =
false;
710 bool m_statusHasBeenSet =
false;
711 bool m_statusInformationHasBeenSet =
false;
712 bool m_documentVersionHasBeenSet =
false;
713 bool m_descriptionHasBeenSet =
false;
714 bool m_parametersHasBeenSet =
false;
715 bool m_platformTypesHasBeenSet =
false;
716 bool m_documentTypeHasBeenSet =
false;
717 bool m_schemaVersionHasBeenSet =
false;
718 bool m_latestVersionHasBeenSet =
false;
719 bool m_defaultVersionHasBeenSet =
false;
720 bool m_documentFormatHasBeenSet =
false;
721 bool m_targetTypeHasBeenSet =
false;
722 bool m_tagsHasBeenSet =
false;
723 bool m_attachmentsInformationHasBeenSet =
false;
724 bool m_requiresHasBeenSet =
false;
725 bool m_authorHasBeenSet =
false;
726 bool m_reviewInformationHasBeenSet =
false;
727 bool m_approvedVersionHasBeenSet =
false;
728 bool m_pendingReviewVersionHasBeenSet =
false;
729 bool m_reviewStatusHasBeenSet =
false;
730 bool m_categoryHasBeenSet =
false;
731 bool m_categoryEnumHasBeenSet =
false;
bool ParametersHasBeenSet() const
DocumentHashType GetHashType() const
void SetName(NameT &&value)
const Aws::String & GetName() const
bool HashTypeHasBeenSet() const
const Aws::String & GetSchemaVersion() const
DocumentDescription & WithSha1(Sha1T &&value)
const Aws::Vector< Aws::String > & GetCategory() const
bool CreatedDateHasBeenSet() const
DocumentDescription & WithDocumentFormat(DocumentFormat value)
void SetDescription(DescriptionT &&value)
void SetPendingReviewVersion(PendingReviewVersionT &&value)
DocumentDescription & WithAuthor(AuthorT &&value)
DocumentDescription & WithStatus(DocumentStatus value)
const Aws::Vector< PlatformType > & GetPlatformTypes() const
DocumentDescription & WithParameters(ParametersT &&value)
void SetReviewStatus(ReviewStatus value)
bool CategoryEnumHasBeenSet() const
void SetPlatformTypes(PlatformTypesT &&value)
const Aws::Vector< ReviewInformation > & GetReviewInformation() const
DocumentDescription & WithTags(TagsT &&value)
bool OwnerHasBeenSet() const
DocumentFormat GetDocumentFormat() const
bool PendingReviewVersionHasBeenSet() const
void SetDocumentType(DocumentType value)
DocumentDescription & WithName(NameT &&value)
bool AttachmentsInformationHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentDescription & AddCategory(CategoryT &&value)
const Aws::Vector< AttachmentInformation > & GetAttachmentsInformation() const
DocumentDescription & WithDocumentVersion(DocumentVersionT &&value)
bool DisplayNameHasBeenSet() const
DocumentDescription & AddPlatformTypes(PlatformType value)
bool DocumentVersionHasBeenSet() const
DocumentDescription & WithPlatformTypes(PlatformTypesT &&value)
DocumentDescription & AddTags(TagsT &&value)
DocumentDescription & WithHashType(DocumentHashType value)
const Aws::String & GetTargetType() const
bool CategoryHasBeenSet() const
bool DocumentFormatHasBeenSet() const
void SetApprovedVersion(ApprovedVersionT &&value)
DocumentDescription & WithStatusInformation(StatusInformationT &&value)
void SetSha1(Sha1T &&value)
DocumentDescription & WithTargetType(TargetTypeT &&value)
bool TargetTypeHasBeenSet() const
DocumentDescription & WithAttachmentsInformation(AttachmentsInformationT &&value)
DocumentDescription & WithCreatedDate(CreatedDateT &&value)
void SetDocumentVersion(DocumentVersionT &&value)
void SetCreatedDate(CreatedDateT &&value)
bool StatusInformationHasBeenSet() const
DocumentDescription & WithApprovedVersion(ApprovedVersionT &&value)
bool RequiresHasBeenSet() const
void SetAttachmentsInformation(AttachmentsInformationT &&value)
DocumentStatus GetStatus() const
void SetHashType(DocumentHashType value)
void SetDefaultVersion(DefaultVersionT &&value)
AWS_SSM_API DocumentDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VersionNameHasBeenSet() const
DocumentDescription & WithDescription(DescriptionT &&value)
DocumentDescription & AddAttachmentsInformation(AttachmentsInformationT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
void SetTargetType(TargetTypeT &&value)
DocumentDescription & WithDisplayName(DisplayNameT &&value)
DocumentDescription & WithPendingReviewVersion(PendingReviewVersionT &&value)
bool TagsHasBeenSet() const
bool PlatformTypesHasBeenSet() const
const Aws::String & GetDefaultVersion() const
void SetCategory(CategoryT &&value)
bool DescriptionHasBeenSet() const
DocumentDescription & WithRequires(RequiresT &&value)
void SetOwner(OwnerT &&value)
bool ReviewStatusHasBeenSet() const
DocumentDescription & AddParameters(ParametersT &&value)
const Aws::Vector< DocumentRequires > & GetRequires() const
DocumentDescription & WithCategoryEnum(CategoryEnumT &&value)
const Aws::String & GetHash() const
bool DefaultVersionHasBeenSet() const
void SetDocumentFormat(DocumentFormat value)
const Aws::String & GetAuthor() const
DocumentDescription & WithReviewStatus(ReviewStatus value)
void SetLatestVersion(LatestVersionT &&value)
DocumentDescription & WithLatestVersion(LatestVersionT &&value)
const Aws::String & GetDisplayName() const
ReviewStatus GetReviewStatus() const
bool SchemaVersionHasBeenSet() const
DocumentDescription & AddReviewInformation(ReviewInformationT &&value)
void SetRequires(RequiresT &&value)
bool NameHasBeenSet() const
const Aws::String & GetVersionName() const
DocumentDescription & WithCategory(CategoryT &&value)
DocumentDescription & WithHash(HashT &&value)
bool ApprovedVersionHasBeenSet() const
bool HashHasBeenSet() const
DocumentDescription & WithSchemaVersion(SchemaVersionT &&value)
void SetAuthor(AuthorT &&value)
const Aws::String & GetApprovedVersion() const
bool Sha1HasBeenSet() const
void SetVersionName(VersionNameT &&value)
DocumentDescription & WithDocumentType(DocumentType value)
const Aws::Vector< Tag > & GetTags() const
void SetHash(HashT &&value)
DocumentType GetDocumentType() const
bool ReviewInformationHasBeenSet() const
void SetStatus(DocumentStatus value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetSha1() const
const Aws::Vector< Aws::String > & GetCategoryEnum() const
void SetTags(TagsT &&value)
DocumentDescription & WithOwner(OwnerT &&value)
AWS_SSM_API DocumentDescription()=default
void SetReviewInformation(ReviewInformationT &&value)
void SetParameters(ParametersT &&value)
DocumentDescription & WithVersionName(VersionNameT &&value)
DocumentDescription & WithDefaultVersion(DefaultVersionT &&value)
bool DocumentTypeHasBeenSet() const
DocumentDescription & WithReviewInformation(ReviewInformationT &&value)
const Aws::Vector< DocumentParameter > & GetParameters() const
bool LatestVersionHasBeenSet() const
bool AuthorHasBeenSet() const
AWS_SSM_API DocumentDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDocumentVersion() const
const Aws::String & GetStatusInformation() const
void SetStatusInformation(StatusInformationT &&value)
bool StatusHasBeenSet() const
DocumentDescription & AddCategoryEnum(CategoryEnumT &&value)
DocumentDescription & AddRequires(RequiresT &&value)
const Aws::String & GetDescription() const
void SetCategoryEnum(CategoryEnumT &&value)
const Aws::String & GetLatestVersion() const
const Aws::String & GetOwner() const
const Aws::String & GetPendingReviewVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue