AWS SDK for C++  1.9.21
AWS SDK for C++
AddInstanceFleetResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace EMR
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
39 
43  inline void SetClusterId(const Aws::String& value) { m_clusterId = value; }
44 
48  inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); }
49 
53  inline void SetClusterId(const char* value) { m_clusterId.assign(value); }
54 
58  inline AddInstanceFleetResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
59 
63  inline AddInstanceFleetResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
64 
68  inline AddInstanceFleetResult& WithClusterId(const char* value) { SetClusterId(value); return *this;}
69 
70 
74  inline const Aws::String& GetInstanceFleetId() const{ return m_instanceFleetId; }
75 
79  inline void SetInstanceFleetId(const Aws::String& value) { m_instanceFleetId = value; }
80 
84  inline void SetInstanceFleetId(Aws::String&& value) { m_instanceFleetId = std::move(value); }
85 
89  inline void SetInstanceFleetId(const char* value) { m_instanceFleetId.assign(value); }
90 
94  inline AddInstanceFleetResult& WithInstanceFleetId(const Aws::String& value) { SetInstanceFleetId(value); return *this;}
95 
99  inline AddInstanceFleetResult& WithInstanceFleetId(Aws::String&& value) { SetInstanceFleetId(std::move(value)); return *this;}
100 
104  inline AddInstanceFleetResult& WithInstanceFleetId(const char* value) { SetInstanceFleetId(value); return *this;}
105 
106 
110  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
111 
115  inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
116 
120  inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
121 
125  inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
126 
130  inline AddInstanceFleetResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
131 
135  inline AddInstanceFleetResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
136 
140  inline AddInstanceFleetResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
141 
142  private:
143 
144  Aws::String m_clusterId;
145 
146  Aws::String m_instanceFleetId;
147 
148  Aws::String m_clusterArn;
149  };
150 
151 } // namespace Model
152 } // namespace EMR
153 } // namespace Aws
Aws::EMR::Model::AddInstanceFleetResult::SetInstanceFleetId
void SetInstanceFleetId(const Aws::String &value)
Definition: AddInstanceFleetResult.h:79
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::AddInstanceFleetResult::WithClusterId
AddInstanceFleetResult & WithClusterId(Aws::String &&value)
Definition: AddInstanceFleetResult.h:63
Aws::EMR::Model::AddInstanceFleetResult::GetInstanceFleetId
const Aws::String & GetInstanceFleetId() const
Definition: AddInstanceFleetResult.h:74
Aws::EMR::Model::AddInstanceFleetResult
Definition: AddInstanceFleetResult.h:28
Aws::EMR::Model::AddInstanceFleetResult::WithClusterArn
AddInstanceFleetResult & WithClusterArn(const Aws::String &value)
Definition: AddInstanceFleetResult.h:130
EMR_EXPORTS.h
Aws::EMR::Model::AddInstanceFleetResult::WithInstanceFleetId
AddInstanceFleetResult & WithInstanceFleetId(Aws::String &&value)
Definition: AddInstanceFleetResult.h:99
Aws::EMR::Model::AddInstanceFleetResult::operator=
AddInstanceFleetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::AddInstanceFleetResult::WithClusterId
AddInstanceFleetResult & WithClusterId(const char *value)
Definition: AddInstanceFleetResult.h:68
Aws::EMR::Model::AddInstanceFleetResult::WithInstanceFleetId
AddInstanceFleetResult & WithInstanceFleetId(const char *value)
Definition: AddInstanceFleetResult.h:104
Aws::EMR::Model::AddInstanceFleetResult::WithClusterArn
AddInstanceFleetResult & WithClusterArn(const char *value)
Definition: AddInstanceFleetResult.h:140
Aws::EMR::Model::AddInstanceFleetResult::WithClusterArn
AddInstanceFleetResult & WithClusterArn(Aws::String &&value)
Definition: AddInstanceFleetResult.h:135
Aws::EMR::Model::AddInstanceFleetResult::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: AddInstanceFleetResult.h:43
Aws::EMR::Model::AddInstanceFleetResult::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: AddInstanceFleetResult.h:48
Aws::EMR::Model::AddInstanceFleetResult::SetClusterArn
void SetClusterArn(const char *value)
Definition: AddInstanceFleetResult.h:125
Aws::EMR::Model::AddInstanceFleetResult::SetClusterId
void SetClusterId(const char *value)
Definition: AddInstanceFleetResult.h:53
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::AddInstanceFleetResult::SetInstanceFleetId
void SetInstanceFleetId(Aws::String &&value)
Definition: AddInstanceFleetResult.h:84
AWSString.h
Aws::EMR::Model::AddInstanceFleetResult::GetClusterId
const Aws::String & GetClusterId() const
Definition: AddInstanceFleetResult.h:38
Aws::EMR::Model::AddInstanceFleetResult::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: AddInstanceFleetResult.h:120
Aws::EMR::Model::AddInstanceFleetResult::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: AddInstanceFleetResult.h:115
Aws::EMR::Model::AddInstanceFleetResult::SetInstanceFleetId
void SetInstanceFleetId(const char *value)
Definition: AddInstanceFleetResult.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::AddInstanceFleetResult::AddInstanceFleetResult
AddInstanceFleetResult()
Aws::EMR::Model::AddInstanceFleetResult::AddInstanceFleetResult
AddInstanceFleetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::AddInstanceFleetResult::WithInstanceFleetId
AddInstanceFleetResult & WithInstanceFleetId(const Aws::String &value)
Definition: AddInstanceFleetResult.h:94
Aws::EMR::Model::AddInstanceFleetResult::WithClusterId
AddInstanceFleetResult & WithClusterId(const Aws::String &value)
Definition: AddInstanceFleetResult.h:58
Aws::EMR::Model::AddInstanceFleetResult::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: AddInstanceFleetResult.h:110
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28