AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
InvoiceProfile.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/invoicing/Invoicing_EXPORTS.h>
9#include <aws/invoicing/model/ReceiverAddress.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Invoicing {
21namespace Model {
22
30 public:
31 AWS_INVOICING_API InvoiceProfile() = default;
32 AWS_INVOICING_API InvoiceProfile(Aws::Utils::Json::JsonView jsonValue);
34 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template <typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) {
44 m_accountIdHasBeenSet = true;
45 m_accountId = std::forward<AccountIdT>(value);
46 }
47 template <typename AccountIdT = Aws::String>
48 InvoiceProfile& WithAccountId(AccountIdT&& value) {
49 SetAccountId(std::forward<AccountIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetReceiverName() const { return m_receiverName; }
59 inline bool ReceiverNameHasBeenSet() const { return m_receiverNameHasBeenSet; }
60 template <typename ReceiverNameT = Aws::String>
61 void SetReceiverName(ReceiverNameT&& value) {
62 m_receiverNameHasBeenSet = true;
63 m_receiverName = std::forward<ReceiverNameT>(value);
64 }
65 template <typename ReceiverNameT = Aws::String>
66 InvoiceProfile& WithReceiverName(ReceiverNameT&& value) {
67 SetReceiverName(std::forward<ReceiverNameT>(value));
68 return *this;
69 }
71
73
76 inline const ReceiverAddress& GetReceiverAddress() const { return m_receiverAddress; }
77 inline bool ReceiverAddressHasBeenSet() const { return m_receiverAddressHasBeenSet; }
78 template <typename ReceiverAddressT = ReceiverAddress>
79 void SetReceiverAddress(ReceiverAddressT&& value) {
80 m_receiverAddressHasBeenSet = true;
81 m_receiverAddress = std::forward<ReceiverAddressT>(value);
82 }
83 template <typename ReceiverAddressT = ReceiverAddress>
84 InvoiceProfile& WithReceiverAddress(ReceiverAddressT&& value) {
85 SetReceiverAddress(std::forward<ReceiverAddressT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetReceiverEmail() const { return m_receiverEmail; }
95 inline bool ReceiverEmailHasBeenSet() const { return m_receiverEmailHasBeenSet; }
96 template <typename ReceiverEmailT = Aws::String>
97 void SetReceiverEmail(ReceiverEmailT&& value) {
98 m_receiverEmailHasBeenSet = true;
99 m_receiverEmail = std::forward<ReceiverEmailT>(value);
100 }
101 template <typename ReceiverEmailT = Aws::String>
102 InvoiceProfile& WithReceiverEmail(ReceiverEmailT&& value) {
103 SetReceiverEmail(std::forward<ReceiverEmailT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetIssuer() const { return m_issuer; }
113 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
114 template <typename IssuerT = Aws::String>
115 void SetIssuer(IssuerT&& value) {
116 m_issuerHasBeenSet = true;
117 m_issuer = std::forward<IssuerT>(value);
118 }
119 template <typename IssuerT = Aws::String>
120 InvoiceProfile& WithIssuer(IssuerT&& value) {
121 SetIssuer(std::forward<IssuerT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetTaxRegistrationNumber() const { return m_taxRegistrationNumber; }
131 inline bool TaxRegistrationNumberHasBeenSet() const { return m_taxRegistrationNumberHasBeenSet; }
132 template <typename TaxRegistrationNumberT = Aws::String>
133 void SetTaxRegistrationNumber(TaxRegistrationNumberT&& value) {
134 m_taxRegistrationNumberHasBeenSet = true;
135 m_taxRegistrationNumber = std::forward<TaxRegistrationNumberT>(value);
136 }
137 template <typename TaxRegistrationNumberT = Aws::String>
138 InvoiceProfile& WithTaxRegistrationNumber(TaxRegistrationNumberT&& value) {
139 SetTaxRegistrationNumber(std::forward<TaxRegistrationNumberT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_accountId;
145
146 Aws::String m_receiverName;
147
148 ReceiverAddress m_receiverAddress;
149
150 Aws::String m_receiverEmail;
151
152 Aws::String m_issuer;
153
154 Aws::String m_taxRegistrationNumber;
155 bool m_accountIdHasBeenSet = false;
156 bool m_receiverNameHasBeenSet = false;
157 bool m_receiverAddressHasBeenSet = false;
158 bool m_receiverEmailHasBeenSet = false;
159 bool m_issuerHasBeenSet = false;
160 bool m_taxRegistrationNumberHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace Invoicing
165} // namespace Aws
AWS_INVOICING_API InvoiceProfile()=default
InvoiceProfile & WithIssuer(IssuerT &&value)
InvoiceProfile & WithTaxRegistrationNumber(TaxRegistrationNumberT &&value)
const Aws::String & GetAccountId() const
InvoiceProfile & WithReceiverAddress(ReceiverAddressT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetReceiverName() const
AWS_INVOICING_API InvoiceProfile(Aws::Utils::Json::JsonView jsonValue)
InvoiceProfile & WithReceiverName(ReceiverNameT &&value)
void SetReceiverAddress(ReceiverAddressT &&value)
AWS_INVOICING_API InvoiceProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTaxRegistrationNumber(TaxRegistrationNumberT &&value)
void SetReceiverName(ReceiverNameT &&value)
const ReceiverAddress & GetReceiverAddress() const
const Aws::String & GetIssuer() const
InvoiceProfile & WithAccountId(AccountIdT &&value)
InvoiceProfile & WithReceiverEmail(ReceiverEmailT &&value)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTaxRegistrationNumber() const
const Aws::String & GetReceiverEmail() const
void SetReceiverEmail(ReceiverEmailT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue