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>
57 inline void SetPhoneNumberId(
const char* value) { m_phoneNumberIdHasBeenSet =
true; m_phoneNumberId.assign(value); }
71 inline void SetE164PhoneNumber(
const char* value) { m_e164PhoneNumberHasBeenSet =
true; m_e164PhoneNumber.assign(value); }
85 inline void SetCountry(
const char* value) { m_countryHasBeenSet =
true; m_country.assign(value); }
161 inline void SetCallingName(
const char* value) { m_callingNameHasBeenSet =
true; m_callingName.assign(value); }
217 bool m_phoneNumberIdHasBeenSet =
false;
220 bool m_e164PhoneNumberHasBeenSet =
false;
223 bool m_countryHasBeenSet =
false;
226 bool m_typeHasBeenSet =
false;
229 bool m_productTypeHasBeenSet =
false;
232 bool m_statusHasBeenSet =
false;
235 bool m_capabilitiesHasBeenSet =
false;
238 bool m_associationsHasBeenSet =
false;
241 bool m_callingNameHasBeenSet =
false;
244 bool m_callingNameStatusHasBeenSet =
false;
247 bool m_createdTimestampHasBeenSet =
false;
250 bool m_updatedTimestampHasBeenSet =
false;
253 bool m_deletionTimestampHasBeenSet =
false;
PhoneNumber & WithDeletionTimestamp(const Aws::Utils::DateTime &value)
const PhoneNumberProductType & GetProductType() const
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
AWS_CHIME_API PhoneNumber()
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
PhoneNumber & AddAssociations(const PhoneNumberAssociation &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
PhoneNumber & AddAssociations(PhoneNumberAssociation &&value)
PhoneNumber & WithAssociations(const Aws::Vector< PhoneNumberAssociation > &value)
void SetCapabilities(PhoneNumberCapabilities &&value)
bool ProductTypeHasBeenSet() const
bool CreatedTimestampHasBeenSet() const
PhoneNumber & WithType(PhoneNumberType &&value)
const Aws::String & GetE164PhoneNumber() const
AWS_CHIME_API PhoneNumber(Aws::Utils::Json::JsonView jsonValue)
PhoneNumber & WithCallingName(Aws::String &&value)
PhoneNumber & WithPhoneNumberId(const Aws::String &value)
void SetAssociations(const Aws::Vector< PhoneNumberAssociation > &value)
const Aws::String & GetCountry() const
bool TypeHasBeenSet() const
void SetPhoneNumberId(const Aws::String &value)
void SetDeletionTimestamp(const Aws::Utils::DateTime &value)
PhoneNumber & WithCallingName(const char *value)
PhoneNumber & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
PhoneNumber & WithPhoneNumberId(Aws::String &&value)
void SetCountry(Aws::String &&value)
const CallingNameStatus & GetCallingNameStatus() const
PhoneNumber & WithCountry(const Aws::String &value)
bool CallingNameStatusHasBeenSet() const
PhoneNumber & WithCountry(const char *value)
void SetType(const PhoneNumberType &value)
bool CountryHasBeenSet() const
PhoneNumber & WithPhoneNumberId(const char *value)
PhoneNumber & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
PhoneNumber & WithCountry(Aws::String &&value)
PhoneNumber & WithE164PhoneNumber(Aws::String &&value)
PhoneNumber & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
PhoneNumber & WithCallingNameStatus(CallingNameStatus &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
AWS_CHIME_API PhoneNumber & operator=(Aws::Utils::Json::JsonView jsonValue)
PhoneNumber & WithDeletionTimestamp(Aws::Utils::DateTime &&value)
PhoneNumber & WithProductType(const PhoneNumberProductType &value)
const Aws::String & GetPhoneNumberId() const
void SetCallingName(const Aws::String &value)
bool DeletionTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetDeletionTimestamp() const
PhoneNumber & WithStatus(const PhoneNumberStatus &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetCallingNameStatus(CallingNameStatus &&value)
bool UpdatedTimestampHasBeenSet() const
void SetPhoneNumberId(const char *value)
const Aws::String & GetCallingName() const
bool CallingNameHasBeenSet() const
void SetCallingName(Aws::String &&value)
PhoneNumber & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
PhoneNumber & WithCapabilities(const PhoneNumberCapabilities &value)
void SetPhoneNumberId(Aws::String &&value)
void SetCapabilities(const PhoneNumberCapabilities &value)
PhoneNumber & WithCapabilities(PhoneNumberCapabilities &&value)
void SetE164PhoneNumber(Aws::String &&value)
PhoneNumber & WithE164PhoneNumber(const Aws::String &value)
PhoneNumber & WithStatus(PhoneNumberStatus &&value)
void SetAssociations(Aws::Vector< PhoneNumberAssociation > &&value)
const Aws::Vector< PhoneNumberAssociation > & GetAssociations() const
PhoneNumber & WithCallingNameStatus(const CallingNameStatus &value)
void SetStatus(PhoneNumberStatus &&value)
PhoneNumber & WithE164PhoneNumber(const char *value)
void SetType(PhoneNumberType &&value)
PhoneNumber & WithCallingName(const Aws::String &value)
PhoneNumber & WithProductType(PhoneNumberProductType &&value)
bool AssociationsHasBeenSet() const
void SetCallingNameStatus(const CallingNameStatus &value)
const PhoneNumberStatus & GetStatus() const
PhoneNumber & WithType(const PhoneNumberType &value)
bool StatusHasBeenSet() const
void SetCallingName(const char *value)
bool E164PhoneNumberHasBeenSet() const
void SetDeletionTimestamp(Aws::Utils::DateTime &&value)
PhoneNumber & WithAssociations(Aws::Vector< PhoneNumberAssociation > &&value)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetE164PhoneNumber(const char *value)
void SetCountry(const Aws::String &value)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetProductType(const PhoneNumberProductType &value)
bool PhoneNumberIdHasBeenSet() const
void SetStatus(const PhoneNumberStatus &value)
bool CapabilitiesHasBeenSet() const
void SetE164PhoneNumber(const Aws::String &value)
void SetCountry(const char *value)
void SetProductType(PhoneNumberProductType &&value)
const PhoneNumberType & GetType() const
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