7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/CallingNameStatus.h>
9#include <aws/chime/model/PhoneNumberAssociation.h>
10#include <aws/chime/model/PhoneNumberCapabilities.h>
11#include <aws/chime/model/PhoneNumberProductType.h>
12#include <aws/chime/model/PhoneNumberStatus.h>
13#include <aws/chime/model/PhoneNumberType.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename PhoneNumberIdT = Aws::String>
51 m_phoneNumberIdHasBeenSet =
true;
52 m_phoneNumberId = std::forward<PhoneNumberIdT>(value);
54 template <
typename PhoneNumberIdT = Aws::String>
67 template <
typename E164PhoneNumberT = Aws::String>
69 m_e164PhoneNumberHasBeenSet =
true;
70 m_e164PhoneNumber = std::forward<E164PhoneNumberT>(value);
72 template <
typename E164PhoneNumberT = Aws::String>
85 template <
typename CountryT = Aws::String>
87 m_countryHasBeenSet =
true;
88 m_country = std::forward<CountryT>(value);
90 template <
typename CountryT = Aws::String>
104 m_typeHasBeenSet =
true;
120 m_productTypeHasBeenSet =
true;
121 m_productType = value;
136 m_statusHasBeenSet =
true;
151 template <
typename CapabilitiesT = PhoneNumberCapabilities>
153 m_capabilitiesHasBeenSet =
true;
154 m_capabilities = std::forward<CapabilitiesT>(value);
156 template <
typename CapabilitiesT = PhoneNumberCapabilities>
169 template <
typename AssociationsT = Aws::Vector<PhoneNumberAssociation>>
171 m_associationsHasBeenSet =
true;
172 m_associations = std::forward<AssociationsT>(value);
174 template <
typename AssociationsT = Aws::Vector<PhoneNumberAssociation>>
179 template <
typename AssociationsT = PhoneNumberAssociation>
181 m_associationsHasBeenSet =
true;
182 m_associations.emplace_back(std::forward<AssociationsT>(value));
193 template <
typename CallingNameT = Aws::String>
195 m_callingNameHasBeenSet =
true;
196 m_callingName = std::forward<CallingNameT>(value);
198 template <
typename CallingNameT = Aws::String>
212 m_callingNameStatusHasBeenSet =
true;
213 m_callingNameStatus = value;
227 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
229 m_createdTimestampHasBeenSet =
true;
230 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
232 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
245 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
247 m_updatedTimestampHasBeenSet =
true;
248 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
250 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
263 template <
typename DeletionTimestampT = Aws::Utils::DateTime>
265 m_deletionTimestampHasBeenSet =
true;
266 m_deletionTimestamp = std::forward<DeletionTimestampT>(value);
268 template <
typename DeletionTimestampT = Aws::Utils::DateTime>
287 PhoneNumberCapabilities m_capabilities;
300 bool m_phoneNumberIdHasBeenSet =
false;
301 bool m_e164PhoneNumberHasBeenSet =
false;
302 bool m_countryHasBeenSet =
false;
303 bool m_typeHasBeenSet =
false;
304 bool m_productTypeHasBeenSet =
false;
305 bool m_statusHasBeenSet =
false;
306 bool m_capabilitiesHasBeenSet =
false;
307 bool m_associationsHasBeenSet =
false;
308 bool m_callingNameHasBeenSet =
false;
309 bool m_callingNameStatusHasBeenSet =
false;
310 bool m_createdTimestampHasBeenSet =
false;
311 bool m_updatedTimestampHasBeenSet =
false;
312 bool m_deletionTimestampHasBeenSet =
false;
void SetProductType(PhoneNumberProductType value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCapabilities(CapabilitiesT &&value)
PhoneNumber & WithDeletionTimestamp(DeletionTimestampT &&value)
PhoneNumber & WithCallingNameStatus(CallingNameStatus value)
bool ProductTypeHasBeenSet() const
bool CreatedTimestampHasBeenSet() const
PhoneNumber & WithAssociations(AssociationsT &&value)
const Aws::String & GetE164PhoneNumber() const
AWS_CHIME_API PhoneNumber(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
const Aws::String & GetCountry() const
void SetDeletionTimestamp(DeletionTimestampT &&value)
bool TypeHasBeenSet() const
PhoneNumberProductType GetProductType() const
bool CallingNameStatusHasBeenSet() const
PhoneNumber & WithCapabilities(CapabilitiesT &&value)
bool CountryHasBeenSet() const
PhoneNumber & WithCountry(CountryT &&value)
PhoneNumber & WithStatus(PhoneNumberStatus value)
PhoneNumber & WithPhoneNumberId(PhoneNumberIdT &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
AWS_CHIME_API PhoneNumber & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPhoneNumberId() const
bool DeletionTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetDeletionTimestamp() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
PhoneNumber & WithUpdatedTimestamp(UpdatedTimestampT &&value)
bool UpdatedTimestampHasBeenSet() const
const Aws::String & GetCallingName() const
bool CallingNameHasBeenSet() const
void SetE164PhoneNumber(E164PhoneNumberT &&value)
void SetCountry(CountryT &&value)
PhoneNumber & WithProductType(PhoneNumberProductType value)
const Aws::Vector< PhoneNumberAssociation > & GetAssociations() const
void SetPhoneNumberId(PhoneNumberIdT &&value)
void SetStatus(PhoneNumberStatus value)
void SetCallingNameStatus(CallingNameStatus value)
PhoneNumber & AddAssociations(AssociationsT &&value)
PhoneNumber & WithCreatedTimestamp(CreatedTimestampT &&value)
bool AssociationsHasBeenSet() const
PhoneNumber & WithCallingName(CallingNameT &&value)
PhoneNumberType GetType() const
bool StatusHasBeenSet() const
void SetAssociations(AssociationsT &&value)
bool E164PhoneNumberHasBeenSet() const
PhoneNumber & WithType(PhoneNumberType value)
CallingNameStatus GetCallingNameStatus() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
PhoneNumber & WithE164PhoneNumber(E164PhoneNumberT &&value)
bool PhoneNumberIdHasBeenSet() const
void SetCallingName(CallingNameT &&value)
PhoneNumberStatus GetStatus() const
bool CapabilitiesHasBeenSet() const
void SetType(PhoneNumberType value)
AWS_CHIME_API PhoneNumber()=default
const PhoneNumberCapabilities & GetCapabilities() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue