/** * 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 AWS_PRICING_API GetAttributeValuesResult { public: GetAttributeValuesResult(); GetAttributeValuesResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::Vector m_attributeValues; Aws::String m_nextToken; }; } // namespace Model } // namespace Pricing } // namespace Aws