AWS SDK for C++  1.9.20
AWS SDK for C++
ListInstanceFleetsRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListInstanceFleets"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
41 
45  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
46 
50  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
51 
55  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
56 
60  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
61 
65  inline ListInstanceFleetsRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
66 
70  inline ListInstanceFleetsRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
71 
75  inline ListInstanceFleetsRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
76 
77 
81  inline const Aws::String& GetMarker() const{ return m_marker; }
82 
86  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
87 
91  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
92 
96  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
97 
101  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
102 
106  inline ListInstanceFleetsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
107 
111  inline ListInstanceFleetsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
112 
116  inline ListInstanceFleetsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
117 
118  private:
119 
120  Aws::String m_clusterId;
121  bool m_clusterIdHasBeenSet;
122 
123  Aws::String m_marker;
124  bool m_markerHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace EMR
129 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::ListInstanceFleetsRequest::WithClusterId
ListInstanceFleetsRequest & WithClusterId(const Aws::String &value)
Definition: ListInstanceFleetsRequest.h:65
Aws::EMR::Model::ListInstanceFleetsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListInstanceFleetsRequest.h:96
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::ListInstanceFleetsRequest::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: ListInstanceFleetsRequest.h:55
Aws::EMR::Model::ListInstanceFleetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListInstanceFleetsRequest.h:30
Aws::EMR::Model::ListInstanceFleetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::ListInstanceFleetsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListInstanceFleetsRequest.h:81
Aws::EMR::Model::ListInstanceFleetsRequest::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: ListInstanceFleetsRequest.h:45
Aws::EMR::Model::ListInstanceFleetsRequest::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: ListInstanceFleetsRequest.h:50
Aws::EMR::Model::ListInstanceFleetsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListInstanceFleetsRequest.h:91
Aws::EMR::Model::ListInstanceFleetsRequest::SetClusterId
void SetClusterId(const char *value)
Definition: ListInstanceFleetsRequest.h:60
Aws::EMR::Model::ListInstanceFleetsRequest::WithMarker
ListInstanceFleetsRequest & WithMarker(const char *value)
Definition: ListInstanceFleetsRequest.h:116
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::ListInstanceFleetsRequest::WithClusterId
ListInstanceFleetsRequest & WithClusterId(Aws::String &&value)
Definition: ListInstanceFleetsRequest.h:70
AWSString.h
Aws::EMR::Model::ListInstanceFleetsRequest::WithMarker
ListInstanceFleetsRequest & WithMarker(Aws::String &&value)
Definition: ListInstanceFleetsRequest.h:111
Aws::EMR::Model::ListInstanceFleetsRequest::ListInstanceFleetsRequest
ListInstanceFleetsRequest()
Aws::EMR::Model::ListInstanceFleetsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListInstanceFleetsRequest.h:86
Aws::EMR::Model::ListInstanceFleetsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::ListInstanceFleetsRequest::GetClusterId
const Aws::String & GetClusterId() const
Definition: ListInstanceFleetsRequest.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListInstanceFleetsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListInstanceFleetsRequest.h:101
Aws::EMR::Model::ListInstanceFleetsRequest::WithClusterId
ListInstanceFleetsRequest & WithClusterId(const char *value)
Definition: ListInstanceFleetsRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListInstanceFleetsRequest
Definition: ListInstanceFleetsRequest.h:22
Aws::EMR::Model::ListInstanceFleetsRequest::WithMarker
ListInstanceFleetsRequest & WithMarker(const Aws::String &value)
Definition: ListInstanceFleetsRequest.h:106
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28