7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/PhoneNumberCountryCode.h>
10#include <aws/connect/model/PhoneNumberType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename TargetArnT = Aws::String>
43 m_targetArnHasBeenSet =
true;
44 m_targetArn = std::forward<TargetArnT>(value);
46 template <
typename TargetArnT = Aws::String>
63 template <
typename InstanceIdT = Aws::String>
65 m_instanceIdHasBeenSet =
true;
66 m_instanceId = std::forward<InstanceIdT>(value);
68 template <
typename InstanceIdT = Aws::String>
82 m_phoneNumberCountryCodeHasBeenSet =
true;
83 m_phoneNumberCountryCode = value;
98 m_phoneNumberTypeHasBeenSet =
true;
99 m_phoneNumberType = value;
114 template <
typename PhoneNumberPrefixT = Aws::String>
116 m_phoneNumberPrefixHasBeenSet =
true;
117 m_phoneNumberPrefix = std::forward<PhoneNumberPrefixT>(value);
119 template <
typename PhoneNumberPrefixT = Aws::String>
133 m_maxResultsHasBeenSet =
true;
134 m_maxResults = value;
149 template <
typename NextTokenT = Aws::String>
151 m_nextTokenHasBeenSet =
true;
152 m_nextToken = std::forward<NextTokenT>(value);
154 template <
typename NextTokenT = Aws::String>
174 bool m_targetArnHasBeenSet =
false;
175 bool m_instanceIdHasBeenSet =
false;
176 bool m_phoneNumberCountryCodeHasBeenSet =
false;
177 bool m_phoneNumberTypeHasBeenSet =
false;
178 bool m_phoneNumberPrefixHasBeenSet =
false;
179 bool m_maxResultsHasBeenSet =
false;
180 bool m_nextTokenHasBeenSet =
false;
bool InstanceIdHasBeenSet() const
void SetPhoneNumberPrefix(PhoneNumberPrefixT &&value)
SearchAvailablePhoneNumbersRequest & WithMaxResults(int value)
SearchAvailablePhoneNumbersRequest & WithPhoneNumberPrefix(PhoneNumberPrefixT &&value)
void SetTargetArn(TargetArnT &&value)
AWS_CONNECT_API SearchAvailablePhoneNumbersRequest()=default
SearchAvailablePhoneNumbersRequest & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetPhoneNumberPrefix() const
bool NextTokenHasBeenSet() const
PhoneNumberType GetPhoneNumberType() const
void SetNextToken(NextTokenT &&value)
void SetPhoneNumberCountryCode(PhoneNumberCountryCode value)
void SetMaxResults(int value)
bool TargetArnHasBeenSet() const
bool MaxResultsHasBeenSet() const
SearchAvailablePhoneNumbersRequest & WithPhoneNumberType(PhoneNumberType value)
virtual const char * GetServiceRequestName() const override
PhoneNumberCountryCode GetPhoneNumberCountryCode() const
const Aws::String & GetNextToken() const
bool PhoneNumberTypeHasBeenSet() const
void SetPhoneNumberType(PhoneNumberType value)
const Aws::String & GetTargetArn() const
const Aws::String & GetInstanceId() const
bool PhoneNumberPrefixHasBeenSet() const
bool PhoneNumberCountryCodeHasBeenSet() const
AWS_CONNECT_API Aws::String SerializePayload() const override
SearchAvailablePhoneNumbersRequest & WithNextToken(NextTokenT &&value)
void SetInstanceId(InstanceIdT &&value)
int GetMaxResults() const
SearchAvailablePhoneNumbersRequest & WithPhoneNumberCountryCode(PhoneNumberCountryCode value)
SearchAvailablePhoneNumbersRequest & WithTargetArn(TargetArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String