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

A complex type that includes all the pricing information. If you specify a * TLD, this array contains only the pricing for that TLD.

*/ inline const Aws::Vector& GetPrices() const{ return m_prices; } /** *

A complex type that includes all the pricing information. If you specify a * TLD, this array contains only the pricing for that TLD.

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

A complex type that includes all the pricing information. If you specify a * TLD, this array contains only the pricing for that TLD.

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

A complex type that includes all the pricing information. If you specify a * TLD, this array contains only the pricing for that TLD.

*/ inline ListPricesResult& WithPrices(const Aws::Vector& value) { SetPrices(value); return *this;} /** *

A complex type that includes all the pricing information. If you specify a * TLD, this array contains only the pricing for that TLD.

*/ inline ListPricesResult& WithPrices(Aws::Vector&& value) { SetPrices(std::move(value)); return *this;} /** *

A complex type that includes all the pricing information. If you specify a * TLD, this array contains only the pricing for that TLD.

*/ inline ListPricesResult& AddPrices(const DomainPrice& value) { m_prices.push_back(value); return *this; } /** *

A complex type that includes all the pricing information. If you specify a * TLD, this array contains only the pricing for that TLD.

*/ inline ListPricesResult& AddPrices(DomainPrice&& value) { m_prices.push_back(std::move(value)); return *this; } /** *

If there are more prices than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

Used * only for all TLDs. If you specify a TLD, don't specify a * NextPageMarker.

*/ inline const Aws::String& GetNextPageMarker() const{ return m_nextPageMarker; } /** *

If there are more prices than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

Used * only for all TLDs. If you specify a TLD, don't specify a * NextPageMarker.

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

If there are more prices than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

Used * only for all TLDs. If you specify a TLD, don't specify a * NextPageMarker.

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

If there are more prices than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

Used * only for all TLDs. If you specify a TLD, don't specify a * NextPageMarker.

*/ inline void SetNextPageMarker(const char* value) { m_nextPageMarker.assign(value); } /** *

If there are more prices than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

Used * only for all TLDs. If you specify a TLD, don't specify a * NextPageMarker.

*/ inline ListPricesResult& WithNextPageMarker(const Aws::String& value) { SetNextPageMarker(value); return *this;} /** *

If there are more prices than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

Used * only for all TLDs. If you specify a TLD, don't specify a * NextPageMarker.

*/ inline ListPricesResult& WithNextPageMarker(Aws::String&& value) { SetNextPageMarker(std::move(value)); return *this;} /** *

If there are more prices than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

Used * only for all TLDs. If you specify a TLD, don't specify a * NextPageMarker.

*/ inline ListPricesResult& WithNextPageMarker(const char* value) { SetNextPageMarker(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 ListPricesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListPricesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListPricesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_prices; Aws::String m_nextPageMarker; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Domains } // namespace Aws