AWS SDK for C++  1.9.155
AWS SDK for C++
DescribeStepRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeStep"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
44 
48  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
49 
53  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
54 
58  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
59 
63  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
64 
68  inline DescribeStepRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
69 
73  inline DescribeStepRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
74 
78  inline DescribeStepRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
79 
80 
84  inline const Aws::String& GetStepId() const{ return m_stepId; }
85 
89  inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
90 
94  inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
95 
99  inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
100 
104  inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
105 
109  inline DescribeStepRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
110 
114  inline DescribeStepRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
115 
119  inline DescribeStepRequest& WithStepId(const char* value) { SetStepId(value); return *this;}
120 
121  private:
122 
123  Aws::String m_clusterId;
124  bool m_clusterIdHasBeenSet;
125 
126  Aws::String m_stepId;
127  bool m_stepIdHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace EMR
132 } // namespace Aws
Aws::EMR::Model::DescribeStepRequest::SetClusterId
void SetClusterId(const char *value)
Definition: DescribeStepRequest.h:63
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::DescribeStepRequest::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: DescribeStepRequest.h:48
EMR_EXPORTS.h
Aws::EMR::Model::DescribeStepRequest::SetStepId
void SetStepId(Aws::String &&value)
Definition: DescribeStepRequest.h:99
EMRRequest.h
Aws::EMR::Model::DescribeStepRequest::SetStepId
void SetStepId(const char *value)
Definition: DescribeStepRequest.h:104
Aws::EMR::Model::DescribeStepRequest::DescribeStepRequest
DescribeStepRequest()
Aws::EMR::Model::DescribeStepRequest::WithClusterId
DescribeStepRequest & WithClusterId(const Aws::String &value)
Definition: DescribeStepRequest.h:68
Aws::EMR::Model::DescribeStepRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::DescribeStepRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeStepRequest.h:33
Aws::EMR::Model::DescribeStepRequest::SetStepId
void SetStepId(const Aws::String &value)
Definition: DescribeStepRequest.h:94
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::DescribeStepRequest::WithStepId
DescribeStepRequest & WithStepId(Aws::String &&value)
Definition: DescribeStepRequest.h:114
Aws::EMR::Model::DescribeStepRequest::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: DescribeStepRequest.h:58
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::DescribeStepRequest::GetClusterId
const Aws::String & GetClusterId() const
Definition: DescribeStepRequest.h:43
Aws::EMR::Model::DescribeStepRequest::WithStepId
DescribeStepRequest & WithStepId(const char *value)
Definition: DescribeStepRequest.h:119
Aws::EMR::Model::DescribeStepRequest::WithClusterId
DescribeStepRequest & WithClusterId(const char *value)
Definition: DescribeStepRequest.h:78
Aws::EMR::Model::DescribeStepRequest
Definition: DescribeStepRequest.h:25
Aws::EMR::Model::DescribeStepRequest::WithStepId
DescribeStepRequest & WithStepId(const Aws::String &value)
Definition: DescribeStepRequest.h:109
Aws::EMR::Model::DescribeStepRequest::StepIdHasBeenSet
bool StepIdHasBeenSet() const
Definition: DescribeStepRequest.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::DescribeStepRequest::GetStepId
const Aws::String & GetStepId() const
Definition: DescribeStepRequest.h:84
Aws::EMR::Model::DescribeStepRequest::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: DescribeStepRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::DescribeStepRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::DescribeStepRequest::WithClusterId
DescribeStepRequest & WithClusterId(Aws::String &&value)
Definition: DescribeStepRequest.h:73
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28