AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CandidateAddress.h
1
6#pragma once
7#include <aws/chime/Chime_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 Chime
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CHIME_API CandidateAddress();
37 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetStreetInfo() const{ return m_streetInfo; }
45 inline bool StreetInfoHasBeenSet() const { return m_streetInfoHasBeenSet; }
46 inline void SetStreetInfo(const Aws::String& value) { m_streetInfoHasBeenSet = true; m_streetInfo = value; }
47 inline void SetStreetInfo(Aws::String&& value) { m_streetInfoHasBeenSet = true; m_streetInfo = std::move(value); }
48 inline void SetStreetInfo(const char* value) { m_streetInfoHasBeenSet = true; m_streetInfo.assign(value); }
49 inline CandidateAddress& WithStreetInfo(const Aws::String& value) { SetStreetInfo(value); return *this;}
50 inline CandidateAddress& WithStreetInfo(Aws::String&& value) { SetStreetInfo(std::move(value)); return *this;}
51 inline CandidateAddress& WithStreetInfo(const char* value) { SetStreetInfo(value); return *this;}
53
55
58 inline const Aws::String& GetStreetNumber() const{ return m_streetNumber; }
59 inline bool StreetNumberHasBeenSet() const { return m_streetNumberHasBeenSet; }
60 inline void SetStreetNumber(const Aws::String& value) { m_streetNumberHasBeenSet = true; m_streetNumber = value; }
61 inline void SetStreetNumber(Aws::String&& value) { m_streetNumberHasBeenSet = true; m_streetNumber = std::move(value); }
62 inline void SetStreetNumber(const char* value) { m_streetNumberHasBeenSet = true; m_streetNumber.assign(value); }
63 inline CandidateAddress& WithStreetNumber(const Aws::String& value) { SetStreetNumber(value); return *this;}
64 inline CandidateAddress& WithStreetNumber(Aws::String&& value) { SetStreetNumber(std::move(value)); return *this;}
65 inline CandidateAddress& WithStreetNumber(const char* value) { SetStreetNumber(value); return *this;}
67
69
72 inline const Aws::String& GetCity() const{ return m_city; }
73 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
74 inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; }
75 inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); }
76 inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); }
77 inline CandidateAddress& WithCity(const Aws::String& value) { SetCity(value); return *this;}
78 inline CandidateAddress& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;}
79 inline CandidateAddress& WithCity(const char* value) { SetCity(value); return *this;}
81
83
86 inline const Aws::String& GetState() const{ return m_state; }
87 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
88 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
89 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
90 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
91 inline CandidateAddress& WithState(const Aws::String& value) { SetState(value); return *this;}
92 inline CandidateAddress& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
93 inline CandidateAddress& WithState(const char* value) { SetState(value); return *this;}
95
97
100 inline const Aws::String& GetPostalCode() const{ return m_postalCode; }
101 inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; }
102 inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; }
103 inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); }
104 inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); }
105 inline CandidateAddress& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;}
106 inline CandidateAddress& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;}
107 inline CandidateAddress& WithPostalCode(const char* value) { SetPostalCode(value); return *this;}
109
111
114 inline const Aws::String& GetPostalCodePlus4() const{ return m_postalCodePlus4; }
115 inline bool PostalCodePlus4HasBeenSet() const { return m_postalCodePlus4HasBeenSet; }
116 inline void SetPostalCodePlus4(const Aws::String& value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4 = value; }
117 inline void SetPostalCodePlus4(Aws::String&& value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4 = std::move(value); }
118 inline void SetPostalCodePlus4(const char* value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4.assign(value); }
119 inline CandidateAddress& WithPostalCodePlus4(const Aws::String& value) { SetPostalCodePlus4(value); return *this;}
120 inline CandidateAddress& WithPostalCodePlus4(Aws::String&& value) { SetPostalCodePlus4(std::move(value)); return *this;}
121 inline CandidateAddress& WithPostalCodePlus4(const char* value) { SetPostalCodePlus4(value); return *this;}
123
125
128 inline const Aws::String& GetCountry() const{ return m_country; }
129 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
130 inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; }
131 inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); }
132 inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); }
133 inline CandidateAddress& WithCountry(const Aws::String& value) { SetCountry(value); return *this;}
134 inline CandidateAddress& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;}
135 inline CandidateAddress& WithCountry(const char* value) { SetCountry(value); return *this;}
137 private:
138
139 Aws::String m_streetInfo;
140 bool m_streetInfoHasBeenSet = false;
141
142 Aws::String m_streetNumber;
143 bool m_streetNumberHasBeenSet = false;
144
145 Aws::String m_city;
146 bool m_cityHasBeenSet = false;
147
148 Aws::String m_state;
149 bool m_stateHasBeenSet = false;
150
151 Aws::String m_postalCode;
152 bool m_postalCodeHasBeenSet = false;
153
154 Aws::String m_postalCodePlus4;
155 bool m_postalCodePlus4HasBeenSet = false;
156
157 Aws::String m_country;
158 bool m_countryHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Chime
163} // namespace Aws
CandidateAddress & WithState(const char *value)
const Aws::String & GetPostalCodePlus4() const
void SetCity(Aws::String &&value)
CandidateAddress & WithCountry(const char *value)
void SetState(const Aws::String &value)
CandidateAddress & WithStreetNumber(const Aws::String &value)
CandidateAddress & WithCity(const char *value)
void SetStreetInfo(const char *value)
CandidateAddress & WithPostalCode(Aws::String &&value)
void SetCountry(const Aws::String &value)
const Aws::String & GetStreetNumber() const
void SetPostalCodePlus4(Aws::String &&value)
void SetPostalCodePlus4(const char *value)
const Aws::String & GetCity() const
CandidateAddress & WithCountry(const Aws::String &value)
void SetCity(const Aws::String &value)
void SetStreetNumber(const char *value)
CandidateAddress & WithStreetInfo(const char *value)
CandidateAddress & WithPostalCodePlus4(const char *value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreetInfo(Aws::String &&value)
void SetState(Aws::String &&value)
CandidateAddress & WithCountry(Aws::String &&value)
const Aws::String & GetPostalCode() const
AWS_CHIME_API CandidateAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
CandidateAddress & WithStreetNumber(Aws::String &&value)
CandidateAddress & WithState(Aws::String &&value)
CandidateAddress & WithCity(Aws::String &&value)
void SetCountry(Aws::String &&value)
void SetStreetNumber(const Aws::String &value)
AWS_CHIME_API CandidateAddress(Aws::Utils::Json::JsonView jsonValue)
CandidateAddress & WithPostalCode(const char *value)
void SetPostalCodePlus4(const Aws::String &value)
void SetPostalCode(const Aws::String &value)
CandidateAddress & WithPostalCodePlus4(const Aws::String &value)
void SetPostalCode(const char *value)
const Aws::String & GetCountry() const
void SetPostalCode(Aws::String &&value)
void SetStreetNumber(Aws::String &&value)
const Aws::String & GetState() const
CandidateAddress & WithStreetInfo(const Aws::String &value)
CandidateAddress & WithStreetInfo(Aws::String &&value)
const Aws::String & GetStreetInfo() const
CandidateAddress & WithPostalCodePlus4(Aws::String &&value)
CandidateAddress & WithCity(const Aws::String &value)
CandidateAddress & WithStreetNumber(const char *value)
CandidateAddress & WithPostalCode(const Aws::String &value)
void SetStreetInfo(const Aws::String &value)
CandidateAddress & WithState(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue