7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/PhoneNumberType.h>
50 inline void SetAreaCode(
const char* value) { m_areaCodeHasBeenSet =
true; m_areaCode.assign(value); }
64 inline void SetCity(
const char* value) { m_cityHasBeenSet =
true; m_city.assign(value); }
79 inline void SetCountry(
const char* value) { m_countryHasBeenSet =
true; m_country.assign(value); }
94 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
109 inline void SetTollFreePrefix(
const char* value) { m_tollFreePrefixHasBeenSet =
true; m_tollFreePrefix.assign(value); }
134 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
146 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
154 bool m_areaCodeHasBeenSet =
false;
157 bool m_cityHasBeenSet =
false;
160 bool m_countryHasBeenSet =
false;
163 bool m_stateHasBeenSet =
false;
166 bool m_tollFreePrefixHasBeenSet =
false;
169 bool m_phoneNumberTypeHasBeenSet =
false;
172 bool m_maxResultsHasBeenSet =
false;
175 bool m_nextTokenHasBeenSet =
false;
void SetTollFreePrefix(const Aws::String &value)
void SetAreaCode(const char *value)
void SetState(const Aws::String &value)
const Aws::String & GetCity() const
SearchAvailablePhoneNumbersRequest & WithState(const Aws::String &value)
AWS_CHIME_API SearchAvailablePhoneNumbersRequest()
bool NextTokenHasBeenSet() const
void SetCity(Aws::String &&value)
bool StateHasBeenSet() const
SearchAvailablePhoneNumbersRequest & WithCity(const Aws::String &value)
void SetMaxResults(int value)
void SetAreaCode(Aws::String &&value)
void SetAreaCode(const Aws::String &value)
SearchAvailablePhoneNumbersRequest & WithState(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithCountry(const char *value)
SearchAvailablePhoneNumbersRequest & WithCity(const char *value)
void SetPhoneNumberType(const PhoneNumberType &value)
SearchAvailablePhoneNumbersRequest & WithPhoneNumberType(const PhoneNumberType &value)
void SetTollFreePrefix(const char *value)
void SetCountry(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithTollFreePrefix(const char *value)
void SetState(const char *value)
SearchAvailablePhoneNumbersRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
void SetCity(const char *value)
bool MaxResultsHasBeenSet() const
SearchAvailablePhoneNumbersRequest & WithNextToken(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithCountry(Aws::String &&value)
bool AreaCodeHasBeenSet() const
const Aws::String & GetTollFreePrefix() const
void SetNextToken(const Aws::String &value)
const Aws::String & GetAreaCode() const
bool CityHasBeenSet() const
SearchAvailablePhoneNumbersRequest & WithCountry(const Aws::String &value)
SearchAvailablePhoneNumbersRequest & WithAreaCode(const char *value)
SearchAvailablePhoneNumbersRequest & WithState(const char *value)
void SetPhoneNumberType(PhoneNumberType &&value)
SearchAvailablePhoneNumbersRequest & WithNextToken(const Aws::String &value)
const Aws::String & GetState() const
SearchAvailablePhoneNumbersRequest & WithAreaCode(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithAreaCode(const Aws::String &value)
void SetCountry(const char *value)
const Aws::String & GetCountry() const
bool PhoneNumberTypeHasBeenSet() const
void SetCity(const Aws::String &value)
SearchAvailablePhoneNumbersRequest & WithTollFreePrefix(const Aws::String &value)
SearchAvailablePhoneNumbersRequest & WithTollFreePrefix(Aws::String &&value)
AWS_CHIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool CountryHasBeenSet() const
AWS_CHIME_API Aws::String SerializePayload() const override
void SetState(Aws::String &&value)
void SetNextToken(const char *value)
SearchAvailablePhoneNumbersRequest & WithPhoneNumberType(PhoneNumberType &&value)
const PhoneNumberType & GetPhoneNumberType() const
void SetTollFreePrefix(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithNextToken(const char *value)
const Aws::String & GetNextToken() const
bool TollFreePrefixHasBeenSet() const
void SetCountry(const Aws::String &value)
void SetNextToken(Aws::String &&value)
SearchAvailablePhoneNumbersRequest & WithCity(Aws::String &&value)
int GetMaxResults() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String