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/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/PhoneNumberType.h>
12#include <aws/connect/model/PhoneNumberCountryCode.h>
52 template<
typename InstanceIdT = Aws::String>
53 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
54 template<
typename InstanceIdT = Aws::String>
69 template<
typename PhoneNumberTypesT = Aws::Vector<PhoneNumberType>>
70 void SetPhoneNumberTypes(PhoneNumberTypesT&& value) { m_phoneNumberTypesHasBeenSet =
true; m_phoneNumberTypes = std::forward<PhoneNumberTypesT>(value); }
71 template<
typename PhoneNumberTypesT = Aws::Vector<PhoneNumberType>>
82 template<
typename PhoneNumberCountryCodesT = Aws::Vector<PhoneNumberCountryCode>>
83 void SetPhoneNumberCountryCodes(PhoneNumberCountryCodesT&& value) { m_phoneNumberCountryCodesHasBeenSet =
true; m_phoneNumberCountryCodes = std::forward<PhoneNumberCountryCodesT>(value); }
84 template<
typename PhoneNumberCountryCodesT = Aws::Vector<PhoneNumberCountryCode>>
96 template<
typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
98 template<
typename NextTokenT = Aws::String>
109 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
115 bool m_instanceIdHasBeenSet =
false;
118 bool m_phoneNumberTypesHasBeenSet =
false;
121 bool m_phoneNumberCountryCodesHasBeenSet =
false;
124 bool m_nextTokenHasBeenSet =
false;
127 bool m_maxResultsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
void SetNextToken(NextTokenT &&value)
int GetMaxResults() const
const Aws::Vector< PhoneNumberCountryCode > & GetPhoneNumberCountryCodes() const
ListPhoneNumbersRequest & WithPhoneNumberCountryCodes(PhoneNumberCountryCodesT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
bool PhoneNumberCountryCodesHasBeenSet() const
const Aws::String & GetInstanceId() const
ListPhoneNumbersRequest & WithNextToken(NextTokenT &&value)
AWS_CONNECT_API ListPhoneNumbersRequest()=default
ListPhoneNumbersRequest & WithInstanceId(InstanceIdT &&value)
ListPhoneNumbersRequest & WithMaxResults(int value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListPhoneNumbersRequest & AddPhoneNumberCountryCodes(PhoneNumberCountryCode value)
const Aws::Vector< PhoneNumberType > & GetPhoneNumberTypes() const
void SetInstanceId(InstanceIdT &&value)
bool InstanceIdHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetPhoneNumberTypes(PhoneNumberTypesT &&value)
const Aws::String & GetNextToken() const
ListPhoneNumbersRequest & WithPhoneNumberTypes(PhoneNumberTypesT &&value)
ListPhoneNumbersRequest & AddPhoneNumberTypes(PhoneNumberType value)
void SetPhoneNumberCountryCodes(PhoneNumberCountryCodesT &&value)
bool PhoneNumberTypesHasBeenSet() const
void SetMaxResults(int value)
bool MaxResultsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector