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>
47 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
65 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
104 inline void SetPhoneNumberPrefix(
const char* value) { m_phoneNumberPrefixHasBeenSet =
true; m_phoneNumberPrefix.assign(value); }
116 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
129 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
137 bool m_targetArnHasBeenSet =
false;
140 bool m_instanceIdHasBeenSet =
false;
143 bool m_phoneNumberCountryCodeHasBeenSet =
false;
146 bool m_phoneNumberTypeHasBeenSet =
false;
149 bool m_phoneNumberPrefixHasBeenSet =
false;
152 bool m_maxResultsHasBeenSet =
false;
155 bool m_nextTokenHasBeenSet =
false;
SearchAvailablePhoneNumbersRequest & WithPhoneNumberType(const PhoneNumberType &value)
bool InstanceIdHasBeenSet() const
SearchAvailablePhoneNumbersRequest & WithTargetArn(const Aws::String &value)
SearchAvailablePhoneNumbersRequest & WithMaxResults(int value)
void SetPhoneNumberType(PhoneNumberType &&value)
SearchAvailablePhoneNumbersRequest & WithNextToken(const char *value)
void SetPhoneNumberPrefix(Aws::String &&value)
const Aws::String & GetPhoneNumberPrefix() const
bool NextTokenHasBeenSet() const
void SetNextToken(Aws::String &&value)
const PhoneNumberCountryCode & GetPhoneNumberCountryCode() const
void SetInstanceId(const char *value)
void SetMaxResults(int value)
SearchAvailablePhoneNumbersRequest & WithInstanceId(const char *value)
bool TargetArnHasBeenSet() const
SearchAvailablePhoneNumbersRequest & WithPhoneNumberPrefix(Aws::String &&value)
bool MaxResultsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
SearchAvailablePhoneNumbersRequest & WithPhoneNumberPrefix(const Aws::String &value)
SearchAvailablePhoneNumbersRequest & WithTargetArn(const char *value)
SearchAvailablePhoneNumbersRequest & WithInstanceId(const Aws::String &value)
const Aws::String & GetNextToken() const
SearchAvailablePhoneNumbersRequest & WithNextToken(const Aws::String &value)
bool PhoneNumberTypeHasBeenSet() const
void SetInstanceId(const Aws::String &value)
void SetPhoneNumberPrefix(const Aws::String &value)
const Aws::String & GetTargetArn() const
SearchAvailablePhoneNumbersRequest & WithPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
SearchAvailablePhoneNumbersRequest & WithNextToken(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithInstanceId(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithTargetArn(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithPhoneNumberPrefix(const char *value)
SearchAvailablePhoneNumbersRequest & WithPhoneNumberType(PhoneNumberType &&value)
const Aws::String & GetInstanceId() const
bool PhoneNumberPrefixHasBeenSet() const
bool PhoneNumberCountryCodeHasBeenSet() const
void SetInstanceId(Aws::String &&value)
void SetTargetArn(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetPhoneNumberPrefix(const char *value)
AWS_CONNECT_API SearchAvailablePhoneNumbersRequest()
void SetNextToken(const char *value)
int GetMaxResults() const
const PhoneNumberType & GetPhoneNumberType() const
void SetPhoneNumberType(const PhoneNumberType &value)
void SetTargetArn(const Aws::String &value)
void SetPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
void SetNextToken(const Aws::String &value)
void SetTargetArn(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String