7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/PhoneNumberCountryCode.h>
9#include <aws/connect/model/PhoneNumberStatus.h>
10#include <aws/connect/model/PhoneNumberType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
45 template <
typename PhoneNumberIdT = Aws::String>
47 m_phoneNumberIdHasBeenSet =
true;
48 m_phoneNumberId = std::forward<PhoneNumberIdT>(value);
50 template <
typename PhoneNumberIdT = Aws::String>
63 template <
typename PhoneNumberArnT = Aws::String>
65 m_phoneNumberArnHasBeenSet =
true;
66 m_phoneNumberArn = std::forward<PhoneNumberArnT>(value);
68 template <
typename PhoneNumberArnT = Aws::String>
82 template <
typename PhoneNumberT = Aws::String>
84 m_phoneNumberHasBeenSet =
true;
85 m_phoneNumber = std::forward<PhoneNumberT>(value);
87 template <
typename PhoneNumberT = Aws::String>
101 m_phoneNumberCountryCodeHasBeenSet =
true;
102 m_phoneNumberCountryCode = value;
117 m_phoneNumberTypeHasBeenSet =
true;
118 m_phoneNumberType = value;
132 template <
typename PhoneNumberDescriptionT = Aws::String>
134 m_phoneNumberDescriptionHasBeenSet =
true;
135 m_phoneNumberDescription = std::forward<PhoneNumberDescriptionT>(value);
137 template <
typename PhoneNumberDescriptionT = Aws::String>
151 template <
typename TargetArnT = Aws::String>
153 m_targetArnHasBeenSet =
true;
154 m_targetArn = std::forward<TargetArnT>(value);
156 template <
typename TargetArnT = Aws::String>
172 template <
typename InstanceIdT = Aws::String>
174 m_instanceIdHasBeenSet =
true;
175 m_instanceId = std::forward<InstanceIdT>(value);
177 template <
typename InstanceIdT = Aws::String>
191 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 m_tagsHasBeenSet =
true;
194 m_tags = std::forward<TagsT>(value);
196 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 SetTags(std::forward<TagsT>(value));
201 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
203 m_tagsHasBeenSet =
true;
204 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
240 template <
typename PhoneNumberStatusT = PhoneNumberStatus>
242 m_phoneNumberStatusHasBeenSet =
true;
243 m_phoneNumberStatus = std::forward<PhoneNumberStatusT>(value);
245 template <
typename PhoneNumberStatusT = PhoneNumberStatus>
261 template <
typename SourcePhoneNumberArnT = Aws::String>
263 m_sourcePhoneNumberArnHasBeenSet =
true;
264 m_sourcePhoneNumberArn = std::forward<SourcePhoneNumberArnT>(value);
266 template <
typename SourcePhoneNumberArnT = Aws::String>
291 PhoneNumberStatus m_phoneNumberStatus;
294 bool m_phoneNumberIdHasBeenSet =
false;
295 bool m_phoneNumberArnHasBeenSet =
false;
296 bool m_phoneNumberHasBeenSet =
false;
297 bool m_phoneNumberCountryCodeHasBeenSet =
false;
298 bool m_phoneNumberTypeHasBeenSet =
false;
299 bool m_phoneNumberDescriptionHasBeenSet =
false;
300 bool m_targetArnHasBeenSet =
false;
301 bool m_instanceIdHasBeenSet =
false;
302 bool m_tagsHasBeenSet =
false;
303 bool m_phoneNumberStatusHasBeenSet =
false;
304 bool m_sourcePhoneNumberArnHasBeenSet =
false;
ClaimedPhoneNumberSummary & WithPhoneNumberArn(PhoneNumberArnT &&value)
ClaimedPhoneNumberSummary & WithPhoneNumber(PhoneNumberT &&value)
const Aws::String & GetPhoneNumberId() const
bool PhoneNumberIdHasBeenSet() const
const Aws::String & GetPhoneNumber() const
void SetSourcePhoneNumberArn(SourcePhoneNumberArnT &&value)
AWS_CONNECT_API ClaimedPhoneNumberSummary()=default
PhoneNumberType GetPhoneNumberType() const
ClaimedPhoneNumberSummary & WithPhoneNumberDescription(PhoneNumberDescriptionT &&value)
ClaimedPhoneNumberSummary & WithPhoneNumberStatus(PhoneNumberStatusT &&value)
const Aws::String & GetPhoneNumberDescription() const
PhoneNumberCountryCode GetPhoneNumberCountryCode() const
ClaimedPhoneNumberSummary & WithTargetArn(TargetArnT &&value)
void SetPhoneNumberArn(PhoneNumberArnT &&value)
void SetPhoneNumberCountryCode(PhoneNumberCountryCode value)
bool SourcePhoneNumberArnHasBeenSet() const
bool PhoneNumberTypeHasBeenSet() const
const Aws::String & GetSourcePhoneNumberArn() const
bool TargetArnHasBeenSet() const
ClaimedPhoneNumberSummary & WithTags(TagsT &&value)
AWS_CONNECT_API ClaimedPhoneNumberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceId() const
ClaimedPhoneNumberSummary & WithPhoneNumberCountryCode(PhoneNumberCountryCode value)
void SetInstanceId(InstanceIdT &&value)
void SetPhoneNumberStatus(PhoneNumberStatusT &&value)
bool InstanceIdHasBeenSet() const
bool TagsHasBeenSet() const
ClaimedPhoneNumberSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
const PhoneNumberStatus & GetPhoneNumberStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetPhoneNumberType(PhoneNumberType value)
ClaimedPhoneNumberSummary & WithPhoneNumberType(PhoneNumberType value)
const Aws::String & GetPhoneNumberArn() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PhoneNumberDescriptionHasBeenSet() const
void SetTags(TagsT &&value)
bool PhoneNumberHasBeenSet() const
void SetPhoneNumber(PhoneNumberT &&value)
void SetTargetArn(TargetArnT &&value)
bool PhoneNumberArnHasBeenSet() const
ClaimedPhoneNumberSummary & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API ClaimedPhoneNumberSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetArn() const
ClaimedPhoneNumberSummary & WithPhoneNumberId(PhoneNumberIdT &&value)
void SetPhoneNumberDescription(PhoneNumberDescriptionT &&value)
void SetPhoneNumberId(PhoneNumberIdT &&value)
bool PhoneNumberCountryCodeHasBeenSet() const
ClaimedPhoneNumberSummary & WithSourcePhoneNumberArn(SourcePhoneNumberArnT &&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