AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyInstanceFleetRequest.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 <aws/elasticmapreduce/model/InstanceFleetModifyConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EMR
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyInstanceFleet"; }
32
33 AWS_EMR_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
43 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
44 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
45 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
46 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
47 inline ModifyInstanceFleetRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
48 inline ModifyInstanceFleetRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
49 inline ModifyInstanceFleetRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
51
53
56 inline const InstanceFleetModifyConfig& GetInstanceFleet() const{ return m_instanceFleet; }
57 inline bool InstanceFleetHasBeenSet() const { return m_instanceFleetHasBeenSet; }
58 inline void SetInstanceFleet(const InstanceFleetModifyConfig& value) { m_instanceFleetHasBeenSet = true; m_instanceFleet = value; }
59 inline void SetInstanceFleet(InstanceFleetModifyConfig&& value) { m_instanceFleetHasBeenSet = true; m_instanceFleet = std::move(value); }
63 private:
64
65 Aws::String m_clusterId;
66 bool m_clusterIdHasBeenSet = false;
67
68 InstanceFleetModifyConfig m_instanceFleet;
69 bool m_instanceFleetHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace EMR
74} // namespace Aws
virtual const char * GetServiceRequestName() const override
const InstanceFleetModifyConfig & GetInstanceFleet() const
ModifyInstanceFleetRequest & WithClusterId(const Aws::String &value)
ModifyInstanceFleetRequest & WithClusterId(Aws::String &&value)
ModifyInstanceFleetRequest & WithClusterId(const char *value)
void SetInstanceFleet(InstanceFleetModifyConfig &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyInstanceFleetRequest & WithInstanceFleet(const InstanceFleetModifyConfig &value)
ModifyInstanceFleetRequest & WithInstanceFleet(InstanceFleetModifyConfig &&value)
void SetInstanceFleet(const InstanceFleetModifyConfig &value)
AWS_EMR_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String