/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class AWS_SSM_API UpdateDocumentDefaultVersionResult { public: UpdateDocumentDefaultVersionResult(); UpdateDocumentDefaultVersionResult(const Aws::AmazonWebServiceResult& result); UpdateDocumentDefaultVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The description of a custom document that you want to set as the default * version.

*/ inline const DocumentDefaultVersionDescription& GetDescription() const{ return m_description; } /** *

The description of a custom document that you want to set as the default * version.

*/ inline void SetDescription(const DocumentDefaultVersionDescription& value) { m_description = value; } /** *

The description of a custom document that you want to set as the default * version.

*/ inline void SetDescription(DocumentDefaultVersionDescription&& value) { m_description = std::move(value); } /** *

The description of a custom document that you want to set as the default * version.

*/ inline UpdateDocumentDefaultVersionResult& WithDescription(const DocumentDefaultVersionDescription& value) { SetDescription(value); return *this;} /** *

The description of a custom document that you want to set as the default * version.

*/ inline UpdateDocumentDefaultVersionResult& WithDescription(DocumentDefaultVersionDescription&& value) { SetDescription(std::move(value)); return *this;} private: DocumentDefaultVersionDescription m_description; }; } // namespace Model } // namespace SSM } // namespace Aws