AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddInstanceFleetRequest.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/InstanceFleetConfig.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 "AddInstanceFleet"; }
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 AddInstanceFleetRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
48 inline AddInstanceFleetRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
49 inline AddInstanceFleetRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
51
53
56 inline const InstanceFleetConfig& GetInstanceFleet() const{ return m_instanceFleet; }
57 inline bool InstanceFleetHasBeenSet() const { return m_instanceFleetHasBeenSet; }
58 inline void SetInstanceFleet(const InstanceFleetConfig& value) { m_instanceFleetHasBeenSet = true; m_instanceFleet = value; }
59 inline void SetInstanceFleet(InstanceFleetConfig&& value) { m_instanceFleetHasBeenSet = true; m_instanceFleet = std::move(value); }
61 inline AddInstanceFleetRequest& WithInstanceFleet(InstanceFleetConfig&& value) { SetInstanceFleet(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_clusterId;
66 bool m_clusterIdHasBeenSet = false;
67
68 InstanceFleetConfig m_instanceFleet;
69 bool m_instanceFleetHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace EMR
74} // namespace Aws
AddInstanceFleetRequest & WithInstanceFleet(InstanceFleetConfig &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddInstanceFleetRequest & WithInstanceFleet(const InstanceFleetConfig &value)
void SetInstanceFleet(const InstanceFleetConfig &value)
AddInstanceFleetRequest & WithClusterId(const char *value)
const InstanceFleetConfig & GetInstanceFleet() const
void SetInstanceFleet(InstanceFleetConfig &&value)
AWS_EMR_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AddInstanceFleetRequest & WithClusterId(Aws::String &&value)
AddInstanceFleetRequest & WithClusterId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String