AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeStepRequest.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace EMR
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_EMR_API DescribeStepRequest();
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_EMR_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
45 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
46 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
47 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
48 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
49 inline DescribeStepRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
50 inline DescribeStepRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
51 inline DescribeStepRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
53
55
58 inline const Aws::String& GetStepId() const{ return m_stepId; }
59 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
60 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
61 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
62 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
63 inline DescribeStepRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
64 inline DescribeStepRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
65 inline DescribeStepRequest& WithStepId(const char* value) { SetStepId(value); return *this;}
67 private:
68
69 Aws::String m_clusterId;
70 bool m_clusterIdHasBeenSet = false;
71
72 Aws::String m_stepId;
73 bool m_stepIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace EMR
78} // namespace Aws
DescribeStepRequest & WithStepId(const Aws::String &value)
DescribeStepRequest & WithStepId(Aws::String &&value)
const Aws::String & GetStepId() const
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
void SetClusterId(const Aws::String &value)
const Aws::String & GetClusterId() const
DescribeStepRequest & WithClusterId(Aws::String &&value)
DescribeStepRequest & WithClusterId(const char *value)
void SetStepId(const Aws::String &value)
AWS_EMR_API Aws::String SerializePayload() const override
DescribeStepRequest & WithStepId(const char *value)
DescribeStepRequest & WithClusterId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String