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>
54 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
102 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
115 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
121 bool m_instanceIdHasBeenSet =
false;
124 bool m_phoneNumberTypesHasBeenSet =
false;
127 bool m_phoneNumberCountryCodesHasBeenSet =
false;
130 bool m_nextTokenHasBeenSet =
false;
133 bool m_maxResultsHasBeenSet =
false;
ListPhoneNumbersRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
int GetMaxResults() const
const Aws::Vector< PhoneNumberCountryCode > & GetPhoneNumberCountryCodes() const
void SetNextToken(const char *value)
void SetNextToken(Aws::String &&value)
ListPhoneNumbersRequest & WithNextToken(const Aws::String &value)
void SetPhoneNumberCountryCodes(const Aws::Vector< PhoneNumberCountryCode > &value)
AWS_CONNECT_API ListPhoneNumbersRequest()
AWS_CONNECT_API Aws::String SerializePayload() const override
bool PhoneNumberCountryCodesHasBeenSet() const
void SetPhoneNumberTypes(Aws::Vector< PhoneNumberType > &&value)
const Aws::String & GetInstanceId() const
void SetPhoneNumberCountryCodes(Aws::Vector< PhoneNumberCountryCode > &&value)
ListPhoneNumbersRequest & WithInstanceId(const char *value)
ListPhoneNumbersRequest & WithMaxResults(int value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListPhoneNumbersRequest & WithPhoneNumberTypes(const Aws::Vector< PhoneNumberType > &value)
ListPhoneNumbersRequest & AddPhoneNumberTypes(const PhoneNumberType &value)
const Aws::Vector< PhoneNumberType > & GetPhoneNumberTypes() const
bool InstanceIdHasBeenSet() const
bool NextTokenHasBeenSet() const
ListPhoneNumbersRequest & AddPhoneNumberCountryCodes(const PhoneNumberCountryCode &value)
void SetPhoneNumberTypes(const Aws::Vector< PhoneNumberType > &value)
ListPhoneNumbersRequest & AddPhoneNumberTypes(PhoneNumberType &&value)
ListPhoneNumbersRequest & WithInstanceId(Aws::String &&value)
ListPhoneNumbersRequest & WithPhoneNumberTypes(Aws::Vector< PhoneNumberType > &&value)
void SetInstanceId(Aws::String &&value)
const Aws::String & GetNextToken() const
ListPhoneNumbersRequest & WithInstanceId(const Aws::String &value)
ListPhoneNumbersRequest & WithPhoneNumberCountryCodes(Aws::Vector< PhoneNumberCountryCode > &&value)
ListPhoneNumbersRequest & AddPhoneNumberCountryCodes(PhoneNumberCountryCode &&value)
bool PhoneNumberTypesHasBeenSet() const
ListPhoneNumbersRequest & WithPhoneNumberCountryCodes(const Aws::Vector< PhoneNumberCountryCode > &value)
void SetNextToken(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
void SetInstanceId(const char *value)
void SetMaxResults(int value)
bool MaxResultsHasBeenSet() const
ListPhoneNumbersRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector