/**
* 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 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 cannot 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 cannot 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 cannot 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 cannot 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 cannot 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 cannot 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 cannot 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 cannot 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 Systems Manager document, such as Creating,
* Active, Failed, and Deleting.
The status of the Systems Manager document, such as Creating,
* Active, Failed, and Deleting.
The status of the Systems Manager document, such as Creating,
* Active, Failed, and Deleting.
The status of the Systems Manager document, such as Creating,
* Active, Failed, and Deleting.
The status of the Systems Manager document, such as Creating,
* Active, Failed, and Deleting.
The status of the Systems Manager document, such as Creating,
* Active, Failed, and Deleting.
A message returned by AWS Systems Manager that explains the
* Status value. For example, a Failed status might be
* explained by the StatusInformation message, "The specified S3
* bucket does not exist. Verify that the URL of the S3 bucket is correct."
A message returned by AWS Systems Manager that explains the
* Status value. For example, a Failed status might be
* explained by the StatusInformation message, "The specified S3
* bucket does not exist. Verify that the URL of the S3 bucket is correct."
A message returned by AWS Systems Manager that explains the
* Status value. For example, a Failed status might be
* explained by the StatusInformation message, "The specified S3
* bucket does not exist. Verify that the URL of the S3 bucket is correct."
A message returned by AWS Systems Manager that explains the
* Status value. For example, a Failed status might be
* explained by the StatusInformation message, "The specified S3
* bucket does not exist. Verify that the URL of the S3 bucket is correct."
A message returned by AWS Systems Manager that explains the
* Status value. For example, a Failed status might be
* explained by the StatusInformation message, "The specified S3
* bucket does not exist. Verify that the URL of the S3 bucket is correct."
A message returned by AWS Systems Manager that explains the
* Status value. For example, a Failed status might be
* explained by the StatusInformation message, "The specified S3
* bucket does not exist. Verify that the URL of the S3 bucket is correct."
A message returned by AWS Systems Manager that explains the
* Status value. For example, a Failed status might be
* explained by the StatusInformation message, "The specified S3
* bucket does not exist. Verify that the URL of the S3 bucket is correct."
A message returned by AWS Systems Manager that explains the
* Status value. For example, a Failed status might be
* explained by the StatusInformation message, "The specified S3
* bucket does not exist. Verify that the URL of the S3 bucket is correct."