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

The name of the change template.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the change template.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the change template.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the change template.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the change template.

*/ inline ListDocumentMetadataHistoryResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the change template.

*/ inline ListDocumentMetadataHistoryResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the change template.

*/ inline ListDocumentMetadataHistoryResult& WithName(const char* value) { SetName(value); return *this;} /** *

The version of the change template.

*/ inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; } /** *

The version of the change template.

*/ inline void SetDocumentVersion(const Aws::String& value) { m_documentVersion = value; } /** *

The version of the change template.

*/ inline void SetDocumentVersion(Aws::String&& value) { m_documentVersion = std::move(value); } /** *

The version of the change template.

*/ inline void SetDocumentVersion(const char* value) { m_documentVersion.assign(value); } /** *

The version of the change template.

*/ inline ListDocumentMetadataHistoryResult& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;} /** *

The version of the change template.

*/ inline ListDocumentMetadataHistoryResult& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;} /** *

The version of the change template.

*/ inline ListDocumentMetadataHistoryResult& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;} /** *

The user ID of the person in the organization who requested the review of the * change template.

*/ inline const Aws::String& GetAuthor() const{ return m_author; } /** *

The user ID of the person in the organization who requested the review of the * change template.

*/ inline void SetAuthor(const Aws::String& value) { m_author = value; } /** *

The user ID of the person in the organization who requested the review of the * change template.

*/ inline void SetAuthor(Aws::String&& value) { m_author = std::move(value); } /** *

The user ID of the person in the organization who requested the review of the * change template.

*/ inline void SetAuthor(const char* value) { m_author.assign(value); } /** *

The user ID of the person in the organization who requested the review of the * change template.

*/ inline ListDocumentMetadataHistoryResult& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;} /** *

The user ID of the person in the organization who requested the review of the * change template.

*/ inline ListDocumentMetadataHistoryResult& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;} /** *

The user ID of the person in the organization who requested the review of the * change template.

*/ inline ListDocumentMetadataHistoryResult& WithAuthor(const char* value) { SetAuthor(value); return *this;} /** *

Information about the response to the change template approval request.

*/ inline const DocumentMetadataResponseInfo& GetMetadata() const{ return m_metadata; } /** *

Information about the response to the change template approval request.

*/ inline void SetMetadata(const DocumentMetadataResponseInfo& value) { m_metadata = value; } /** *

Information about the response to the change template approval request.

*/ inline void SetMetadata(DocumentMetadataResponseInfo&& value) { m_metadata = std::move(value); } /** *

Information about the response to the change template approval request.

*/ inline ListDocumentMetadataHistoryResult& WithMetadata(const DocumentMetadataResponseInfo& value) { SetMetadata(value); return *this;} /** *

Information about the response to the change template approval request.

*/ inline ListDocumentMetadataHistoryResult& WithMetadata(DocumentMetadataResponseInfo&& value) { SetMetadata(std::move(value)); return *this;} /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline ListDocumentMetadataHistoryResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline ListDocumentMetadataHistoryResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline ListDocumentMetadataHistoryResult& WithNextToken(const char* value) { SetNextToken(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 ListDocumentMetadataHistoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListDocumentMetadataHistoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListDocumentMetadataHistoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_documentVersion; Aws::String m_author; DocumentMetadataResponseInfo m_metadata; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws