7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/PhoneNumberType.h>
10#include <aws/chime/model/PhoneNumberProductType.h>
11#include <aws/chime/model/PhoneNumberStatus.h>
12#include <aws/chime/model/PhoneNumberCapabilities.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/chime/model/CallingNameStatus.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/chime/model/PhoneNumberAssociation.h>
55 template<
typename PhoneNumberIdT = Aws::String>
56 void SetPhoneNumberId(PhoneNumberIdT&& value) { m_phoneNumberIdHasBeenSet =
true; m_phoneNumberId = std::forward<PhoneNumberIdT>(value); }
57 template<
typename PhoneNumberIdT = Aws::String>
67 template<
typename E164PhoneNumberT = Aws::String>
68 void SetE164PhoneNumber(E164PhoneNumberT&& value) { m_e164PhoneNumberHasBeenSet =
true; m_e164PhoneNumber = std::forward<E164PhoneNumberT>(value); }
69 template<
typename E164PhoneNumberT = Aws::String>
79 template<
typename CountryT = Aws::String>
80 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
81 template<
typename CountryT = Aws::String>
121 template<
typename CapabilitiesT = PhoneNumberCapabilities>
122 void SetCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet =
true; m_capabilities = std::forward<CapabilitiesT>(value); }
123 template<
typename CapabilitiesT = PhoneNumberCapabilities>
133 template<
typename AssociationsT = Aws::Vector<PhoneNumberAssociation>>
134 void SetAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations = std::forward<AssociationsT>(value); }
135 template<
typename AssociationsT = Aws::Vector<PhoneNumberAssociation>>
137 template<
typename AssociationsT = PhoneNumberAssociation>
138 PhoneNumber&
AddAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations.emplace_back(std::forward<AssociationsT>(value));
return *
this; }
147 template<
typename CallingNameT = Aws::String>
148 void SetCallingName(CallingNameT&& value) { m_callingNameHasBeenSet =
true; m_callingName = std::forward<CallingNameT>(value); }
149 template<
typename CallingNameT = Aws::String>
169 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
170 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
171 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
181 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
182 void SetUpdatedTimestamp(UpdatedTimestampT&& value) { m_updatedTimestampHasBeenSet =
true; m_updatedTimestamp = std::forward<UpdatedTimestampT>(value); }
183 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
193 template<
typename DeletionTimestampT = Aws::Utils::DateTime>
194 void SetDeletionTimestamp(DeletionTimestampT&& value) { m_deletionTimestampHasBeenSet =
true; m_deletionTimestamp = std::forward<DeletionTimestampT>(value); }
195 template<
typename DeletionTimestampT = Aws::Utils::DateTime>
201 bool m_phoneNumberIdHasBeenSet =
false;
204 bool m_e164PhoneNumberHasBeenSet =
false;
207 bool m_countryHasBeenSet =
false;
210 bool m_typeHasBeenSet =
false;
213 bool m_productTypeHasBeenSet =
false;
216 bool m_statusHasBeenSet =
false;
218 PhoneNumberCapabilities m_capabilities;
219 bool m_capabilitiesHasBeenSet =
false;
222 bool m_associationsHasBeenSet =
false;
225 bool m_callingNameHasBeenSet =
false;
228 bool m_callingNameStatusHasBeenSet =
false;
231 bool m_createdTimestampHasBeenSet =
false;
234 bool m_updatedTimestampHasBeenSet =
false;
237 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