AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BillingRecord.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53domains/model/OperationType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Route53Domains
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ROUTE53DOMAINS_API BillingRecord();
37 AWS_ROUTE53DOMAINS_API BillingRecord(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53DOMAINS_API BillingRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline const Aws::String& GetDomainName() const{ return m_domainName; }
52 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
53 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
54 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
55 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
56 inline BillingRecord& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
57 inline BillingRecord& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
58 inline BillingRecord& WithDomainName(const char* value) { SetDomainName(value); return *this;}
60
62
65 inline const OperationType& GetOperation() const{ return m_operation; }
66 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
67 inline void SetOperation(const OperationType& value) { m_operationHasBeenSet = true; m_operation = value; }
68 inline void SetOperation(OperationType&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
69 inline BillingRecord& WithOperation(const OperationType& value) { SetOperation(value); return *this;}
70 inline BillingRecord& WithOperation(OperationType&& value) { SetOperation(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetInvoiceId() const{ return m_invoiceId; }
78 inline bool InvoiceIdHasBeenSet() const { return m_invoiceIdHasBeenSet; }
79 inline void SetInvoiceId(const Aws::String& value) { m_invoiceIdHasBeenSet = true; m_invoiceId = value; }
80 inline void SetInvoiceId(Aws::String&& value) { m_invoiceIdHasBeenSet = true; m_invoiceId = std::move(value); }
81 inline void SetInvoiceId(const char* value) { m_invoiceIdHasBeenSet = true; m_invoiceId.assign(value); }
82 inline BillingRecord& WithInvoiceId(const Aws::String& value) { SetInvoiceId(value); return *this;}
83 inline BillingRecord& WithInvoiceId(Aws::String&& value) { SetInvoiceId(std::move(value)); return *this;}
84 inline BillingRecord& WithInvoiceId(const char* value) { SetInvoiceId(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetBillDate() const{ return m_billDate; }
92 inline bool BillDateHasBeenSet() const { return m_billDateHasBeenSet; }
93 inline void SetBillDate(const Aws::Utils::DateTime& value) { m_billDateHasBeenSet = true; m_billDate = value; }
94 inline void SetBillDate(Aws::Utils::DateTime&& value) { m_billDateHasBeenSet = true; m_billDate = std::move(value); }
95 inline BillingRecord& WithBillDate(const Aws::Utils::DateTime& value) { SetBillDate(value); return *this;}
96 inline BillingRecord& WithBillDate(Aws::Utils::DateTime&& value) { SetBillDate(std::move(value)); return *this;}
98
100
104 inline double GetPrice() const{ return m_price; }
105 inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
106 inline void SetPrice(double value) { m_priceHasBeenSet = true; m_price = value; }
107 inline BillingRecord& WithPrice(double value) { SetPrice(value); return *this;}
109 private:
110
111 Aws::String m_domainName;
112 bool m_domainNameHasBeenSet = false;
113
114 OperationType m_operation;
115 bool m_operationHasBeenSet = false;
116
117 Aws::String m_invoiceId;
118 bool m_invoiceIdHasBeenSet = false;
119
120 Aws::Utils::DateTime m_billDate;
121 bool m_billDateHasBeenSet = false;
122
123 double m_price;
124 bool m_priceHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Route53Domains
129} // namespace Aws
AWS_ROUTE53DOMAINS_API BillingRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInvoiceId() const
BillingRecord & WithInvoiceId(const Aws::String &value)
void SetOperation(OperationType &&value)
BillingRecord & WithDomainName(Aws::String &&value)
void SetBillDate(Aws::Utils::DateTime &&value)
AWS_ROUTE53DOMAINS_API BillingRecord(Aws::Utils::Json::JsonView jsonValue)
BillingRecord & WithOperation(OperationType &&value)
BillingRecord & WithDomainName(const char *value)
BillingRecord & WithInvoiceId(const char *value)
const Aws::Utils::DateTime & GetBillDate() const
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
const OperationType & GetOperation() const
void SetDomainName(Aws::String &&value)
const Aws::String & GetDomainName() const
BillingRecord & WithBillDate(Aws::Utils::DateTime &&value)
AWS_ROUTE53DOMAINS_API BillingRecord()
void SetInvoiceId(const Aws::String &value)
void SetBillDate(const Aws::Utils::DateTime &value)
void SetInvoiceId(Aws::String &&value)
BillingRecord & WithInvoiceId(Aws::String &&value)
BillingRecord & WithOperation(const OperationType &value)
BillingRecord & WithBillDate(const Aws::Utils::DateTime &value)
void SetDomainName(const Aws::String &value)
BillingRecord & WithDomainName(const Aws::String &value)
void SetOperation(const OperationType &value)
BillingRecord & WithPrice(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue