AWS SDK for C++  1.9.45
AWS SDK for C++
RemoveAutoScalingPolicyRequest.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 "RemoveAutoScalingPolicy"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
42 
47  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
48 
53  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
54 
59  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
60 
65  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
66 
71  inline RemoveAutoScalingPolicyRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
72 
77  inline RemoveAutoScalingPolicyRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
78 
83  inline RemoveAutoScalingPolicyRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
84 
85 
90  inline const Aws::String& GetInstanceGroupId() const{ return m_instanceGroupId; }
91 
96  inline bool InstanceGroupIdHasBeenSet() const { return m_instanceGroupIdHasBeenSet; }
97 
102  inline void SetInstanceGroupId(const Aws::String& value) { m_instanceGroupIdHasBeenSet = true; m_instanceGroupId = value; }
103 
108  inline void SetInstanceGroupId(Aws::String&& value) { m_instanceGroupIdHasBeenSet = true; m_instanceGroupId = std::move(value); }
109 
114  inline void SetInstanceGroupId(const char* value) { m_instanceGroupIdHasBeenSet = true; m_instanceGroupId.assign(value); }
115 
120  inline RemoveAutoScalingPolicyRequest& WithInstanceGroupId(const Aws::String& value) { SetInstanceGroupId(value); return *this;}
121 
126  inline RemoveAutoScalingPolicyRequest& WithInstanceGroupId(Aws::String&& value) { SetInstanceGroupId(std::move(value)); return *this;}
127 
132  inline RemoveAutoScalingPolicyRequest& WithInstanceGroupId(const char* value) { SetInstanceGroupId(value); return *this;}
133 
134  private:
135 
136  Aws::String m_clusterId;
137  bool m_clusterIdHasBeenSet;
138 
139  Aws::String m_instanceGroupId;
140  bool m_instanceGroupIdHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace EMR
145 } // namespace Aws
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::RemoveAutoScalingPolicyRequest
RemoveAutoScalingPolicyRequest()
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::WithClusterId
RemoveAutoScalingPolicyRequest & WithClusterId(const char *value)
Definition: RemoveAutoScalingPolicyRequest.h:83
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: RemoveAutoScalingPolicyRequest.h:53
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::SetClusterId
void SetClusterId(const char *value)
Definition: RemoveAutoScalingPolicyRequest.h:65
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: RemoveAutoScalingPolicyRequest.h:47
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveAutoScalingPolicyRequest.h:30
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::GetClusterId
const Aws::String & GetClusterId() const
Definition: RemoveAutoScalingPolicyRequest.h:41
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::WithInstanceGroupId
RemoveAutoScalingPolicyRequest & WithInstanceGroupId(const Aws::String &value)
Definition: RemoveAutoScalingPolicyRequest.h:120
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::WithInstanceGroupId
RemoveAutoScalingPolicyRequest & WithInstanceGroupId(Aws::String &&value)
Definition: RemoveAutoScalingPolicyRequest.h:126
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::GetInstanceGroupId
const Aws::String & GetInstanceGroupId() const
Definition: RemoveAutoScalingPolicyRequest.h:90
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::SetInstanceGroupId
void SetInstanceGroupId(const Aws::String &value)
Definition: RemoveAutoScalingPolicyRequest.h:102
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: RemoveAutoScalingPolicyRequest.h:59
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::WithClusterId
RemoveAutoScalingPolicyRequest & WithClusterId(Aws::String &&value)
Definition: RemoveAutoScalingPolicyRequest.h:77
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::InstanceGroupIdHasBeenSet
bool InstanceGroupIdHasBeenSet() const
Definition: RemoveAutoScalingPolicyRequest.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::SetInstanceGroupId
void SetInstanceGroupId(Aws::String &&value)
Definition: RemoveAutoScalingPolicyRequest.h:108
Aws::EMR::Model::RemoveAutoScalingPolicyRequest
Definition: RemoveAutoScalingPolicyRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::SetInstanceGroupId
void SetInstanceGroupId(const char *value)
Definition: RemoveAutoScalingPolicyRequest.h:114
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::WithClusterId
RemoveAutoScalingPolicyRequest & WithClusterId(const Aws::String &value)
Definition: RemoveAutoScalingPolicyRequest.h:71
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::RemoveAutoScalingPolicyRequest::WithInstanceGroupId
RemoveAutoScalingPolicyRequest & WithInstanceGroupId(const char *value)
Definition: RemoveAutoScalingPolicyRequest.h:132