AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddInstanceFleetResult.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace EMR
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
40 inline void SetClusterId(const Aws::String& value) { m_clusterId = value; }
41 inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); }
42 inline void SetClusterId(const char* value) { m_clusterId.assign(value); }
43 inline AddInstanceFleetResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
44 inline AddInstanceFleetResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
45 inline AddInstanceFleetResult& WithClusterId(const char* value) { SetClusterId(value); return *this;}
47
49
52 inline const Aws::String& GetInstanceFleetId() const{ return m_instanceFleetId; }
53 inline void SetInstanceFleetId(const Aws::String& value) { m_instanceFleetId = value; }
54 inline void SetInstanceFleetId(Aws::String&& value) { m_instanceFleetId = std::move(value); }
55 inline void SetInstanceFleetId(const char* value) { m_instanceFleetId.assign(value); }
56 inline AddInstanceFleetResult& WithInstanceFleetId(const Aws::String& value) { SetInstanceFleetId(value); return *this;}
57 inline AddInstanceFleetResult& WithInstanceFleetId(Aws::String&& value) { SetInstanceFleetId(std::move(value)); return *this;}
58 inline AddInstanceFleetResult& WithInstanceFleetId(const char* value) { SetInstanceFleetId(value); return *this;}
60
62
65 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
66 inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
67 inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
68 inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
69 inline AddInstanceFleetResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
70 inline AddInstanceFleetResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
71 inline AddInstanceFleetResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline AddInstanceFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline AddInstanceFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline AddInstanceFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_clusterId;
87
88 Aws::String m_instanceFleetId;
89
90 Aws::String m_clusterArn;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace EMR
97} // namespace Aws
void SetInstanceFleetId(const Aws::String &value)
AddInstanceFleetResult & WithClusterArn(const Aws::String &value)
AddInstanceFleetResult & WithInstanceFleetId(const char *value)
AddInstanceFleetResult & WithRequestId(const Aws::String &value)
AWS_EMR_API AddInstanceFleetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddInstanceFleetResult & WithInstanceFleetId(Aws::String &&value)
AWS_EMR_API AddInstanceFleetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddInstanceFleetResult & WithClusterArn(const char *value)
void SetClusterId(const Aws::String &value)
void SetClusterArn(const Aws::String &value)
AddInstanceFleetResult & WithRequestId(Aws::String &&value)
AddInstanceFleetResult & WithClusterArn(Aws::String &&value)
AddInstanceFleetResult & WithInstanceFleetId(const Aws::String &value)
AddInstanceFleetResult & WithClusterId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AddInstanceFleetResult & WithClusterId(Aws::String &&value)
AddInstanceFleetResult & WithRequestId(const char *value)
AddInstanceFleetResult & WithClusterId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue