AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ViewBillingResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53domains/Route53Domains_EXPORTS.h>
11#include <aws/route53domains/model/BillingRecord.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Route53Domains {
25namespace Model {
33 public:
34 AWS_ROUTE53DOMAINS_API ViewBillingResult() = default;
37
39
44 inline const Aws::String& GetNextPageMarker() const { return m_nextPageMarker; }
45 template <typename NextPageMarkerT = Aws::String>
46 void SetNextPageMarker(NextPageMarkerT&& value) {
47 m_nextPageMarkerHasBeenSet = true;
48 m_nextPageMarker = std::forward<NextPageMarkerT>(value);
49 }
50 template <typename NextPageMarkerT = Aws::String>
51 ViewBillingResult& WithNextPageMarker(NextPageMarkerT&& value) {
52 SetNextPageMarker(std::forward<NextPageMarkerT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<BillingRecord>& GetBillingRecords() const { return m_billingRecords; }
62 template <typename BillingRecordsT = Aws::Vector<BillingRecord>>
63 void SetBillingRecords(BillingRecordsT&& value) {
64 m_billingRecordsHasBeenSet = true;
65 m_billingRecords = std::forward<BillingRecordsT>(value);
66 }
67 template <typename BillingRecordsT = Aws::Vector<BillingRecord>>
68 ViewBillingResult& WithBillingRecords(BillingRecordsT&& value) {
69 SetBillingRecords(std::forward<BillingRecordsT>(value));
70 return *this;
71 }
72 template <typename BillingRecordsT = BillingRecord>
73 ViewBillingResult& AddBillingRecords(BillingRecordsT&& value) {
74 m_billingRecordsHasBeenSet = true;
75 m_billingRecords.emplace_back(std::forward<BillingRecordsT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
89 ViewBillingResult& WithRequestId(RequestIdT&& value) {
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 Aws::String m_nextPageMarker;
98
99 Aws::Vector<BillingRecord> m_billingRecords;
100
101 Aws::String m_requestId;
102 Aws::Http::HttpResponseCode m_HttpResponseCode;
103 bool m_nextPageMarkerHasBeenSet = false;
104 bool m_billingRecordsHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Route53Domains
110} // namespace Aws
const Aws::Vector< BillingRecord > & GetBillingRecords() const
ViewBillingResult & WithNextPageMarker(NextPageMarkerT &&value)
void SetBillingRecords(BillingRecordsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_ROUTE53DOMAINS_API ViewBillingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ViewBillingResult & WithRequestId(RequestIdT &&value)
ViewBillingResult & AddBillingRecords(BillingRecordsT &&value)
ViewBillingResult & WithBillingRecords(BillingRecordsT &&value)
AWS_ROUTE53DOMAINS_API ViewBillingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextPageMarker(NextPageMarkerT &&value)
AWS_ROUTE53DOMAINS_API ViewBillingResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue