7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/elasticmapreduce/model/ClusterState.h>
50 template<
typename CreatedAfterT = Aws::Utils::DateTime>
51 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet =
true; m_createdAfter = std::forward<CreatedAfterT>(value); }
52 template<
typename CreatedAfterT = Aws::Utils::DateTime>
62 template<
typename CreatedBeforeT = Aws::Utils::DateTime>
63 void SetCreatedBefore(CreatedBeforeT&& value) { m_createdBeforeHasBeenSet =
true; m_createdBefore = std::forward<CreatedBeforeT>(value); }
64 template<
typename CreatedBeforeT = Aws::Utils::DateTime>
76 template<
typename ClusterStatesT = Aws::Vector<ClusterState>>
77 void SetClusterStates(ClusterStatesT&& value) { m_clusterStatesHasBeenSet =
true; m_clusterStates = std::forward<ClusterStatesT>(value); }
78 template<
typename ClusterStatesT = Aws::Vector<ClusterState>>
89 template<
typename MarkerT = Aws::String>
90 void SetMarker(MarkerT&& value) { m_markerHasBeenSet =
true; m_marker = std::forward<MarkerT>(value); }
91 template<
typename MarkerT = Aws::String>
97 bool m_createdAfterHasBeenSet =
false;
100 bool m_createdBeforeHasBeenSet =
false;
103 bool m_clusterStatesHasBeenSet =
false;
106 bool m_markerHasBeenSet =
false;
AWS_EMR_API Aws::String SerializePayload() const override
ListClustersRequest & WithClusterStates(ClusterStatesT &&value)
virtual const char * GetServiceRequestName() const override
ListClustersRequest & WithCreatedBefore(CreatedBeforeT &&value)
const Aws::Vector< ClusterState > & GetClusterStates() const
ListClustersRequest & WithCreatedAfter(CreatedAfterT &&value)
void SetMarker(MarkerT &&value)
ListClustersRequest & WithMarker(MarkerT &&value)
ListClustersRequest & AddClusterStates(ClusterState value)
bool CreatedAfterHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedBefore() const
void SetCreatedBefore(CreatedBeforeT &&value)
bool ClusterStatesHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAfter() const
void SetCreatedAfter(CreatedAfterT &&value)
AWS_EMR_API ListClustersRequest()=default
bool MarkerHasBeenSet() const
bool CreatedBeforeHasBeenSet() const
const Aws::String & GetMarker() const
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClusterStates(ClusterStatesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector