/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class UpdateDocumentDefaultVersionResult { public: AWS_SSM_API UpdateDocumentDefaultVersionResult(); AWS_SSM_API UpdateDocumentDefaultVersionResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateDocumentDefaultVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateDocumentDefaultVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateDocumentDefaultVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DocumentDefaultVersionDescription m_description; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws