/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { /** *

The output for the GetResourceConfigHistory action.

See * Also:

AWS * API Reference

*/ class GetResourceConfigHistoryResult { public: AWS_CONFIGSERVICE_API GetResourceConfigHistoryResult(); AWS_CONFIGSERVICE_API GetResourceConfigHistoryResult(const Aws::AmazonWebServiceResult& result); AWS_CONFIGSERVICE_API GetResourceConfigHistoryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list that contains the configuration history of one or more resources.

*/ inline const Aws::Vector& GetConfigurationItems() const{ return m_configurationItems; } /** *

A list that contains the configuration history of one or more resources.

*/ inline void SetConfigurationItems(const Aws::Vector& value) { m_configurationItems = value; } /** *

A list that contains the configuration history of one or more resources.

*/ inline void SetConfigurationItems(Aws::Vector&& value) { m_configurationItems = std::move(value); } /** *

A list that contains the configuration history of one or more resources.

*/ inline GetResourceConfigHistoryResult& WithConfigurationItems(const Aws::Vector& value) { SetConfigurationItems(value); return *this;} /** *

A list that contains the configuration history of one or more resources.

*/ inline GetResourceConfigHistoryResult& WithConfigurationItems(Aws::Vector&& value) { SetConfigurationItems(std::move(value)); return *this;} /** *

A list that contains the configuration history of one or more resources.

*/ inline GetResourceConfigHistoryResult& AddConfigurationItems(const ConfigurationItem& value) { m_configurationItems.push_back(value); return *this; } /** *

A list that contains the configuration history of one or more resources.

*/ inline GetResourceConfigHistoryResult& AddConfigurationItems(ConfigurationItem&& value) { m_configurationItems.push_back(std::move(value)); return *this; } /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline GetResourceConfigHistoryResult& 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 GetResourceConfigHistoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetResourceConfigHistoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetResourceConfigHistoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_configurationItems; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ConfigService } // namespace Aws