/** * 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 Pricing { namespace Model { class GetAttributeValuesResult { public: AWS_PRICING_API GetAttributeValuesResult(); AWS_PRICING_API GetAttributeValuesResult(const Aws::AmazonWebServiceResult& result); AWS_PRICING_API GetAttributeValuesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of values for an attribute. For example, Throughput Optimized * HDD and Provisioned IOPS are two available values for the * AmazonEC2 volumeType.

*/ inline const Aws::Vector& GetAttributeValues() const{ return m_attributeValues; } /** *

The list of values for an attribute. For example, Throughput Optimized * HDD and Provisioned IOPS are two available values for the * AmazonEC2 volumeType.

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

The list of values for an attribute. For example, Throughput Optimized * HDD and Provisioned IOPS are two available values for the * AmazonEC2 volumeType.

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

The list of values for an attribute. For example, Throughput Optimized * HDD and Provisioned IOPS are two available values for the * AmazonEC2 volumeType.

*/ inline GetAttributeValuesResult& WithAttributeValues(const Aws::Vector& value) { SetAttributeValues(value); return *this;} /** *

The list of values for an attribute. For example, Throughput Optimized * HDD and Provisioned IOPS are two available values for the * AmazonEC2 volumeType.

*/ inline GetAttributeValuesResult& WithAttributeValues(Aws::Vector&& value) { SetAttributeValues(std::move(value)); return *this;} /** *

The list of values for an attribute. For example, Throughput Optimized * HDD and Provisioned IOPS are two available values for the * AmazonEC2 volumeType.

*/ inline GetAttributeValuesResult& AddAttributeValues(const AttributeValue& value) { m_attributeValues.push_back(value); return *this; } /** *

The list of values for an attribute. For example, Throughput Optimized * HDD and Provisioned IOPS are two available values for the * AmazonEC2 volumeType.

*/ inline GetAttributeValuesResult& AddAttributeValues(AttributeValue&& value) { m_attributeValues.push_back(std::move(value)); return *this; } /** *

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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