AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InvoiceProfile.h
1
6#pragma once
7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/model/ReceiverAddress.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Invoicing
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INVOICING_API InvoiceProfile() = default;
37 AWS_INVOICING_API InvoiceProfile(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const { return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 InvoiceProfile& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
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) { m_receiverNameHasBeenSet = true; m_receiverName = std::forward<ReceiverNameT>(value); }
62 template<typename ReceiverNameT = Aws::String>
63 InvoiceProfile& WithReceiverName(ReceiverNameT&& value) { SetReceiverName(std::forward<ReceiverNameT>(value)); return *this;}
65
67
70 inline const ReceiverAddress& GetReceiverAddress() const { return m_receiverAddress; }
71 inline bool ReceiverAddressHasBeenSet() const { return m_receiverAddressHasBeenSet; }
72 template<typename ReceiverAddressT = ReceiverAddress>
73 void SetReceiverAddress(ReceiverAddressT&& value) { m_receiverAddressHasBeenSet = true; m_receiverAddress = std::forward<ReceiverAddressT>(value); }
74 template<typename ReceiverAddressT = ReceiverAddress>
75 InvoiceProfile& WithReceiverAddress(ReceiverAddressT&& value) { SetReceiverAddress(std::forward<ReceiverAddressT>(value)); return *this;}
77
79
82 inline const Aws::String& GetReceiverEmail() const { return m_receiverEmail; }
83 inline bool ReceiverEmailHasBeenSet() const { return m_receiverEmailHasBeenSet; }
84 template<typename ReceiverEmailT = Aws::String>
85 void SetReceiverEmail(ReceiverEmailT&& value) { m_receiverEmailHasBeenSet = true; m_receiverEmail = std::forward<ReceiverEmailT>(value); }
86 template<typename ReceiverEmailT = Aws::String>
87 InvoiceProfile& WithReceiverEmail(ReceiverEmailT&& value) { SetReceiverEmail(std::forward<ReceiverEmailT>(value)); return *this;}
89
91
94 inline const Aws::String& GetIssuer() const { return m_issuer; }
95 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
96 template<typename IssuerT = Aws::String>
97 void SetIssuer(IssuerT&& value) { m_issuerHasBeenSet = true; m_issuer = std::forward<IssuerT>(value); }
98 template<typename IssuerT = Aws::String>
99 InvoiceProfile& WithIssuer(IssuerT&& value) { SetIssuer(std::forward<IssuerT>(value)); return *this;}
101
103
106 inline const Aws::String& GetTaxRegistrationNumber() const { return m_taxRegistrationNumber; }
107 inline bool TaxRegistrationNumberHasBeenSet() const { return m_taxRegistrationNumberHasBeenSet; }
108 template<typename TaxRegistrationNumberT = Aws::String>
109 void SetTaxRegistrationNumber(TaxRegistrationNumberT&& value) { m_taxRegistrationNumberHasBeenSet = true; m_taxRegistrationNumber = std::forward<TaxRegistrationNumberT>(value); }
110 template<typename TaxRegistrationNumberT = Aws::String>
111 InvoiceProfile& WithTaxRegistrationNumber(TaxRegistrationNumberT&& value) { SetTaxRegistrationNumber(std::forward<TaxRegistrationNumberT>(value)); return *this;}
113 private:
114
115 Aws::String m_accountId;
116 bool m_accountIdHasBeenSet = false;
117
118 Aws::String m_receiverName;
119 bool m_receiverNameHasBeenSet = false;
120
121 ReceiverAddress m_receiverAddress;
122 bool m_receiverAddressHasBeenSet = false;
123
124 Aws::String m_receiverEmail;
125 bool m_receiverEmailHasBeenSet = false;
126
127 Aws::String m_issuer;
128 bool m_issuerHasBeenSet = false;
129
130 Aws::String m_taxRegistrationNumber;
131 bool m_taxRegistrationNumberHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Invoicing
136} // 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