/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Version information about the document.See Also:
AWS
* API Reference
The document name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The document name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The document name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The document name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The document name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The document name.
*/ inline DocumentVersionInfo& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The document name.
*/ inline DocumentVersionInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The document name.
*/ inline DocumentVersionInfo& 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 DocumentVersionInfo& 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 DocumentVersionInfo& 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 DocumentVersionInfo& WithDisplayName(const char* value) { SetDisplayName(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 DocumentVersionInfo& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;} /** *The document version.
*/ inline DocumentVersionInfo& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;} /** *The document version.
*/ inline DocumentVersionInfo& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;} /** *The version of the artifact associated with the document. For example, * "Release 12, Update 6". This value is unique across all versions of a document, * and can't be changed.
*/ inline const Aws::String& GetVersionName() const{ return m_versionName; } /** *The version of the artifact associated with the document. For example, * "Release 12, Update 6". This value is unique across all versions of a document, * and can't be changed.
*/ inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; } /** *The version of the artifact associated with the document. For example, * "Release 12, Update 6". This value is unique across all versions of a document, * and can't be changed.
*/ inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; } /** *The version of the artifact associated with the document. For example, * "Release 12, Update 6". This value is unique across all versions of a document, * and can't be changed.
*/ inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); } /** *The version of the artifact associated with the document. For example, * "Release 12, Update 6". This value is unique across all versions of a document, * and can't be changed.
*/ inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); } /** *The version of the artifact associated with the document. For example, * "Release 12, Update 6". This value is unique across all versions of a document, * and can't be changed.
*/ inline DocumentVersionInfo& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;} /** *The version of the artifact associated with the document. For example, * "Release 12, Update 6". This value is unique across all versions of a document, * and can't be changed.
*/ inline DocumentVersionInfo& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;} /** *The version of the artifact associated with the document. For example, * "Release 12, Update 6". This value is unique across all versions of a document, * and can't be changed.
*/ inline DocumentVersionInfo& WithVersionName(const char* value) { SetVersionName(value); return *this;} /** *The date the document was created.
*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } /** *The date the document was created.
*/ inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } /** *The date the document was created.
*/ inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; } /** *The date the document was created.
*/ inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); } /** *The date the document was created.
*/ inline DocumentVersionInfo& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *The date the document was created.
*/ inline DocumentVersionInfo& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} /** *An identifier for the default version of the document.
*/ inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; } /** *An identifier for the default version of the document.
*/ inline bool IsDefaultVersionHasBeenSet() const { return m_isDefaultVersionHasBeenSet; } /** *An identifier for the default version of the document.
*/ inline void SetIsDefaultVersion(bool value) { m_isDefaultVersionHasBeenSet = true; m_isDefaultVersion = value; } /** *An identifier for the default version of the document.
*/ inline DocumentVersionInfo& WithIsDefaultVersion(bool value) { SetIsDefaultVersion(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 DocumentVersionInfo& WithDocumentFormat(const DocumentFormat& value) { SetDocumentFormat(value); return *this;} /** *The document format, either JSON or YAML.
*/ inline DocumentVersionInfo& WithDocumentFormat(DocumentFormat&& value) { SetDocumentFormat(std::move(value)); return *this;} /** *The status of the SSM document, such as Creating
,
* Active
, Failed
, and Deleting
.
The status of the SSM document, such as Creating
,
* Active
, Failed
, and Deleting
.
The status of the SSM document, such as Creating
,
* Active
, Failed
, and Deleting
.
The status of the SSM document, such as Creating
,
* Active
, Failed
, and Deleting
.
The status of the SSM document, such as Creating
,
* Active
, Failed
, and Deleting
.
The status of the SSM document, such as Creating
,
* Active
, Failed
, and Deleting
.
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."
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."
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."
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."
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."
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."
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."
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."
The current status of the approval review for the latest version of the * document.
*/ inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; } /** *The current status of the approval review for the latest version of the * document.
*/ inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; } /** *The current status of the approval review for the latest version of the * document.
*/ inline void SetReviewStatus(const ReviewStatus& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; } /** *The current status of the approval review for the latest version of the * document.
*/ inline void SetReviewStatus(ReviewStatus&& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = std::move(value); } /** *The current status of the approval review for the latest version of the * document.
*/ inline DocumentVersionInfo& WithReviewStatus(const ReviewStatus& value) { SetReviewStatus(value); return *this;} /** *The current status of the approval review for the latest version of the * document.
*/ inline DocumentVersionInfo& WithReviewStatus(ReviewStatus&& value) { SetReviewStatus(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_documentVersion; bool m_documentVersionHasBeenSet = false; Aws::String m_versionName; bool m_versionNameHasBeenSet = false; Aws::Utils::DateTime m_createdDate; bool m_createdDateHasBeenSet = false; bool m_isDefaultVersion; bool m_isDefaultVersionHasBeenSet = false; DocumentFormat m_documentFormat; bool m_documentFormatHasBeenSet = false; DocumentStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusInformation; bool m_statusInformationHasBeenSet = false; ReviewStatus m_reviewStatus; bool m_reviewStatusHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws