7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/EMRContainersRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/emr-containers/model/JobRunState.h>
21namespace EMRContainers
50 template<
typename VirtualClusterIdT = Aws::String>
51 void SetVirtualClusterId(VirtualClusterIdT&& value) { m_virtualClusterIdHasBeenSet =
true; m_virtualClusterId = std::forward<VirtualClusterIdT>(value); }
52 template<
typename VirtualClusterIdT = Aws::String>
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>
74 template<
typename CreatedAfterT = Aws::Utils::DateTime>
75 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet =
true; m_createdAfter = std::forward<CreatedAfterT>(value); }
76 template<
typename CreatedAfterT = Aws::Utils::DateTime>
86 template<
typename NameT = Aws::String>
87 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
88 template<
typename NameT = Aws::String>
98 template<
typename StatesT = Aws::Vector<JobRunState>>
99 void SetStates(StatesT&& value) { m_statesHasBeenSet =
true; m_states = std::forward<StatesT>(value); }
100 template<
typename StatesT = Aws::Vector<JobRunState>>
111 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
121 template<
typename NextTokenT = Aws::String>
122 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
123 template<
typename NextTokenT = Aws::String>
129 bool m_virtualClusterIdHasBeenSet =
false;
132 bool m_createdBeforeHasBeenSet =
false;
135 bool m_createdAfterHasBeenSet =
false;
138 bool m_nameHasBeenSet =
false;
141 bool m_statesHasBeenSet =
false;
144 bool m_maxResultsHasBeenSet =
false;
147 bool m_nextTokenHasBeenSet =
false;
void SetStates(StatesT &&value)
ListJobRunsRequest & WithVirtualClusterId(VirtualClusterIdT &&value)
ListJobRunsRequest & AddStates(JobRunState value)
bool CreatedBeforeHasBeenSet() const
const Aws::String & GetVirtualClusterId() const
virtual const char * GetServiceRequestName() const override
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetCreatedAfter() const
void SetName(NameT &&value)
AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Vector< JobRunState > & GetStates() const
bool VirtualClusterIdHasBeenSet() const
int GetMaxResults() const
ListJobRunsRequest & WithName(NameT &&value)
AWS_EMRCONTAINERS_API ListJobRunsRequest()=default
void SetMaxResults(int value)
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedBefore() const
bool StatesHasBeenSet() const
ListJobRunsRequest & WithMaxResults(int value)
const Aws::String & GetNextToken() const
bool MaxResultsHasBeenSet() const
void SetNextToken(NextTokenT &&value)
void SetVirtualClusterId(VirtualClusterIdT &&value)
void SetCreatedAfter(CreatedAfterT &&value)
bool CreatedAfterHasBeenSet() const
ListJobRunsRequest & WithCreatedBefore(CreatedBeforeT &&value)
ListJobRunsRequest & WithStates(StatesT &&value)
bool NextTokenHasBeenSet() const
ListJobRunsRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetName() const
ListJobRunsRequest & WithCreatedAfter(CreatedAfterT &&value)
void SetCreatedBefore(CreatedBeforeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector