/** * 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 { /** *

The ViewBilling response includes the following elements.

See * Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline ViewBillingResult& WithNextPageMarker(const char* value) { SetNextPageMarker(value); return *this;} /** *

A summary of billing records.

*/ inline const Aws::Vector& GetBillingRecords() const{ return m_billingRecords; } /** *

A summary of billing records.

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

A summary of billing records.

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

A summary of billing records.

*/ inline ViewBillingResult& WithBillingRecords(const Aws::Vector& value) { SetBillingRecords(value); return *this;} /** *

A summary of billing records.

*/ inline ViewBillingResult& WithBillingRecords(Aws::Vector&& value) { SetBillingRecords(std::move(value)); return *this;} /** *

A summary of billing records.

*/ inline ViewBillingResult& AddBillingRecords(const BillingRecord& value) { m_billingRecords.push_back(value); return *this; } /** *

A summary of billing records.

*/ inline ViewBillingResult& AddBillingRecords(BillingRecord&& value) { m_billingRecords.push_back(std::move(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 ViewBillingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ViewBillingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ViewBillingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextPageMarker; Aws::Vector m_billingRecords; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Domains } // namespace Aws