7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticmapreduce/model/InstanceFleetType.h>
12#include <aws/elasticmapreduce/model/InstanceGroupType.h>
13#include <aws/elasticmapreduce/model/InstanceState.h>
52 inline void SetClusterId(
const char* value) { m_clusterIdHasBeenSet =
true; m_clusterId.assign(value); }
66 inline void SetInstanceGroupId(
const char* value) { m_instanceGroupIdHasBeenSet =
true; m_instanceGroupId.assign(value); }
94 inline void SetInstanceFleetId(
const char* value) { m_instanceFleetIdHasBeenSet =
true; m_instanceFleetId.assign(value); }
135 inline void SetMarker(
const char* value) { m_markerHasBeenSet =
true; m_marker.assign(value); }
143 bool m_clusterIdHasBeenSet =
false;
146 bool m_instanceGroupIdHasBeenSet =
false;
149 bool m_instanceGroupTypesHasBeenSet =
false;
152 bool m_instanceFleetIdHasBeenSet =
false;
155 bool m_instanceFleetTypeHasBeenSet =
false;
158 bool m_instanceStatesHasBeenSet =
false;
161 bool m_markerHasBeenSet =
false;
ListInstancesRequest & WithClusterId(const Aws::String &value)
void SetInstanceFleetId(const Aws::String &value)
AWS_EMR_API Aws::String SerializePayload() const override
void SetMarker(Aws::String &&value)
ListInstancesRequest & WithInstanceFleetType(const InstanceFleetType &value)
ListInstancesRequest & WithInstanceGroupId(Aws::String &&value)
bool InstanceFleetIdHasBeenSet() const
AWS_EMR_API ListInstancesRequest()
void SetInstanceGroupId(const Aws::String &value)
ListInstancesRequest & AddInstanceGroupTypes(InstanceGroupType &&value)
ListInstancesRequest & AddInstanceStates(const InstanceState &value)
ListInstancesRequest & WithMarker(const Aws::String &value)
bool InstanceGroupTypesHasBeenSet() const
ListInstancesRequest & WithInstanceGroupTypes(const Aws::Vector< InstanceGroupType > &value)
void SetInstanceFleetType(InstanceFleetType &&value)
bool InstanceStatesHasBeenSet() const
void SetInstanceStates(Aws::Vector< InstanceState > &&value)
bool MarkerHasBeenSet() const
ListInstancesRequest & WithInstanceFleetType(InstanceFleetType &&value)
ListInstancesRequest & WithInstanceFleetId(const char *value)
ListInstancesRequest & AddInstanceStates(InstanceState &&value)
const Aws::String & GetInstanceGroupId() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetInstanceFleetId() const
ListInstancesRequest & WithInstanceFleetId(const Aws::String &value)
void SetClusterId(const Aws::String &value)
void SetInstanceFleetId(const char *value)
ListInstancesRequest & WithClusterId(const char *value)
ListInstancesRequest & AddInstanceGroupTypes(const InstanceGroupType &value)
const InstanceFleetType & GetInstanceFleetType() const
bool ClusterIdHasBeenSet() const
const Aws::Vector< InstanceGroupType > & GetInstanceGroupTypes() const
ListInstancesRequest & WithInstanceStates(Aws::Vector< InstanceState > &&value)
void SetClusterId(const char *value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInstanceGroupId(Aws::String &&value)
void SetInstanceGroupId(const char *value)
ListInstancesRequest & WithInstanceFleetId(Aws::String &&value)
ListInstancesRequest & WithInstanceGroupTypes(Aws::Vector< InstanceGroupType > &&value)
const Aws::Vector< InstanceState > & GetInstanceStates() const
const Aws::String & GetClusterId() const
ListInstancesRequest & WithMarker(const char *value)
void SetInstanceFleetType(const InstanceFleetType &value)
void SetClusterId(Aws::String &&value)
ListInstancesRequest & WithInstanceGroupId(const Aws::String &value)
void SetInstanceStates(const Aws::Vector< InstanceState > &value)
const Aws::String & GetMarker() const
bool InstanceFleetTypeHasBeenSet() const
void SetInstanceGroupTypes(const Aws::Vector< InstanceGroupType > &value)
void SetMarker(const char *value)
void SetMarker(const Aws::String &value)
ListInstancesRequest & WithInstanceGroupId(const char *value)
ListInstancesRequest & WithClusterId(Aws::String &&value)
ListInstancesRequest & WithInstanceStates(const Aws::Vector< InstanceState > &value)
void SetInstanceFleetId(Aws::String &&value)
ListInstancesRequest & WithMarker(Aws::String &&value)
void SetInstanceGroupTypes(Aws::Vector< InstanceGroupType > &&value)
bool InstanceGroupIdHasBeenSet() const
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