AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutAutoScalingPolicyResult.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/AutoScalingPolicyDescription.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EMR
25{
26namespace Model
27{
29 {
30 public:
34
35
37
41 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
42 inline void SetClusterId(const Aws::String& value) { m_clusterId = value; }
43 inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); }
44 inline void SetClusterId(const char* value) { m_clusterId.assign(value); }
45 inline PutAutoScalingPolicyResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
46 inline PutAutoScalingPolicyResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
47 inline PutAutoScalingPolicyResult& WithClusterId(const char* value) { SetClusterId(value); return *this;}
49
51
55 inline const Aws::String& GetInstanceGroupId() const{ return m_instanceGroupId; }
56 inline void SetInstanceGroupId(const Aws::String& value) { m_instanceGroupId = value; }
57 inline void SetInstanceGroupId(Aws::String&& value) { m_instanceGroupId = std::move(value); }
58 inline void SetInstanceGroupId(const char* value) { m_instanceGroupId.assign(value); }
60 inline PutAutoScalingPolicyResult& WithInstanceGroupId(Aws::String&& value) { SetInstanceGroupId(std::move(value)); return *this;}
61 inline PutAutoScalingPolicyResult& WithInstanceGroupId(const char* value) { SetInstanceGroupId(value); return *this;}
63
65
68 inline const AutoScalingPolicyDescription& GetAutoScalingPolicy() const{ return m_autoScalingPolicy; }
69 inline void SetAutoScalingPolicy(const AutoScalingPolicyDescription& value) { m_autoScalingPolicy = value; }
70 inline void SetAutoScalingPolicy(AutoScalingPolicyDescription&& value) { m_autoScalingPolicy = std::move(value); }
74
76
79 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
80 inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
81 inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
82 inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
83 inline PutAutoScalingPolicyResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
84 inline PutAutoScalingPolicyResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
85 inline PutAutoScalingPolicyResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline PutAutoScalingPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline PutAutoScalingPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline PutAutoScalingPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_clusterId;
101
102 Aws::String m_instanceGroupId;
103
104 AutoScalingPolicyDescription m_autoScalingPolicy;
105
106 Aws::String m_clusterArn;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace EMR
113} // namespace Aws
PutAutoScalingPolicyResult & WithRequestId(const char *value)
void SetAutoScalingPolicy(AutoScalingPolicyDescription &&value)
PutAutoScalingPolicyResult & WithAutoScalingPolicy(AutoScalingPolicyDescription &&value)
AWS_EMR_API PutAutoScalingPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutAutoScalingPolicyResult & WithRequestId(Aws::String &&value)
PutAutoScalingPolicyResult & WithAutoScalingPolicy(const AutoScalingPolicyDescription &value)
PutAutoScalingPolicyResult & WithInstanceGroupId(const char *value)
PutAutoScalingPolicyResult & WithClusterId(const Aws::String &value)
PutAutoScalingPolicyResult & WithInstanceGroupId(const Aws::String &value)
void SetAutoScalingPolicy(const AutoScalingPolicyDescription &value)
PutAutoScalingPolicyResult & WithInstanceGroupId(Aws::String &&value)
PutAutoScalingPolicyResult & WithRequestId(const Aws::String &value)
PutAutoScalingPolicyResult & WithClusterArn(const Aws::String &value)
const AutoScalingPolicyDescription & GetAutoScalingPolicy() const
PutAutoScalingPolicyResult & WithClusterArn(const char *value)
AWS_EMR_API PutAutoScalingPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutAutoScalingPolicyResult & WithClusterId(const char *value)
PutAutoScalingPolicyResult & WithClusterId(Aws::String &&value)
PutAutoScalingPolicyResult & WithClusterArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue