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>
48 template<
typename AreaCodeT = Aws::String>
49 void SetAreaCode(AreaCodeT&& value) { m_areaCodeHasBeenSet =
true; m_areaCode = std::forward<AreaCodeT>(value); }
50 template<
typename AreaCodeT = Aws::String>
60 template<
typename CityT = Aws::String>
61 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
62 template<
typename CityT = Aws::String>
73 template<
typename CountryT = Aws::String>
74 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
75 template<
typename CountryT = Aws::String>
86 template<
typename StateT = Aws::String>
87 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
88 template<
typename StateT = Aws::String>
99 template<
typename TollFreePrefixT = Aws::String>
100 void SetTollFreePrefix(TollFreePrefixT&& value) { m_tollFreePrefixHasBeenSet =
true; m_tollFreePrefix = std::forward<TollFreePrefixT>(value); }
101 template<
typename TollFreePrefixT = Aws::String>
122 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
132 template<
typename NextTokenT = Aws::String>
133 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
134 template<
typename NextTokenT = Aws::String>
140 bool m_areaCodeHasBeenSet =
false;
143 bool m_cityHasBeenSet =
false;
146 bool m_countryHasBeenSet =
false;
149 bool m_stateHasBeenSet =
false;
152 bool m_tollFreePrefixHasBeenSet =
false;
155 bool m_phoneNumberTypeHasBeenSet =
false;
158 bool m_maxResultsHasBeenSet =
false;
161 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