/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

Describes an Amazon Web Services Systems Manager document (SSM document). *

See Also:

AWS * API Reference

*/ class DocumentDescription { public: AWS_SSM_API DocumentDescription(); AWS_SSM_API DocumentDescription(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API DocumentDescription& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The SHA1 hash of the document, which you can use for verification.

*/ inline const Aws::String& GetSha1() const{ return m_sha1; } /** *

The SHA1 hash of the document, which you can use for verification.

*/ inline bool Sha1HasBeenSet() const { return m_sha1HasBeenSet; } /** *

The SHA1 hash of the document, which you can use for verification.

*/ inline void SetSha1(const Aws::String& value) { m_sha1HasBeenSet = true; m_sha1 = value; } /** *

The SHA1 hash of the document, which you can use for verification.

*/ inline void SetSha1(Aws::String&& value) { m_sha1HasBeenSet = true; m_sha1 = std::move(value); } /** *

The SHA1 hash of the document, which you can use for verification.

*/ inline void SetSha1(const char* value) { m_sha1HasBeenSet = true; m_sha1.assign(value); } /** *

The SHA1 hash of the document, which you can use for verification.

*/ inline DocumentDescription& WithSha1(const Aws::String& value) { SetSha1(value); return *this;} /** *

The SHA1 hash of the document, which you can use for verification.

*/ inline DocumentDescription& WithSha1(Aws::String&& value) { SetSha1(std::move(value)); return *this;} /** *

The SHA1 hash of the document, which you can use for verification.

*/ inline DocumentDescription& WithSha1(const char* value) { SetSha1(value); return *this;} /** *

The Sha256 or Sha1 hash created by the system when the document was created. *

Sha1 hashes have been deprecated.

*/ inline const Aws::String& GetHash() const{ return m_hash; } /** *

The Sha256 or Sha1 hash created by the system when the document was created. *

Sha1 hashes have been deprecated.

*/ inline bool HashHasBeenSet() const { return m_hashHasBeenSet; } /** *

The Sha256 or Sha1 hash created by the system when the document was created. *

Sha1 hashes have been deprecated.

*/ inline void SetHash(const Aws::String& value) { m_hashHasBeenSet = true; m_hash = value; } /** *

The Sha256 or Sha1 hash created by the system when the document was created. *

Sha1 hashes have been deprecated.

*/ inline void SetHash(Aws::String&& value) { m_hashHasBeenSet = true; m_hash = std::move(value); } /** *

The Sha256 or Sha1 hash created by the system when the document was created. *

Sha1 hashes have been deprecated.

*/ inline void SetHash(const char* value) { m_hashHasBeenSet = true; m_hash.assign(value); } /** *

The Sha256 or Sha1 hash created by the system when the document was created. *

Sha1 hashes have been deprecated.

*/ inline DocumentDescription& WithHash(const Aws::String& value) { SetHash(value); return *this;} /** *

The Sha256 or Sha1 hash created by the system when the document was created. *

Sha1 hashes have been deprecated.

*/ inline DocumentDescription& WithHash(Aws::String&& value) { SetHash(std::move(value)); return *this;} /** *

The Sha256 or Sha1 hash created by the system when the document was created. *

Sha1 hashes have been deprecated.

*/ inline DocumentDescription& WithHash(const char* value) { SetHash(value); return *this;} /** *

The hash type of the document. Valid values include Sha256 or * Sha1.

Sha1 hashes have been deprecated.

*/ inline const DocumentHashType& GetHashType() const{ return m_hashType; } /** *

The hash type of the document. Valid values include Sha256 or * Sha1.

Sha1 hashes have been deprecated.

*/ inline bool HashTypeHasBeenSet() const { return m_hashTypeHasBeenSet; } /** *

The hash type of the document. Valid values include Sha256 or * Sha1.

Sha1 hashes have been deprecated.

*/ inline void SetHashType(const DocumentHashType& value) { m_hashTypeHasBeenSet = true; m_hashType = value; } /** *

The hash type of the document. Valid values include Sha256 or * Sha1.

Sha1 hashes have been deprecated.

*/ inline void SetHashType(DocumentHashType&& value) { m_hashTypeHasBeenSet = true; m_hashType = std::move(value); } /** *

The hash type of the document. Valid values include Sha256 or * Sha1.

Sha1 hashes have been deprecated.

*/ inline DocumentDescription& WithHashType(const DocumentHashType& value) { SetHashType(value); return *this;} /** *

The hash type of the document. Valid values include Sha256 or * Sha1.

Sha1 hashes have been deprecated.

*/ inline DocumentDescription& WithHashType(DocumentHashType&& value) { SetHashType(std::move(value)); return *this;} /** *

The name of the SSM document.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the SSM document.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the SSM document.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the SSM document.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the SSM document.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the SSM document.

*/ inline DocumentDescription& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the SSM document.

*/ inline DocumentDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the SSM document.

*/ inline DocumentDescription& WithName(const char* value) { SetName(value); return *this;} /** *

The friendly name of the SSM document. This value can differ for each version * of the document. If you want to update this value, see * UpdateDocument.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The friendly name of the SSM document. This value can differ for each version * of the document. If you want to update this value, see * UpdateDocument.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

The friendly name of the SSM document. This value can differ for each version * of the document. If you want to update this value, see * UpdateDocument.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

The friendly name of the SSM document. This value can differ for each version * of the document. If you want to update this value, see * UpdateDocument.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

The friendly name of the SSM document. This value can differ for each version * of the document. If you want to update this value, see * UpdateDocument.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

The friendly name of the SSM document. This value can differ for each version * of the document. If you want to update this value, see * UpdateDocument.

*/ inline DocumentDescription& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The friendly name of the SSM document. This value can differ for each version * of the document. If you want to update this value, see * UpdateDocument.

*/ inline DocumentDescription& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The friendly name of the SSM document. This value can differ for each version * of the document. If you want to update this value, see * UpdateDocument.

*/ inline DocumentDescription& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The version of the artifact associated with the document.

*/ inline const Aws::String& GetVersionName() const{ return m_versionName; } /** *

The version of the artifact associated with the document.

*/ inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; } /** *

The version of the artifact associated with the document.

*/ inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; } /** *

The version of the artifact associated with the document.

*/ inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); } /** *

The version of the artifact associated with the document.

*/ inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); } /** *

The version of the artifact associated with the document.

*/ inline DocumentDescription& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;} /** *

The version of the artifact associated with the document.

*/ inline DocumentDescription& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;} /** *

The version of the artifact associated with the document.

*/ inline DocumentDescription& WithVersionName(const char* value) { SetVersionName(value); return *this;} /** *

The Amazon Web Services user that created the document.

*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *

The Amazon Web Services user that created the document.

*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *

The Amazon Web Services user that created the document.

*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *

The Amazon Web Services user that created the document.

*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *

The Amazon Web Services user that created the document.

*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *

The Amazon Web Services user that created the document.

*/ inline DocumentDescription& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *

The Amazon Web Services user that created the document.

*/ inline DocumentDescription& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *

The Amazon Web Services user that created the document.

*/ inline DocumentDescription& WithOwner(const char* value) { SetOwner(value); return *this;} /** *

The date when the document was created.

*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } /** *

The date when the document was created.

*/ inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } /** *

The date when the document was created.

*/ inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; } /** *

The date when the document was created.

*/ inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); } /** *

The date when the document was created.

*/ inline DocumentDescription& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *

The date when the document was created.

*/ inline DocumentDescription& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} /** *

The status of the SSM document.

*/ inline const DocumentStatus& GetStatus() const{ return m_status; } /** *

The status of the SSM document.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the SSM document.

*/ inline void SetStatus(const DocumentStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the SSM document.

*/ inline void SetStatus(DocumentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the SSM document.

*/ inline DocumentDescription& WithStatus(const DocumentStatus& value) { SetStatus(value); return *this;} /** *

The status of the SSM document.

*/ inline DocumentDescription& WithStatus(DocumentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

A message returned by Amazon Web Services Systems Manager that explains the * Status value. For example, a Failed status might be * explained by the StatusInformation message, "The specified S3 * bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

*/ inline const Aws::String& GetStatusInformation() const{ return m_statusInformation; } /** *

A message returned by Amazon Web Services Systems Manager that explains the * Status value. For example, a Failed status might be * explained by the StatusInformation message, "The specified S3 * bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

*/ inline bool StatusInformationHasBeenSet() const { return m_statusInformationHasBeenSet; } /** *

A message returned by Amazon Web Services Systems Manager that explains the * Status value. For example, a Failed status might be * explained by the StatusInformation message, "The specified S3 * bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

*/ inline void SetStatusInformation(const Aws::String& value) { m_statusInformationHasBeenSet = true; m_statusInformation = value; } /** *

A message returned by Amazon Web Services Systems Manager that explains the * Status value. For example, a Failed status might be * explained by the StatusInformation message, "The specified S3 * bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

*/ inline void SetStatusInformation(Aws::String&& value) { m_statusInformationHasBeenSet = true; m_statusInformation = std::move(value); } /** *

A message returned by Amazon Web Services Systems Manager that explains the * Status value. For example, a Failed status might be * explained by the StatusInformation message, "The specified S3 * bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

*/ inline void SetStatusInformation(const char* value) { m_statusInformationHasBeenSet = true; m_statusInformation.assign(value); } /** *

A message returned by Amazon Web Services Systems Manager that explains the * Status value. For example, a Failed status might be * explained by the StatusInformation message, "The specified S3 * bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

*/ inline DocumentDescription& WithStatusInformation(const Aws::String& value) { SetStatusInformation(value); return *this;} /** *

A message returned by Amazon Web Services Systems Manager that explains the * Status value. For example, a Failed status might be * explained by the StatusInformation message, "The specified S3 * bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

*/ inline DocumentDescription& WithStatusInformation(Aws::String&& value) { SetStatusInformation(std::move(value)); return *this;} /** *

A message returned by Amazon Web Services Systems Manager that explains the * Status value. For example, a Failed status might be * explained by the StatusInformation message, "The specified S3 * bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

*/ inline DocumentDescription& WithStatusInformation(const char* value) { SetStatusInformation(value); return *this;} /** *

The document version.

*/ inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; } /** *

The document version.

*/ inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; } /** *

The document version.

*/ inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; } /** *

The document version.

*/ inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); } /** *

The document version.

*/ inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); } /** *

The document version.

*/ inline DocumentDescription& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;} /** *

The document version.

*/ inline DocumentDescription& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;} /** *

The document version.

*/ inline DocumentDescription& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;} /** *

A description of the document.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the document.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the document.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the document.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the document.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the document.

*/ inline DocumentDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the document.

*/ inline DocumentDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the document.

*/ inline DocumentDescription& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A description of the parameters for a document.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

A description of the parameters for a document.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

A description of the parameters for a document.

*/ inline void SetParameters(const Aws::Vector& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

A description of the parameters for a document.

*/ inline void SetParameters(Aws::Vector&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

A description of the parameters for a document.

*/ inline DocumentDescription& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

A description of the parameters for a document.

*/ inline DocumentDescription& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

A description of the parameters for a document.

*/ inline DocumentDescription& AddParameters(const DocumentParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *

A description of the parameters for a document.

*/ inline DocumentDescription& AddParameters(DocumentParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } /** *

The list of operating system (OS) platforms compatible with this SSM * document.

*/ inline const Aws::Vector& GetPlatformTypes() const{ return m_platformTypes; } /** *

The list of operating system (OS) platforms compatible with this SSM * document.

*/ inline bool PlatformTypesHasBeenSet() const { return m_platformTypesHasBeenSet; } /** *

The list of operating system (OS) platforms compatible with this SSM * document.

*/ inline void SetPlatformTypes(const Aws::Vector& value) { m_platformTypesHasBeenSet = true; m_platformTypes = value; } /** *

The list of operating system (OS) platforms compatible with this SSM * document.

*/ inline void SetPlatformTypes(Aws::Vector&& value) { m_platformTypesHasBeenSet = true; m_platformTypes = std::move(value); } /** *

The list of operating system (OS) platforms compatible with this SSM * document.

*/ inline DocumentDescription& WithPlatformTypes(const Aws::Vector& value) { SetPlatformTypes(value); return *this;} /** *

The list of operating system (OS) platforms compatible with this SSM * document.

*/ inline DocumentDescription& WithPlatformTypes(Aws::Vector&& value) { SetPlatformTypes(std::move(value)); return *this;} /** *

The list of operating system (OS) platforms compatible with this SSM * document.

*/ inline DocumentDescription& AddPlatformTypes(const PlatformType& value) { m_platformTypesHasBeenSet = true; m_platformTypes.push_back(value); return *this; } /** *

The list of operating system (OS) platforms compatible with this SSM * document.

*/ inline DocumentDescription& AddPlatformTypes(PlatformType&& value) { m_platformTypesHasBeenSet = true; m_platformTypes.push_back(std::move(value)); return *this; } /** *

The type of document.

*/ inline const DocumentType& GetDocumentType() const{ return m_documentType; } /** *

The type of document.

*/ inline bool DocumentTypeHasBeenSet() const { return m_documentTypeHasBeenSet; } /** *

The type of document.

*/ inline void SetDocumentType(const DocumentType& value) { m_documentTypeHasBeenSet = true; m_documentType = value; } /** *

The type of document.

*/ inline void SetDocumentType(DocumentType&& value) { m_documentTypeHasBeenSet = true; m_documentType = std::move(value); } /** *

The type of document.

*/ inline DocumentDescription& WithDocumentType(const DocumentType& value) { SetDocumentType(value); return *this;} /** *

The type of document.

*/ inline DocumentDescription& WithDocumentType(DocumentType&& value) { SetDocumentType(std::move(value)); return *this;} /** *

The schema version.

*/ inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } /** *

The schema version.

*/ inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } /** *

The schema version.

*/ inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } /** *

The schema version.

*/ inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); } /** *

The schema version.

*/ inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); } /** *

The schema version.

*/ inline DocumentDescription& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} /** *

The schema version.

*/ inline DocumentDescription& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} /** *

The schema version.

*/ inline DocumentDescription& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} /** *

The latest version of the document.

*/ inline const Aws::String& GetLatestVersion() const{ return m_latestVersion; } /** *

The latest version of the document.

*/ inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; } /** *

The latest version of the document.

*/ inline void SetLatestVersion(const Aws::String& value) { m_latestVersionHasBeenSet = true; m_latestVersion = value; } /** *

The latest version of the document.

*/ inline void SetLatestVersion(Aws::String&& value) { m_latestVersionHasBeenSet = true; m_latestVersion = std::move(value); } /** *

The latest version of the document.

*/ inline void SetLatestVersion(const char* value) { m_latestVersionHasBeenSet = true; m_latestVersion.assign(value); } /** *

The latest version of the document.

*/ inline DocumentDescription& WithLatestVersion(const Aws::String& value) { SetLatestVersion(value); return *this;} /** *

The latest version of the document.

*/ inline DocumentDescription& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;} /** *

The latest version of the document.

*/ inline DocumentDescription& WithLatestVersion(const char* value) { SetLatestVersion(value); return *this;} /** *

The default version.

*/ inline const Aws::String& GetDefaultVersion() const{ return m_defaultVersion; } /** *

The default version.

*/ inline bool DefaultVersionHasBeenSet() const { return m_defaultVersionHasBeenSet; } /** *

The default version.

*/ inline void SetDefaultVersion(const Aws::String& value) { m_defaultVersionHasBeenSet = true; m_defaultVersion = value; } /** *

The default version.

*/ inline void SetDefaultVersion(Aws::String&& value) { m_defaultVersionHasBeenSet = true; m_defaultVersion = std::move(value); } /** *

The default version.

*/ inline void SetDefaultVersion(const char* value) { m_defaultVersionHasBeenSet = true; m_defaultVersion.assign(value); } /** *

The default version.

*/ inline DocumentDescription& WithDefaultVersion(const Aws::String& value) { SetDefaultVersion(value); return *this;} /** *

The default version.

*/ inline DocumentDescription& WithDefaultVersion(Aws::String&& value) { SetDefaultVersion(std::move(value)); return *this;} /** *

The default version.

*/ inline DocumentDescription& WithDefaultVersion(const char* value) { SetDefaultVersion(value); return *this;} /** *

The document format, either JSON or YAML.

*/ inline const DocumentFormat& GetDocumentFormat() const{ return m_documentFormat; } /** *

The document format, either JSON or YAML.

*/ inline bool DocumentFormatHasBeenSet() const { return m_documentFormatHasBeenSet; } /** *

The document format, either JSON or YAML.

*/ inline void SetDocumentFormat(const DocumentFormat& value) { m_documentFormatHasBeenSet = true; m_documentFormat = value; } /** *

The document format, either JSON or YAML.

*/ inline void SetDocumentFormat(DocumentFormat&& value) { m_documentFormatHasBeenSet = true; m_documentFormat = std::move(value); } /** *

The document format, either JSON or YAML.

*/ inline DocumentDescription& WithDocumentFormat(const DocumentFormat& value) { SetDocumentFormat(value); return *this;} /** *

The document format, either JSON or YAML.

*/ inline DocumentDescription& WithDocumentFormat(DocumentFormat&& value) { SetDocumentFormat(std::move(value)); return *this;} /** *

The target type which defines the kinds of resources the document can run on. * For example, /AWS::EC2::Instance. For a list of valid resource * types, see Amazon * Web Services resource and property types reference in the CloudFormation * User Guide.

*/ inline const Aws::String& GetTargetType() const{ return m_targetType; } /** *

The target type which defines the kinds of resources the document can run on. * For example, /AWS::EC2::Instance. For a list of valid resource * types, see Amazon * Web Services resource and property types reference in the CloudFormation * User Guide.

*/ inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; } /** *

The target type which defines the kinds of resources the document can run on. * For example, /AWS::EC2::Instance. For a list of valid resource * types, see Amazon * Web Services resource and property types reference in the CloudFormation * User Guide.

*/ inline void SetTargetType(const Aws::String& value) { m_targetTypeHasBeenSet = true; m_targetType = value; } /** *

The target type which defines the kinds of resources the document can run on. * For example, /AWS::EC2::Instance. For a list of valid resource * types, see Amazon * Web Services resource and property types reference in the CloudFormation * User Guide.

*/ inline void SetTargetType(Aws::String&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); } /** *

The target type which defines the kinds of resources the document can run on. * For example, /AWS::EC2::Instance. For a list of valid resource * types, see Amazon * Web Services resource and property types reference in the CloudFormation * User Guide.

*/ inline void SetTargetType(const char* value) { m_targetTypeHasBeenSet = true; m_targetType.assign(value); } /** *

The target type which defines the kinds of resources the document can run on. * For example, /AWS::EC2::Instance. For a list of valid resource * types, see Amazon * Web Services resource and property types reference in the CloudFormation * User Guide.

*/ inline DocumentDescription& WithTargetType(const Aws::String& value) { SetTargetType(value); return *this;} /** *

The target type which defines the kinds of resources the document can run on. * For example, /AWS::EC2::Instance. For a list of valid resource * types, see Amazon * Web Services resource and property types reference in the CloudFormation * User Guide.

*/ inline DocumentDescription& WithTargetType(Aws::String&& value) { SetTargetType(std::move(value)); return *this;} /** *

The target type which defines the kinds of resources the document can run on. * For example, /AWS::EC2::Instance. For a list of valid resource * types, see Amazon * Web Services resource and property types reference in the CloudFormation * User Guide.

*/ inline DocumentDescription& WithTargetType(const char* value) { SetTargetType(value); return *this;} /** *

The tags, or metadata, that have been applied to the document.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tags, or metadata, that have been applied to the document.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags, or metadata, that have been applied to the document.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags, or metadata, that have been applied to the document.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags, or metadata, that have been applied to the document.

*/ inline DocumentDescription& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tags, or metadata, that have been applied to the document.

*/ inline DocumentDescription& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tags, or metadata, that have been applied to the document.

*/ inline DocumentDescription& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags, or metadata, that have been applied to the document.

*/ inline DocumentDescription& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

Details about the document attachments, including names, locations, sizes, * and so on.

*/ inline const Aws::Vector& GetAttachmentsInformation() const{ return m_attachmentsInformation; } /** *

Details about the document attachments, including names, locations, sizes, * and so on.

*/ inline bool AttachmentsInformationHasBeenSet() const { return m_attachmentsInformationHasBeenSet; } /** *

Details about the document attachments, including names, locations, sizes, * and so on.

*/ inline void SetAttachmentsInformation(const Aws::Vector& value) { m_attachmentsInformationHasBeenSet = true; m_attachmentsInformation = value; } /** *

Details about the document attachments, including names, locations, sizes, * and so on.

*/ inline void SetAttachmentsInformation(Aws::Vector&& value) { m_attachmentsInformationHasBeenSet = true; m_attachmentsInformation = std::move(value); } /** *

Details about the document attachments, including names, locations, sizes, * and so on.

*/ inline DocumentDescription& WithAttachmentsInformation(const Aws::Vector& value) { SetAttachmentsInformation(value); return *this;} /** *

Details about the document attachments, including names, locations, sizes, * and so on.

*/ inline DocumentDescription& WithAttachmentsInformation(Aws::Vector&& value) { SetAttachmentsInformation(std::move(value)); return *this;} /** *

Details about the document attachments, including names, locations, sizes, * and so on.

*/ inline DocumentDescription& AddAttachmentsInformation(const AttachmentInformation& value) { m_attachmentsInformationHasBeenSet = true; m_attachmentsInformation.push_back(value); return *this; } /** *

Details about the document attachments, including names, locations, sizes, * and so on.

*/ inline DocumentDescription& AddAttachmentsInformation(AttachmentInformation&& value) { m_attachmentsInformationHasBeenSet = true; m_attachmentsInformation.push_back(std::move(value)); return *this; } /** *

A list of SSM documents required by a document. For example, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document.

*/ inline const Aws::Vector& GetRequires() const{ return m_requires; } /** *

A list of SSM documents required by a document. For example, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document.

*/ inline bool RequiresHasBeenSet() const { return m_requiresHasBeenSet; } /** *

A list of SSM documents required by a document. For example, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document.

*/ inline void SetRequires(const Aws::Vector& value) { m_requiresHasBeenSet = true; m_requires = value; } /** *

A list of SSM documents required by a document. For example, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document.

*/ inline void SetRequires(Aws::Vector&& value) { m_requiresHasBeenSet = true; m_requires = std::move(value); } /** *

A list of SSM documents required by a document. For example, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document.

*/ inline DocumentDescription& WithRequires(const Aws::Vector& value) { SetRequires(value); return *this;} /** *

A list of SSM documents required by a document. For example, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document.

*/ inline DocumentDescription& WithRequires(Aws::Vector&& value) { SetRequires(std::move(value)); return *this;} /** *

A list of SSM documents required by a document. For example, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document.

*/ inline DocumentDescription& AddRequires(const DocumentRequires& value) { m_requiresHasBeenSet = true; m_requires.push_back(value); return *this; } /** *

A list of SSM documents required by a document. For example, an * ApplicationConfiguration document requires an * ApplicationConfigurationSchema document.

*/ inline DocumentDescription& AddRequires(DocumentRequires&& value) { m_requiresHasBeenSet = true; m_requires.push_back(std::move(value)); return *this; } /** *

The user in your organization who created the document.

*/ inline const Aws::String& GetAuthor() const{ return m_author; } /** *

The user in your organization who created the document.

*/ inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; } /** *

The user in your organization who created the document.

*/ inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; } /** *

The user in your organization who created the document.

*/ inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); } /** *

The user in your organization who created the document.

*/ inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); } /** *

The user in your organization who created the document.

*/ inline DocumentDescription& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;} /** *

The user in your organization who created the document.

*/ inline DocumentDescription& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;} /** *

The user in your organization who created the document.

*/ inline DocumentDescription& WithAuthor(const char* value) { SetAuthor(value); return *this;} /** *

Details about the review of a document.

*/ inline const Aws::Vector& GetReviewInformation() const{ return m_reviewInformation; } /** *

Details about the review of a document.

*/ inline bool ReviewInformationHasBeenSet() const { return m_reviewInformationHasBeenSet; } /** *

Details about the review of a document.

*/ inline void SetReviewInformation(const Aws::Vector& value) { m_reviewInformationHasBeenSet = true; m_reviewInformation = value; } /** *

Details about the review of a document.

*/ inline void SetReviewInformation(Aws::Vector&& value) { m_reviewInformationHasBeenSet = true; m_reviewInformation = std::move(value); } /** *

Details about the review of a document.

*/ inline DocumentDescription& WithReviewInformation(const Aws::Vector& value) { SetReviewInformation(value); return *this;} /** *

Details about the review of a document.

*/ inline DocumentDescription& WithReviewInformation(Aws::Vector&& value) { SetReviewInformation(std::move(value)); return *this;} /** *

Details about the review of a document.

*/ inline DocumentDescription& AddReviewInformation(const ReviewInformation& value) { m_reviewInformationHasBeenSet = true; m_reviewInformation.push_back(value); return *this; } /** *

Details about the review of a document.

*/ inline DocumentDescription& AddReviewInformation(ReviewInformation&& value) { m_reviewInformationHasBeenSet = true; m_reviewInformation.push_back(std::move(value)); return *this; } /** *

The version of the document currently approved for use in the * organization.

*/ inline const Aws::String& GetApprovedVersion() const{ return m_approvedVersion; } /** *

The version of the document currently approved for use in the * organization.

*/ inline bool ApprovedVersionHasBeenSet() const { return m_approvedVersionHasBeenSet; } /** *

The version of the document currently approved for use in the * organization.

*/ inline void SetApprovedVersion(const Aws::String& value) { m_approvedVersionHasBeenSet = true; m_approvedVersion = value; } /** *

The version of the document currently approved for use in the * organization.

*/ inline void SetApprovedVersion(Aws::String&& value) { m_approvedVersionHasBeenSet = true; m_approvedVersion = std::move(value); } /** *

The version of the document currently approved for use in the * organization.

*/ inline void SetApprovedVersion(const char* value) { m_approvedVersionHasBeenSet = true; m_approvedVersion.assign(value); } /** *

The version of the document currently approved for use in the * organization.

*/ inline DocumentDescription& WithApprovedVersion(const Aws::String& value) { SetApprovedVersion(value); return *this;} /** *

The version of the document currently approved for use in the * organization.

*/ inline DocumentDescription& WithApprovedVersion(Aws::String&& value) { SetApprovedVersion(std::move(value)); return *this;} /** *

The version of the document currently approved for use in the * organization.

*/ inline DocumentDescription& WithApprovedVersion(const char* value) { SetApprovedVersion(value); return *this;} /** *

The version of the document that is currently under review.

*/ inline const Aws::String& GetPendingReviewVersion() const{ return m_pendingReviewVersion; } /** *

The version of the document that is currently under review.

*/ inline bool PendingReviewVersionHasBeenSet() const { return m_pendingReviewVersionHasBeenSet; } /** *

The version of the document that is currently under review.

*/ inline void SetPendingReviewVersion(const Aws::String& value) { m_pendingReviewVersionHasBeenSet = true; m_pendingReviewVersion = value; } /** *

The version of the document that is currently under review.

*/ inline void SetPendingReviewVersion(Aws::String&& value) { m_pendingReviewVersionHasBeenSet = true; m_pendingReviewVersion = std::move(value); } /** *

The version of the document that is currently under review.

*/ inline void SetPendingReviewVersion(const char* value) { m_pendingReviewVersionHasBeenSet = true; m_pendingReviewVersion.assign(value); } /** *

The version of the document that is currently under review.

*/ inline DocumentDescription& WithPendingReviewVersion(const Aws::String& value) { SetPendingReviewVersion(value); return *this;} /** *

The version of the document that is currently under review.

*/ inline DocumentDescription& WithPendingReviewVersion(Aws::String&& value) { SetPendingReviewVersion(std::move(value)); return *this;} /** *

The version of the document that is currently under review.

*/ inline DocumentDescription& WithPendingReviewVersion(const char* value) { SetPendingReviewVersion(value); return *this;} /** *

The current status of the review.

*/ inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; } /** *

The current status of the review.

*/ inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; } /** *

The current status of the review.

*/ inline void SetReviewStatus(const ReviewStatus& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; } /** *

The current status of the review.

*/ inline void SetReviewStatus(ReviewStatus&& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = std::move(value); } /** *

The current status of the review.

*/ inline DocumentDescription& WithReviewStatus(const ReviewStatus& value) { SetReviewStatus(value); return *this;} /** *

The current status of the review.

*/ inline DocumentDescription& WithReviewStatus(ReviewStatus&& value) { SetReviewStatus(std::move(value)); return *this;} /** *

The classification of a document to help you identify and categorize its * use.

*/ inline const Aws::Vector& GetCategory() const{ return m_category; } /** *

The classification of a document to help you identify and categorize its * use.

*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *

The classification of a document to help you identify and categorize its * use.

*/ inline void SetCategory(const Aws::Vector& value) { m_categoryHasBeenSet = true; m_category = value; } /** *

The classification of a document to help you identify and categorize its * use.

*/ inline void SetCategory(Aws::Vector&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *

The classification of a document to help you identify and categorize its * use.

*/ inline DocumentDescription& WithCategory(const Aws::Vector& value) { SetCategory(value); return *this;} /** *

The classification of a document to help you identify and categorize its * use.

*/ inline DocumentDescription& WithCategory(Aws::Vector&& value) { SetCategory(std::move(value)); return *this;} /** *

The classification of a document to help you identify and categorize its * use.

*/ inline DocumentDescription& AddCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category.push_back(value); return *this; } /** *

The classification of a document to help you identify and categorize its * use.

*/ inline DocumentDescription& AddCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category.push_back(std::move(value)); return *this; } /** *

The classification of a document to help you identify and categorize its * use.

*/ inline DocumentDescription& AddCategory(const char* value) { m_categoryHasBeenSet = true; m_category.push_back(value); return *this; } /** *

The value that identifies a document's category.

*/ inline const Aws::Vector& GetCategoryEnum() const{ return m_categoryEnum; } /** *

The value that identifies a document's category.

*/ inline bool CategoryEnumHasBeenSet() const { return m_categoryEnumHasBeenSet; } /** *

The value that identifies a document's category.

*/ inline void SetCategoryEnum(const Aws::Vector& value) { m_categoryEnumHasBeenSet = true; m_categoryEnum = value; } /** *

The value that identifies a document's category.

*/ inline void SetCategoryEnum(Aws::Vector&& value) { m_categoryEnumHasBeenSet = true; m_categoryEnum = std::move(value); } /** *

The value that identifies a document's category.

*/ inline DocumentDescription& WithCategoryEnum(const Aws::Vector& value) { SetCategoryEnum(value); return *this;} /** *

The value that identifies a document's category.

*/ inline DocumentDescription& WithCategoryEnum(Aws::Vector&& value) { SetCategoryEnum(std::move(value)); return *this;} /** *

The value that identifies a document's category.

*/ inline DocumentDescription& AddCategoryEnum(const Aws::String& value) { m_categoryEnumHasBeenSet = true; m_categoryEnum.push_back(value); return *this; } /** *

The value that identifies a document's category.

*/ inline DocumentDescription& AddCategoryEnum(Aws::String&& value) { m_categoryEnumHasBeenSet = true; m_categoryEnum.push_back(std::move(value)); return *this; } /** *

The value that identifies a document's category.

*/ inline DocumentDescription& AddCategoryEnum(const char* value) { m_categoryEnumHasBeenSet = true; m_categoryEnum.push_back(value); return *this; } private: Aws::String m_sha1; bool m_sha1HasBeenSet = false; Aws::String m_hash; bool m_hashHasBeenSet = false; DocumentHashType m_hashType; bool m_hashTypeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_versionName; bool m_versionNameHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::Utils::DateTime m_createdDate; bool m_createdDateHasBeenSet = false; DocumentStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusInformation; bool m_statusInformationHasBeenSet = false; Aws::String m_documentVersion; bool m_documentVersionHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_parameters; bool m_parametersHasBeenSet = false; Aws::Vector m_platformTypes; bool m_platformTypesHasBeenSet = false; DocumentType m_documentType; bool m_documentTypeHasBeenSet = false; Aws::String m_schemaVersion; bool m_schemaVersionHasBeenSet = false; Aws::String m_latestVersion; bool m_latestVersionHasBeenSet = false; Aws::String m_defaultVersion; bool m_defaultVersionHasBeenSet = false; DocumentFormat m_documentFormat; bool m_documentFormatHasBeenSet = false; Aws::String m_targetType; bool m_targetTypeHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::Vector m_attachmentsInformation; bool m_attachmentsInformationHasBeenSet = false; Aws::Vector m_requires; bool m_requiresHasBeenSet = false; Aws::String m_author; bool m_authorHasBeenSet = false; Aws::Vector m_reviewInformation; bool m_reviewInformationHasBeenSet = false; Aws::String m_approvedVersion; bool m_approvedVersionHasBeenSet = false; Aws::String m_pendingReviewVersion; bool m_pendingReviewVersionHasBeenSet = false; ReviewStatus m_reviewStatus; bool m_reviewStatusHasBeenSet = false; Aws::Vector m_category; bool m_categoryHasBeenSet = false; Aws::Vector m_categoryEnum; bool m_categoryEnumHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws