7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/MainframeModernizationRequest.h>
9#include <aws/m2/model/EngineType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
20namespace MainframeModernization
61 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
89 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
97 bool m_engineTypeHasBeenSet =
false;
100 bool m_maxResultsHasBeenSet =
false;
103 bool m_namesHasBeenSet =
false;
106 bool m_nextTokenHasBeenSet =
false;
void SetNextToken(const char *value)
AWS_MAINFRAMEMODERNIZATION_API ListEnvironmentsRequest()
AWS_MAINFRAMEMODERNIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool EngineTypeHasBeenSet() const
ListEnvironmentsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListEnvironmentsRequest & WithEngineType(const EngineType &value)
int GetMaxResults() const
ListEnvironmentsRequest & WithNextToken(Aws::String &&value)
void SetNames(Aws::Vector< Aws::String > &&value)
void SetNextToken(Aws::String &&value)
const Aws::String & GetNextToken() const
ListEnvironmentsRequest & WithMaxResults(int value)
bool MaxResultsHasBeenSet() const
const Aws::Vector< Aws::String > & GetNames() const
ListEnvironmentsRequest & AddNames(const char *value)
void SetEngineType(EngineType &&value)
void SetMaxResults(int value)
ListEnvironmentsRequest & WithNames(Aws::Vector< Aws::String > &&value)
ListEnvironmentsRequest & WithEngineType(EngineType &&value)
ListEnvironmentsRequest & AddNames(const Aws::String &value)
ListEnvironmentsRequest & WithNames(const Aws::Vector< Aws::String > &value)
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
const EngineType & GetEngineType() const
ListEnvironmentsRequest & AddNames(Aws::String &&value)
void SetNextToken(const Aws::String &value)
void SetEngineType(const EngineType &value)
ListEnvironmentsRequest & WithNextToken(const Aws::String &value)
bool NamesHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetNames(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector