7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/SupplyChainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/supplychain/model/InstanceState.h>
54 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
67 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
102 bool m_nextTokenHasBeenSet =
false;
105 bool m_maxResultsHasBeenSet =
false;
108 bool m_instanceNameFilterHasBeenSet =
false;
111 bool m_instanceStateFilterHasBeenSet =
false;
ListInstancesRequest & WithInstanceStateFilter(Aws::Vector< InstanceState > &&value)
void SetInstanceStateFilter(Aws::Vector< InstanceState > &&value)
ListInstancesRequest & WithNextToken(Aws::String &&value)
ListInstancesRequest & WithInstanceNameFilter(Aws::Vector< Aws::String > &&value)
ListInstancesRequest & WithMaxResults(int value)
AWS_SUPPLYCHAIN_API ListInstancesRequest()
bool NextTokenHasBeenSet() const
ListInstancesRequest & AddInstanceStateFilter(InstanceState &&value)
void SetMaxResults(int value)
ListInstancesRequest & WithInstanceStateFilter(const Aws::Vector< InstanceState > &value)
bool InstanceNameFilterHasBeenSet() const
bool MaxResultsHasBeenSet() const
ListInstancesRequest & WithInstanceNameFilter(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetInstanceNameFilter() const
void SetNextToken(const char *value)
ListInstancesRequest & AddInstanceStateFilter(const InstanceState &value)
void SetNextToken(const Aws::String &value)
ListInstancesRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
void SetInstanceNameFilter(const Aws::Vector< Aws::String > &value)
void SetNextToken(Aws::String &&value)
const Aws::String & GetNextToken() const
AWS_SUPPLYCHAIN_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool InstanceStateFilterHasBeenSet() const
ListInstancesRequest & AddInstanceNameFilter(const Aws::String &value)
ListInstancesRequest & AddInstanceNameFilter(const char *value)
void SetInstanceStateFilter(const Aws::Vector< InstanceState > &value)
ListInstancesRequest & WithNextToken(const Aws::String &value)
ListInstancesRequest & AddInstanceNameFilter(Aws::String &&value)
const Aws::Vector< InstanceState > & GetInstanceStateFilter() const
int GetMaxResults() const
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
void SetInstanceNameFilter(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector