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
52 inline void SetVirtualClusterId(
const char* value) { m_virtualClusterIdHasBeenSet =
true; m_virtualClusterId.assign(value); }
90 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
116 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
128 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
136 bool m_virtualClusterIdHasBeenSet =
false;
139 bool m_createdBeforeHasBeenSet =
false;
142 bool m_createdAfterHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_statesHasBeenSet =
false;
151 bool m_maxResultsHasBeenSet =
false;
154 bool m_nextTokenHasBeenSet =
false;
ListJobRunsRequest & WithStates(const Aws::Vector< JobRunState > &value)
void SetVirtualClusterId(Aws::String &&value)
void SetName(const char *value)
ListJobRunsRequest & AddStates(const JobRunState &value)
void SetCreatedBefore(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
ListJobRunsRequest & WithVirtualClusterId(Aws::String &&value)
bool CreatedBeforeHasBeenSet() const
const Aws::String & GetVirtualClusterId() const
virtual const char * GetServiceRequestName() const override
ListJobRunsRequest & WithNextToken(const char *value)
void SetStates(Aws::Vector< JobRunState > &&value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetCreatedAfter() const
ListJobRunsRequest & WithVirtualClusterId(const Aws::String &value)
AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetNextToken(const char *value)
const Aws::Vector< JobRunState > & GetStates() const
void SetCreatedAfter(const Aws::Utils::DateTime &value)
ListJobRunsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
bool VirtualClusterIdHasBeenSet() const
int GetMaxResults() const
ListJobRunsRequest & WithVirtualClusterId(const char *value)
void SetMaxResults(int value)
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedBefore() const
AWS_EMRCONTAINERS_API ListJobRunsRequest()
bool StatesHasBeenSet() const
ListJobRunsRequest & AddStates(JobRunState &&value)
ListJobRunsRequest & WithMaxResults(int value)
ListJobRunsRequest & WithName(const char *value)
const Aws::String & GetNextToken() const
bool MaxResultsHasBeenSet() const
void SetStates(const Aws::Vector< JobRunState > &value)
ListJobRunsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
void SetNextToken(Aws::String &&value)
void SetVirtualClusterId(const char *value)
ListJobRunsRequest & WithStates(Aws::Vector< JobRunState > &&value)
void SetCreatedAfter(Aws::Utils::DateTime &&value)
bool CreatedAfterHasBeenSet() const
ListJobRunsRequest & WithName(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListJobRunsRequest & WithNextToken(const Aws::String &value)
bool NextTokenHasBeenSet() const
void SetCreatedBefore(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
ListJobRunsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
ListJobRunsRequest & WithNextToken(Aws::String &&value)
void SetVirtualClusterId(const Aws::String &value)
ListJobRunsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListJobRunsRequest & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector