AWS SDK for C++  1.9.20
AWS SDK for C++
ListInstanceGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EMR
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListInstanceGroups"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
45 
49  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
50 
54  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
55 
59  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
60 
64  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
65 
69  inline ListInstanceGroupsRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
70 
74  inline ListInstanceGroupsRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
75 
79  inline ListInstanceGroupsRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
80 
81 
85  inline const Aws::String& GetMarker() const{ return m_marker; }
86 
90  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
91 
95  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
96 
100  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
101 
105  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
106 
110  inline ListInstanceGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
111 
115  inline ListInstanceGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
116 
120  inline ListInstanceGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
121 
122  private:
123 
124  Aws::String m_clusterId;
125  bool m_clusterIdHasBeenSet;
126 
127  Aws::String m_marker;
128  bool m_markerHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace EMR
133 } // namespace Aws
Aws::EMR::Model::ListInstanceGroupsRequest::ListInstanceGroupsRequest
ListInstanceGroupsRequest()
Aws::EMR::Model::ListInstanceGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListInstanceGroupsRequest.h:105
Aws::EMR::Model::ListInstanceGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListInstanceGroupsRequest.h:100
Aws::EMR::Model::ListInstanceGroupsRequest::WithClusterId
ListInstanceGroupsRequest & WithClusterId(const Aws::String &value)
Definition: ListInstanceGroupsRequest.h:69
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::ListInstanceGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListInstanceGroupsRequest.h:95
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::ListInstanceGroupsRequest::WithClusterId
ListInstanceGroupsRequest & WithClusterId(Aws::String &&value)
Definition: ListInstanceGroupsRequest.h:74
Aws::EMR::Model::ListInstanceGroupsRequest::WithMarker
ListInstanceGroupsRequest & WithMarker(const char *value)
Definition: ListInstanceGroupsRequest.h:120
Aws::EMR::Model::ListInstanceGroupsRequest::WithMarker
ListInstanceGroupsRequest & WithMarker(Aws::String &&value)
Definition: ListInstanceGroupsRequest.h:115
Aws::EMR::Model::ListInstanceGroupsRequest::WithClusterId
ListInstanceGroupsRequest & WithClusterId(const char *value)
Definition: ListInstanceGroupsRequest.h:79
Aws::EMR::Model::ListInstanceGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListInstanceGroupsRequest.h:34
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::ListInstanceGroupsRequest::SetClusterId
void SetClusterId(const char *value)
Definition: ListInstanceGroupsRequest.h:64
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::ListInstanceGroupsRequest::GetClusterId
const Aws::String & GetClusterId() const
Definition: ListInstanceGroupsRequest.h:44
Aws::EMR::Model::ListInstanceGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListInstanceGroupsRequest.h:85
Aws::EMR::Model::ListInstanceGroupsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::ListInstanceGroupsRequest::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: ListInstanceGroupsRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListInstanceGroupsRequest
Definition: ListInstanceGroupsRequest.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListInstanceGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListInstanceGroupsRequest.h:90
Aws::EMR::Model::ListInstanceGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::ListInstanceGroupsRequest::WithMarker
ListInstanceGroupsRequest & WithMarker(const Aws::String &value)
Definition: ListInstanceGroupsRequest.h:110
Aws::EMR::Model::ListInstanceGroupsRequest::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: ListInstanceGroupsRequest.h:59
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListInstanceGroupsRequest::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: ListInstanceGroupsRequest.h:49