AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ViewBillingResult.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53domains/model/BillingRecord.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Route53Domains
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ROUTE53DOMAINS_API ViewBillingResult() = default;
41
42
44
49 inline const Aws::String& GetNextPageMarker() const { return m_nextPageMarker; }
50 template<typename NextPageMarkerT = Aws::String>
51 void SetNextPageMarker(NextPageMarkerT&& value) { m_nextPageMarkerHasBeenSet = true; m_nextPageMarker = std::forward<NextPageMarkerT>(value); }
52 template<typename NextPageMarkerT = Aws::String>
53 ViewBillingResult& WithNextPageMarker(NextPageMarkerT&& value) { SetNextPageMarker(std::forward<NextPageMarkerT>(value)); return *this;}
55
57
60 inline const Aws::Vector<BillingRecord>& GetBillingRecords() const { return m_billingRecords; }
61 template<typename BillingRecordsT = Aws::Vector<BillingRecord>>
62 void SetBillingRecords(BillingRecordsT&& value) { m_billingRecordsHasBeenSet = true; m_billingRecords = std::forward<BillingRecordsT>(value); }
63 template<typename BillingRecordsT = Aws::Vector<BillingRecord>>
64 ViewBillingResult& WithBillingRecords(BillingRecordsT&& value) { SetBillingRecords(std::forward<BillingRecordsT>(value)); return *this;}
65 template<typename BillingRecordsT = BillingRecord>
66 ViewBillingResult& AddBillingRecords(BillingRecordsT&& value) { m_billingRecordsHasBeenSet = true; m_billingRecords.emplace_back(std::forward<BillingRecordsT>(value)); return *this; }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 ViewBillingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_nextPageMarker;
80 bool m_nextPageMarkerHasBeenSet = false;
81
82 Aws::Vector<BillingRecord> m_billingRecords;
83 bool m_billingRecordsHasBeenSet = false;
84
85 Aws::String m_requestId;
86 bool m_requestIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Route53Domains
91} // namespace Aws
const Aws::Vector< BillingRecord > & GetBillingRecords() const
ViewBillingResult & WithNextPageMarker(NextPageMarkerT &&value)
void SetBillingRecords(BillingRecordsT &&value)
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