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
59 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
69 template<
typename NamesT = Aws::Vector<Aws::String>>
70 void SetNames(NamesT&& value) { m_namesHasBeenSet =
true; m_names = std::forward<NamesT>(value); }
71 template<
typename NamesT = Aws::Vector<Aws::String>>
73 template<
typename NamesT = Aws::String>
84 template<
typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<
typename NextTokenT = Aws::String>
92 bool m_engineTypeHasBeenSet =
false;
95 bool m_maxResultsHasBeenSet =
false;
98 bool m_namesHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
ListEnvironmentsRequest & WithEngineType(EngineType value)
AWS_MAINFRAMEMODERNIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool EngineTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ListEnvironmentsRequest & WithNames(NamesT &&value)
int GetMaxResults() const
void SetEngineType(EngineType value)
const Aws::String & GetNextToken() const
ListEnvironmentsRequest & WithMaxResults(int value)
bool MaxResultsHasBeenSet() const
void SetNextToken(NextTokenT &&value)
EngineType GetEngineType() const
const Aws::Vector< Aws::String > & GetNames() const
void SetMaxResults(int value)
void SetNames(NamesT &&value)
AWS_MAINFRAMEMODERNIZATION_API ListEnvironmentsRequest()=default
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
ListEnvironmentsRequest & AddNames(NamesT &&value)
ListEnvironmentsRequest & WithNextToken(NextTokenT &&value)
bool NamesHasBeenSet() const
bool NextTokenHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector