/** * 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 UpdateDocumentResult { public: AWS_SSM_API UpdateDocumentResult(); AWS_SSM_API UpdateDocumentResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API UpdateDocumentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A description of the document that was updated.

*/ inline const DocumentDescription& GetDocumentDescription() const{ return m_documentDescription; } /** *

A description of the document that was updated.

*/ inline void SetDocumentDescription(const DocumentDescription& value) { m_documentDescription = value; } /** *

A description of the document that was updated.

*/ inline void SetDocumentDescription(DocumentDescription&& value) { m_documentDescription = std::move(value); } /** *

A description of the document that was updated.

*/ inline UpdateDocumentResult& WithDocumentDescription(const DocumentDescription& value) { SetDocumentDescription(value); return *this;} /** *

A description of the document that was updated.

*/ inline UpdateDocumentResult& WithDocumentDescription(DocumentDescription&& value) { SetDocumentDescription(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 UpdateDocumentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateDocumentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateDocumentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DocumentDescription m_documentDescription; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws