7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/PhoneNumberCountryCode.h>
11#include <aws/connect/model/PhoneNumberType.h>
45 template<
typename TargetArnT = Aws::String>
46 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
47 template<
typename TargetArnT = Aws::String>
61 template<
typename InstanceIdT = Aws::String>
62 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
63 template<
typename InstanceIdT = Aws::String>
94 template<
typename PhoneNumberPrefixT = Aws::String>
95 void SetPhoneNumberPrefix(PhoneNumberPrefixT&& value) { m_phoneNumberPrefixHasBeenSet =
true; m_phoneNumberPrefix = std::forward<PhoneNumberPrefixT>(value); }
96 template<
typename PhoneNumberPrefixT = Aws::String>
106 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
117 template<
typename NextTokenT = Aws::String>
118 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
119 template<
typename NextTokenT = Aws::String>
125 bool m_targetArnHasBeenSet =
false;
128 bool m_instanceIdHasBeenSet =
false;
131 bool m_phoneNumberCountryCodeHasBeenSet =
false;
134 bool m_phoneNumberTypeHasBeenSet =
false;
137 bool m_phoneNumberPrefixHasBeenSet =
false;
140 bool m_maxResultsHasBeenSet =
false;
143 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