7#include <aws/chime/ChimeRequest.h>
8#include <aws/chime/Chime_EXPORTS.h>
9#include <aws/chime/model/PhoneNumberType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename AreaCodeT = Aws::String>
45 m_areaCodeHasBeenSet =
true;
46 m_areaCode = std::forward<AreaCodeT>(value);
48 template <
typename AreaCodeT = Aws::String>
61 template <
typename CityT = Aws::String>
63 m_cityHasBeenSet =
true;
64 m_city = std::forward<CityT>(value);
66 template <
typename CityT = Aws::String>
68 SetCity(std::forward<CityT>(value));
80 template <
typename CountryT = Aws::String>
82 m_countryHasBeenSet =
true;
83 m_country = std::forward<CountryT>(value);
85 template <
typename CountryT = Aws::String>
99 template <
typename StateT = Aws::String>
101 m_stateHasBeenSet =
true;
102 m_state = std::forward<StateT>(value);
104 template <
typename StateT = Aws::String>
106 SetState(std::forward<StateT>(value));
118 template <
typename TollFreePrefixT = Aws::String>
120 m_tollFreePrefixHasBeenSet =
true;
121 m_tollFreePrefix = std::forward<TollFreePrefixT>(value);
123 template <
typename TollFreePrefixT = Aws::String>
138 m_phoneNumberTypeHasBeenSet =
true;
139 m_phoneNumberType = value;
154 m_maxResultsHasBeenSet =
true;
155 m_maxResults = value;
169 template <
typename NextTokenT = Aws::String>
171 m_nextTokenHasBeenSet =
true;
172 m_nextToken = std::forward<NextTokenT>(value);
174 template <
typename NextTokenT = Aws::String>
196 bool m_areaCodeHasBeenSet =
false;
197 bool m_cityHasBeenSet =
false;
198 bool m_countryHasBeenSet =
false;
199 bool m_stateHasBeenSet =
false;
200 bool m_tollFreePrefixHasBeenSet =
false;
201 bool m_phoneNumberTypeHasBeenSet =
false;
202 bool m_maxResultsHasBeenSet =
false;
203 bool m_nextTokenHasBeenSet =
false;
const Aws::String & GetCity() const
bool NextTokenHasBeenSet() const
SearchAvailablePhoneNumbersRequest & WithState(StateT &&value)
bool StateHasBeenSet() const
void SetCity(CityT &&value)
void SetMaxResults(int value)
PhoneNumberType GetPhoneNumberType() const
SearchAvailablePhoneNumbersRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
void SetCountry(CountryT &&value)
bool MaxResultsHasBeenSet() const
SearchAvailablePhoneNumbersRequest & WithCity(CityT &&value)
bool AreaCodeHasBeenSet() const
const Aws::String & GetTollFreePrefix() const
const Aws::String & GetAreaCode() const
SearchAvailablePhoneNumbersRequest & WithAreaCode(AreaCodeT &&value)
AWS_CHIME_API SearchAvailablePhoneNumbersRequest()=default
bool CityHasBeenSet() const
void SetAreaCode(AreaCodeT &&value)
void SetState(StateT &&value)
const Aws::String & GetState() const
const Aws::String & GetCountry() const
bool PhoneNumberTypeHasBeenSet() const
AWS_CHIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
SearchAvailablePhoneNumbersRequest & WithTollFreePrefix(TollFreePrefixT &&value)
bool CountryHasBeenSet() const
AWS_CHIME_API Aws::String SerializePayload() const override
SearchAvailablePhoneNumbersRequest & WithPhoneNumberType(PhoneNumberType value)
void SetPhoneNumberType(PhoneNumberType value)
SearchAvailablePhoneNumbersRequest & WithCountry(CountryT &&value)
const Aws::String & GetNextToken() const
SearchAvailablePhoneNumbersRequest & WithNextToken(NextTokenT &&value)
bool TollFreePrefixHasBeenSet() const
void SetNextToken(NextTokenT &&value)
void SetTollFreePrefix(TollFreePrefixT &&value)
int GetMaxResults() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String