7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/migrationhubstrategy/model/ServerCriteria.h>
12#include <aws/migrationhubstrategy/model/SortOrder.h>
13#include <aws/migrationhubstrategy/model/Group.h>
18namespace MigrationHubStrategyRecommendations
51 inline void SetFilterValue(
const char* value) { m_filterValueHasBeenSet =
true; m_filterValue.assign(value); }
78 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
94 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
120 inline void SetSort(
SortOrder&& value) { m_sortHasBeenSet =
true; m_sort = std::move(value); }
127 bool m_filterValueHasBeenSet =
false;
130 bool m_groupIdFilterHasBeenSet =
false;
133 bool m_maxResultsHasBeenSet =
false;
136 bool m_nextTokenHasBeenSet =
false;
139 bool m_serverCriteriaHasBeenSet =
false;
142 bool m_sortHasBeenSet =
false;
ListServersRequest & WithGroupIdFilter(Aws::Vector< Group > &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
ListServersRequest & WithNextToken(Aws::String &&value)
ListServersRequest & WithFilterValue(const Aws::String &value)
ListServersRequest & WithFilterValue(Aws::String &&value)
bool FilterValueHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ListServersRequest()
void SetFilterValue(const char *value)
void SetServerCriteria(ServerCriteria &&value)
ListServersRequest & AddGroupIdFilter(const Group &value)
const Aws::String & GetNextToken() const
void SetNextToken(const char *value)
ListServersRequest & WithMaxResults(int value)
const Aws::Vector< Group > & GetGroupIdFilter() const
ListServersRequest & WithServerCriteria(const ServerCriteria &value)
void SetSort(SortOrder &&value)
ListServersRequest & WithSort(SortOrder &&value)
void SetFilterValue(const Aws::String &value)
const Aws::String & GetFilterValue() const
void SetNextToken(const Aws::String &value)
void SetNextToken(Aws::String &&value)
void SetSort(const SortOrder &value)
ListServersRequest & WithGroupIdFilter(const Aws::Vector< Group > &value)
bool MaxResultsHasBeenSet() const
void SetMaxResults(int value)
void SetServerCriteria(const ServerCriteria &value)
bool ServerCriteriaHasBeenSet() const
ListServersRequest & WithFilterValue(const char *value)
int GetMaxResults() const
ListServersRequest & WithServerCriteria(ServerCriteria &&value)
bool SortHasBeenSet() const
void SetGroupIdFilter(const Aws::Vector< Group > &value)
ListServersRequest & AddGroupIdFilter(Group &&value)
ListServersRequest & WithSort(const SortOrder &value)
virtual const char * GetServiceRequestName() const override
bool GroupIdFilterHasBeenSet() const
ListServersRequest & WithNextToken(const char *value)
void SetFilterValue(Aws::String &&value)
bool NextTokenHasBeenSet() const
const ServerCriteria & GetServerCriteria() const
const SortOrder & GetSort() const
void SetGroupIdFilter(Aws::Vector< Group > &&value)
ListServersRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector