AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReceiverAddress.h
1
6#pragma once
7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Invoicing
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_INVOICING_API ReceiverAddress() = default;
36 AWS_INVOICING_API ReceiverAddress(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAddressLine1() const { return m_addressLine1; }
46 inline bool AddressLine1HasBeenSet() const { return m_addressLine1HasBeenSet; }
47 template<typename AddressLine1T = Aws::String>
48 void SetAddressLine1(AddressLine1T&& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = std::forward<AddressLine1T>(value); }
49 template<typename AddressLine1T = Aws::String>
50 ReceiverAddress& WithAddressLine1(AddressLine1T&& value) { SetAddressLine1(std::forward<AddressLine1T>(value)); return *this;}
52
54
57 inline const Aws::String& GetAddressLine2() const { return m_addressLine2; }
58 inline bool AddressLine2HasBeenSet() const { return m_addressLine2HasBeenSet; }
59 template<typename AddressLine2T = Aws::String>
60 void SetAddressLine2(AddressLine2T&& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = std::forward<AddressLine2T>(value); }
61 template<typename AddressLine2T = Aws::String>
62 ReceiverAddress& WithAddressLine2(AddressLine2T&& value) { SetAddressLine2(std::forward<AddressLine2T>(value)); return *this;}
64
66
69 inline const Aws::String& GetAddressLine3() const { return m_addressLine3; }
70 inline bool AddressLine3HasBeenSet() const { return m_addressLine3HasBeenSet; }
71 template<typename AddressLine3T = Aws::String>
72 void SetAddressLine3(AddressLine3T&& value) { m_addressLine3HasBeenSet = true; m_addressLine3 = std::forward<AddressLine3T>(value); }
73 template<typename AddressLine3T = Aws::String>
74 ReceiverAddress& WithAddressLine3(AddressLine3T&& value) { SetAddressLine3(std::forward<AddressLine3T>(value)); return *this;}
76
78
81 inline const Aws::String& GetDistrictOrCounty() const { return m_districtOrCounty; }
82 inline bool DistrictOrCountyHasBeenSet() const { return m_districtOrCountyHasBeenSet; }
83 template<typename DistrictOrCountyT = Aws::String>
84 void SetDistrictOrCounty(DistrictOrCountyT&& value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty = std::forward<DistrictOrCountyT>(value); }
85 template<typename DistrictOrCountyT = Aws::String>
86 ReceiverAddress& WithDistrictOrCounty(DistrictOrCountyT&& value) { SetDistrictOrCounty(std::forward<DistrictOrCountyT>(value)); return *this;}
88
90
93 inline const Aws::String& GetCity() const { return m_city; }
94 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
95 template<typename CityT = Aws::String>
96 void SetCity(CityT&& value) { m_cityHasBeenSet = true; m_city = std::forward<CityT>(value); }
97 template<typename CityT = Aws::String>
98 ReceiverAddress& WithCity(CityT&& value) { SetCity(std::forward<CityT>(value)); return *this;}
100
102
105 inline const Aws::String& GetStateOrRegion() const { return m_stateOrRegion; }
106 inline bool StateOrRegionHasBeenSet() const { return m_stateOrRegionHasBeenSet; }
107 template<typename StateOrRegionT = Aws::String>
108 void SetStateOrRegion(StateOrRegionT&& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = std::forward<StateOrRegionT>(value); }
109 template<typename StateOrRegionT = Aws::String>
110 ReceiverAddress& WithStateOrRegion(StateOrRegionT&& value) { SetStateOrRegion(std::forward<StateOrRegionT>(value)); return *this;}
112
114
117 inline const Aws::String& GetCountryCode() const { return m_countryCode; }
118 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
119 template<typename CountryCodeT = Aws::String>
120 void SetCountryCode(CountryCodeT&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::forward<CountryCodeT>(value); }
121 template<typename CountryCodeT = Aws::String>
122 ReceiverAddress& WithCountryCode(CountryCodeT&& value) { SetCountryCode(std::forward<CountryCodeT>(value)); return *this;}
124
126
129 inline const Aws::String& GetCompanyName() const { return m_companyName; }
130 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
131 template<typename CompanyNameT = Aws::String>
132 void SetCompanyName(CompanyNameT&& value) { m_companyNameHasBeenSet = true; m_companyName = std::forward<CompanyNameT>(value); }
133 template<typename CompanyNameT = Aws::String>
134 ReceiverAddress& WithCompanyName(CompanyNameT&& value) { SetCompanyName(std::forward<CompanyNameT>(value)); return *this;}
136
138
141 inline const Aws::String& GetPostalCode() const { return m_postalCode; }
142 inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; }
143 template<typename PostalCodeT = Aws::String>
144 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::forward<PostalCodeT>(value); }
145 template<typename PostalCodeT = Aws::String>
146 ReceiverAddress& WithPostalCode(PostalCodeT&& value) { SetPostalCode(std::forward<PostalCodeT>(value)); return *this;}
148 private:
149
150 Aws::String m_addressLine1;
151 bool m_addressLine1HasBeenSet = false;
152
153 Aws::String m_addressLine2;
154 bool m_addressLine2HasBeenSet = false;
155
156 Aws::String m_addressLine3;
157 bool m_addressLine3HasBeenSet = false;
158
159 Aws::String m_districtOrCounty;
160 bool m_districtOrCountyHasBeenSet = false;
161
162 Aws::String m_city;
163 bool m_cityHasBeenSet = false;
164
165 Aws::String m_stateOrRegion;
166 bool m_stateOrRegionHasBeenSet = false;
167
168 Aws::String m_countryCode;
169 bool m_countryCodeHasBeenSet = false;
170
171 Aws::String m_companyName;
172 bool m_companyNameHasBeenSet = false;
173
174 Aws::String m_postalCode;
175 bool m_postalCodeHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace Invoicing
180} // namespace Aws
void SetAddressLine1(AddressLine1T &&value)
const Aws::String & GetCity() const
void SetStateOrRegion(StateOrRegionT &&value)
const Aws::String & GetDistrictOrCounty() const
ReceiverAddress & WithAddressLine3(AddressLine3T &&value)
void SetAddressLine3(AddressLine3T &&value)
ReceiverAddress & WithCompanyName(CompanyNameT &&value)
AWS_INVOICING_API ReceiverAddress()=default
ReceiverAddress & WithCountryCode(CountryCodeT &&value)
void SetAddressLine2(AddressLine2T &&value)
void SetCountryCode(CountryCodeT &&value)
ReceiverAddress & WithPostalCode(PostalCodeT &&value)
AWS_INVOICING_API ReceiverAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
ReceiverAddress & WithStateOrRegion(StateOrRegionT &&value)
void SetCompanyName(CompanyNameT &&value)
void SetDistrictOrCounty(DistrictOrCountyT &&value)
const Aws::String & GetCompanyName() const
AWS_INVOICING_API ReceiverAddress(Aws::Utils::Json::JsonView jsonValue)
ReceiverAddress & WithCity(CityT &&value)
const Aws::String & GetPostalCode() const
const Aws::String & GetAddressLine3() const
ReceiverAddress & WithAddressLine2(AddressLine2T &&value)
ReceiverAddress & WithAddressLine1(AddressLine1T &&value)
void SetPostalCode(PostalCodeT &&value)
const Aws::String & GetAddressLine1() const
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStateOrRegion() const
const Aws::String & GetAddressLine2() const
ReceiverAddress & WithDistrictOrCounty(DistrictOrCountyT &&value)
const Aws::String & GetCountryCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue