7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/PhoneNumberCountryCode.h>
10#include <aws/connect/model/PhoneNumberType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/connect/model/PhoneNumberStatus.h>
53 inline void SetPhoneNumberId(
const char* value) { m_phoneNumberIdHasBeenSet =
true; m_phoneNumberId.assign(value); }
67 inline void SetPhoneNumberArn(
const char* value) { m_phoneNumberArnHasBeenSet =
true; m_phoneNumberArn.assign(value); }
82 inline void SetPhoneNumber(
const char* value) { m_phoneNumberHasBeenSet =
true; m_phoneNumber.assign(value); }
120 inline void SetPhoneNumberDescription(
const char* value) { m_phoneNumberDescriptionHasBeenSet =
true; m_phoneNumberDescription.assign(value); }
135 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
152 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
225 inline void SetSourcePhoneNumberArn(
const char* value) { m_sourcePhoneNumberArnHasBeenSet =
true; m_sourcePhoneNumberArn.assign(value); }
233 bool m_phoneNumberIdHasBeenSet =
false;
236 bool m_phoneNumberArnHasBeenSet =
false;
239 bool m_phoneNumberHasBeenSet =
false;
242 bool m_phoneNumberCountryCodeHasBeenSet =
false;
245 bool m_phoneNumberTypeHasBeenSet =
false;
248 bool m_phoneNumberDescriptionHasBeenSet =
false;
251 bool m_targetArnHasBeenSet =
false;
254 bool m_instanceIdHasBeenSet =
false;
257 bool m_tagsHasBeenSet =
false;
260 bool m_phoneNumberStatusHasBeenSet =
false;
263 bool m_sourcePhoneNumberArnHasBeenSet =
false;
void SetSourcePhoneNumberArn(const Aws::String &value)
const Aws::String & GetPhoneNumberId() const
ClaimedPhoneNumberSummary & WithInstanceId(const char *value)
ClaimedPhoneNumberSummary & WithPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
void SetPhoneNumberDescription(Aws::String &&value)
bool PhoneNumberIdHasBeenSet() const
const PhoneNumberCountryCode & GetPhoneNumberCountryCode() const
const Aws::String & GetPhoneNumber() const
ClaimedPhoneNumberSummary & WithPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
void SetTargetArn(Aws::String &&value)
void SetTargetArn(const char *value)
void SetPhoneNumberArn(const char *value)
void SetPhoneNumber(const char *value)
ClaimedPhoneNumberSummary & WithPhoneNumberId(Aws::String &&value)
void SetPhoneNumber(const Aws::String &value)
const Aws::String & GetPhoneNumberDescription() const
void SetSourcePhoneNumberArn(Aws::String &&value)
void SetPhoneNumberArn(const Aws::String &value)
bool SourcePhoneNumberArnHasBeenSet() const
bool PhoneNumberTypeHasBeenSet() const
const Aws::String & GetSourcePhoneNumberArn() const
ClaimedPhoneNumberSummary & WithPhoneNumberDescription(const char *value)
void SetPhoneNumberStatus(const PhoneNumberStatus &value)
bool TargetArnHasBeenSet() const
AWS_CONNECT_API ClaimedPhoneNumberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ClaimedPhoneNumberSummary & WithPhoneNumber(const Aws::String &value)
AWS_CONNECT_API ClaimedPhoneNumberSummary()
const Aws::String & GetInstanceId() const
void SetPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
void SetSourcePhoneNumberArn(const char *value)
void SetInstanceId(const char *value)
const PhoneNumberType & GetPhoneNumberType() const
bool InstanceIdHasBeenSet() const
bool TagsHasBeenSet() const
const PhoneNumberStatus & GetPhoneNumberStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ClaimedPhoneNumberSummary & WithTargetArn(const char *value)
ClaimedPhoneNumberSummary & WithSourcePhoneNumberArn(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetPhoneNumberType(PhoneNumberType &&value)
const Aws::String & GetPhoneNumberArn() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ClaimedPhoneNumberSummary & WithPhoneNumberStatus(const PhoneNumberStatus &value)
ClaimedPhoneNumberSummary & WithPhoneNumber(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
ClaimedPhoneNumberSummary & AddTags(const char *key, const char *value)
ClaimedPhoneNumberSummary & AddTags(Aws::String &&key, const Aws::String &value)
ClaimedPhoneNumberSummary & AddTags(const Aws::String &key, Aws::String &&value)
ClaimedPhoneNumberSummary & WithPhoneNumberId(const char *value)
bool PhoneNumberDescriptionHasBeenSet() const
ClaimedPhoneNumberSummary & WithTargetArn(const Aws::String &value)
ClaimedPhoneNumberSummary & AddTags(Aws::String &&key, Aws::String &&value)
ClaimedPhoneNumberSummary & WithTargetArn(Aws::String &&value)
ClaimedPhoneNumberSummary & WithSourcePhoneNumberArn(const Aws::String &value)
ClaimedPhoneNumberSummary & WithPhoneNumberType(PhoneNumberType &&value)
ClaimedPhoneNumberSummary & AddTags(const Aws::String &key, const Aws::String &value)
bool PhoneNumberHasBeenSet() const
void SetPhoneNumberArn(Aws::String &&value)
void SetPhoneNumberStatus(PhoneNumberStatus &&value)
void SetPhoneNumberId(Aws::String &&value)
ClaimedPhoneNumberSummary & WithPhoneNumber(const char *value)
ClaimedPhoneNumberSummary & WithPhoneNumberArn(const char *value)
bool PhoneNumberArnHasBeenSet() const
void SetPhoneNumberType(const PhoneNumberType &value)
ClaimedPhoneNumberSummary & AddTags(const char *key, Aws::String &&value)
void SetPhoneNumber(Aws::String &&value)
AWS_CONNECT_API ClaimedPhoneNumberSummary(Aws::Utils::Json::JsonView jsonValue)
ClaimedPhoneNumberSummary & WithPhoneNumberId(const Aws::String &value)
const Aws::String & GetTargetArn() const
void SetInstanceId(Aws::String &&value)
ClaimedPhoneNumberSummary & WithPhoneNumberArn(Aws::String &&value)
void SetPhoneNumberId(const Aws::String &value)
void SetPhoneNumberDescription(const char *value)
ClaimedPhoneNumberSummary & WithPhoneNumberType(const PhoneNumberType &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ClaimedPhoneNumberSummary & WithPhoneNumberArn(const Aws::String &value)
ClaimedPhoneNumberSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ClaimedPhoneNumberSummary & WithPhoneNumberDescription(Aws::String &&value)
ClaimedPhoneNumberSummary & WithInstanceId(const Aws::String &value)
ClaimedPhoneNumberSummary & WithPhoneNumberStatus(PhoneNumberStatus &&value)
void SetPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
void SetPhoneNumberDescription(const Aws::String &value)
bool PhoneNumberCountryCodeHasBeenSet() const
ClaimedPhoneNumberSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ClaimedPhoneNumberSummary & WithPhoneNumberDescription(const Aws::String &value)
void SetPhoneNumberId(const char *value)
ClaimedPhoneNumberSummary & WithInstanceId(Aws::String &&value)
ClaimedPhoneNumberSummary & AddTags(Aws::String &&key, const char *value)
void SetTargetArn(const Aws::String &value)
ClaimedPhoneNumberSummary & WithSourcePhoneNumberArn(Aws::String &&value)
bool PhoneNumberStatusHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue