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>
51 template<
typename PhoneNumberIdT = Aws::String>
52 void SetPhoneNumberId(PhoneNumberIdT&& value) { m_phoneNumberIdHasBeenSet =
true; m_phoneNumberId = std::forward<PhoneNumberIdT>(value); }
53 template<
typename PhoneNumberIdT = Aws::String>
63 template<
typename PhoneNumberArnT = Aws::String>
64 void SetPhoneNumberArn(PhoneNumberArnT&& value) { m_phoneNumberArnHasBeenSet =
true; m_phoneNumberArn = std::forward<PhoneNumberArnT>(value); }
65 template<
typename PhoneNumberArnT = Aws::String>
76 template<
typename PhoneNumberT = Aws::String>
77 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet =
true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
78 template<
typename PhoneNumberT = Aws::String>
108 template<
typename PhoneNumberDescriptionT = Aws::String>
109 void SetPhoneNumberDescription(PhoneNumberDescriptionT&& value) { m_phoneNumberDescriptionHasBeenSet =
true; m_phoneNumberDescription = std::forward<PhoneNumberDescriptionT>(value); }
110 template<
typename PhoneNumberDescriptionT = Aws::String>
121 template<
typename TargetArnT = Aws::String>
122 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
123 template<
typename TargetArnT = Aws::String>
136 template<
typename InstanceIdT = Aws::String>
137 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
138 template<
typename InstanceIdT = Aws::String>
149 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
151 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
155 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
190 template<
typename PhoneNumberStatusT = PhoneNumberStatus>
191 void SetPhoneNumberStatus(PhoneNumberStatusT&& value) { m_phoneNumberStatusHasBeenSet =
true; m_phoneNumberStatus = std::forward<PhoneNumberStatusT>(value); }
192 template<
typename PhoneNumberStatusT = PhoneNumberStatus>
205 template<
typename SourcePhoneNumberArnT = Aws::String>
206 void SetSourcePhoneNumberArn(SourcePhoneNumberArnT&& value) { m_sourcePhoneNumberArnHasBeenSet =
true; m_sourcePhoneNumberArn = std::forward<SourcePhoneNumberArnT>(value); }
207 template<
typename SourcePhoneNumberArnT = Aws::String>
213 bool m_phoneNumberIdHasBeenSet =
false;
216 bool m_phoneNumberArnHasBeenSet =
false;
219 bool m_phoneNumberHasBeenSet =
false;
222 bool m_phoneNumberCountryCodeHasBeenSet =
false;
225 bool m_phoneNumberTypeHasBeenSet =
false;
228 bool m_phoneNumberDescriptionHasBeenSet =
false;
231 bool m_targetArnHasBeenSet =
false;
234 bool m_instanceIdHasBeenSet =
false;
237 bool m_tagsHasBeenSet =
false;
239 PhoneNumberStatus m_phoneNumberStatus;
240 bool m_phoneNumberStatusHasBeenSet =
false;
243 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