AWS SDK for C++  1.9.20
AWS SDK for C++
PutAutoScalingPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace EMR
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
41 
46  inline void SetClusterId(const Aws::String& value) { m_clusterId = value; }
47 
52  inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); }
53 
58  inline void SetClusterId(const char* value) { m_clusterId.assign(value); }
59 
64  inline PutAutoScalingPolicyResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
65 
70  inline PutAutoScalingPolicyResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
71 
76  inline PutAutoScalingPolicyResult& WithClusterId(const char* value) { SetClusterId(value); return *this;}
77 
78 
83  inline const Aws::String& GetInstanceGroupId() const{ return m_instanceGroupId; }
84 
89  inline void SetInstanceGroupId(const Aws::String& value) { m_instanceGroupId = value; }
90 
95  inline void SetInstanceGroupId(Aws::String&& value) { m_instanceGroupId = std::move(value); }
96 
101  inline void SetInstanceGroupId(const char* value) { m_instanceGroupId.assign(value); }
102 
107  inline PutAutoScalingPolicyResult& WithInstanceGroupId(const Aws::String& value) { SetInstanceGroupId(value); return *this;}
108 
113  inline PutAutoScalingPolicyResult& WithInstanceGroupId(Aws::String&& value) { SetInstanceGroupId(std::move(value)); return *this;}
114 
119  inline PutAutoScalingPolicyResult& WithInstanceGroupId(const char* value) { SetInstanceGroupId(value); return *this;}
120 
121 
125  inline const AutoScalingPolicyDescription& GetAutoScalingPolicy() const{ return m_autoScalingPolicy; }
126 
130  inline void SetAutoScalingPolicy(const AutoScalingPolicyDescription& value) { m_autoScalingPolicy = value; }
131 
135  inline void SetAutoScalingPolicy(AutoScalingPolicyDescription&& value) { m_autoScalingPolicy = std::move(value); }
136 
140  inline PutAutoScalingPolicyResult& WithAutoScalingPolicy(const AutoScalingPolicyDescription& value) { SetAutoScalingPolicy(value); return *this;}
141 
145  inline PutAutoScalingPolicyResult& WithAutoScalingPolicy(AutoScalingPolicyDescription&& value) { SetAutoScalingPolicy(std::move(value)); return *this;}
146 
147 
151  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
152 
156  inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
157 
161  inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
162 
166  inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
167 
171  inline PutAutoScalingPolicyResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
172 
176  inline PutAutoScalingPolicyResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
177 
181  inline PutAutoScalingPolicyResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
182 
183  private:
184 
185  Aws::String m_clusterId;
186 
187  Aws::String m_instanceGroupId;
188 
189  AutoScalingPolicyDescription m_autoScalingPolicy;
190 
191  Aws::String m_clusterArn;
192  };
193 
194 } // namespace Model
195 } // namespace EMR
196 } // namespace Aws
Aws::EMR::Model::PutAutoScalingPolicyResult::SetInstanceGroupId
void SetInstanceGroupId(const char *value)
Definition: PutAutoScalingPolicyResult.h:101
AutoScalingPolicyDescription.h
Aws::EMR::Model::PutAutoScalingPolicyResult::WithAutoScalingPolicy
PutAutoScalingPolicyResult & WithAutoScalingPolicy(AutoScalingPolicyDescription &&value)
Definition: PutAutoScalingPolicyResult.h:145
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::PutAutoScalingPolicyResult::WithClusterId
PutAutoScalingPolicyResult & WithClusterId(const Aws::String &value)
Definition: PutAutoScalingPolicyResult.h:64
Aws::EMR::Model::PutAutoScalingPolicyResult
Definition: PutAutoScalingPolicyResult.h:29
Aws::EMR::Model::PutAutoScalingPolicyResult::SetClusterArn
void SetClusterArn(const char *value)
Definition: PutAutoScalingPolicyResult.h:166
Aws::EMR::Model::PutAutoScalingPolicyResult::SetInstanceGroupId
void SetInstanceGroupId(Aws::String &&value)
Definition: PutAutoScalingPolicyResult.h:95
EMR_EXPORTS.h
Aws::EMR::Model::PutAutoScalingPolicyResult::WithClusterId
PutAutoScalingPolicyResult & WithClusterId(const char *value)
Definition: PutAutoScalingPolicyResult.h:76
Aws::EMR::Model::PutAutoScalingPolicyResult::SetInstanceGroupId
void SetInstanceGroupId(const Aws::String &value)
Definition: PutAutoScalingPolicyResult.h:89
Aws::EMR::Model::PutAutoScalingPolicyResult::WithAutoScalingPolicy
PutAutoScalingPolicyResult & WithAutoScalingPolicy(const AutoScalingPolicyDescription &value)
Definition: PutAutoScalingPolicyResult.h:140
Aws::EMR::Model::AutoScalingPolicyDescription
Definition: AutoScalingPolicyDescription.h:39
Aws::EMR::Model::PutAutoScalingPolicyResult::WithInstanceGroupId
PutAutoScalingPolicyResult & WithInstanceGroupId(const Aws::String &value)
Definition: PutAutoScalingPolicyResult.h:107
Aws::EMR::Model::PutAutoScalingPolicyResult::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: PutAutoScalingPolicyResult.h:46
Aws::EMR::Model::PutAutoScalingPolicyResult::GetInstanceGroupId
const Aws::String & GetInstanceGroupId() const
Definition: PutAutoScalingPolicyResult.h:83
Aws::EMR::Model::PutAutoScalingPolicyResult::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: PutAutoScalingPolicyResult.h:151
Aws::EMR::Model::PutAutoScalingPolicyResult::GetClusterId
const Aws::String & GetClusterId() const
Definition: PutAutoScalingPolicyResult.h:40
Aws::EMR::Model::PutAutoScalingPolicyResult::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: PutAutoScalingPolicyResult.h:161
Aws::EMR::Model::PutAutoScalingPolicyResult::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: PutAutoScalingPolicyResult.h:156
Aws::EMR::Model::PutAutoScalingPolicyResult::GetAutoScalingPolicy
const AutoScalingPolicyDescription & GetAutoScalingPolicy() const
Definition: PutAutoScalingPolicyResult.h:125
Aws::EMR::Model::PutAutoScalingPolicyResult::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: PutAutoScalingPolicyResult.h:52
Aws::EMR::Model::PutAutoScalingPolicyResult::PutAutoScalingPolicyResult
PutAutoScalingPolicyResult()
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::PutAutoScalingPolicyResult::PutAutoScalingPolicyResult
PutAutoScalingPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::PutAutoScalingPolicyResult::SetClusterId
void SetClusterId(const char *value)
Definition: PutAutoScalingPolicyResult.h:58
Aws::EMR::Model::PutAutoScalingPolicyResult::SetAutoScalingPolicy
void SetAutoScalingPolicy(const AutoScalingPolicyDescription &value)
Definition: PutAutoScalingPolicyResult.h:130
Aws::EMR::Model::PutAutoScalingPolicyResult::WithClusterArn
PutAutoScalingPolicyResult & WithClusterArn(const char *value)
Definition: PutAutoScalingPolicyResult.h:181
Aws::EMR::Model::PutAutoScalingPolicyResult::WithClusterArn
PutAutoScalingPolicyResult & WithClusterArn(const Aws::String &value)
Definition: PutAutoScalingPolicyResult.h:171
Aws::EMR::Model::PutAutoScalingPolicyResult::operator=
PutAutoScalingPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::PutAutoScalingPolicyResult::WithClusterId
PutAutoScalingPolicyResult & WithClusterId(Aws::String &&value)
Definition: PutAutoScalingPolicyResult.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::PutAutoScalingPolicyResult::WithClusterArn
PutAutoScalingPolicyResult & WithClusterArn(Aws::String &&value)
Definition: PutAutoScalingPolicyResult.h:176
Aws::EMR::Model::PutAutoScalingPolicyResult::WithInstanceGroupId
PutAutoScalingPolicyResult & WithInstanceGroupId(Aws::String &&value)
Definition: PutAutoScalingPolicyResult.h:113
Aws::EMR::Model::PutAutoScalingPolicyResult::WithInstanceGroupId
PutAutoScalingPolicyResult & WithInstanceGroupId(const char *value)
Definition: PutAutoScalingPolicyResult.h:119
Aws::EMR::Model::PutAutoScalingPolicyResult::SetAutoScalingPolicy
void SetAutoScalingPolicy(AutoScalingPolicyDescription &&value)
Definition: PutAutoScalingPolicyResult.h:135
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28