AWS SDK for C++  1.8.126
AWS SDK for C++
ExecutionEngineConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace EMR
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetId() const{ return m_id; }
47 
52  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 
58  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 
64  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 
70  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
71 
76  inline ExecutionEngineConfig& WithId(const Aws::String& value) { SetId(value); return *this;}
77 
82  inline ExecutionEngineConfig& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
83 
88  inline ExecutionEngineConfig& WithId(const char* value) { SetId(value); return *this;}
89 
90 
95  inline const ExecutionEngineType& GetType() const{ return m_type; }
96 
101  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
102 
107  inline void SetType(const ExecutionEngineType& value) { m_typeHasBeenSet = true; m_type = value; }
108 
113  inline void SetType(ExecutionEngineType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
114 
119  inline ExecutionEngineConfig& WithType(const ExecutionEngineType& value) { SetType(value); return *this;}
120 
125  inline ExecutionEngineConfig& WithType(ExecutionEngineType&& value) { SetType(std::move(value)); return *this;}
126 
127 
136  inline const Aws::String& GetMasterInstanceSecurityGroupId() const{ return m_masterInstanceSecurityGroupId; }
137 
146  inline bool MasterInstanceSecurityGroupIdHasBeenSet() const { return m_masterInstanceSecurityGroupIdHasBeenSet; }
147 
156  inline void SetMasterInstanceSecurityGroupId(const Aws::String& value) { m_masterInstanceSecurityGroupIdHasBeenSet = true; m_masterInstanceSecurityGroupId = value; }
157 
166  inline void SetMasterInstanceSecurityGroupId(Aws::String&& value) { m_masterInstanceSecurityGroupIdHasBeenSet = true; m_masterInstanceSecurityGroupId = std::move(value); }
167 
176  inline void SetMasterInstanceSecurityGroupId(const char* value) { m_masterInstanceSecurityGroupIdHasBeenSet = true; m_masterInstanceSecurityGroupId.assign(value); }
177 
186  inline ExecutionEngineConfig& WithMasterInstanceSecurityGroupId(const Aws::String& value) { SetMasterInstanceSecurityGroupId(value); return *this;}
187 
196  inline ExecutionEngineConfig& WithMasterInstanceSecurityGroupId(Aws::String&& value) { SetMasterInstanceSecurityGroupId(std::move(value)); return *this;}
197 
206  inline ExecutionEngineConfig& WithMasterInstanceSecurityGroupId(const char* value) { SetMasterInstanceSecurityGroupId(value); return *this;}
207 
208  private:
209 
210  Aws::String m_id;
211  bool m_idHasBeenSet;
212 
213  ExecutionEngineType m_type;
214  bool m_typeHasBeenSet;
215 
216  Aws::String m_masterInstanceSecurityGroupId;
217  bool m_masterInstanceSecurityGroupIdHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace EMR
222 } // namespace Aws
Aws::EMR::Model::ExecutionEngineConfig::SetId
void SetId(const char *value)
Definition: ExecutionEngineConfig.h:70
Aws::EMR::Model::ExecutionEngineConfig::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ExecutionEngineConfig.h:52
Aws::EMR::Model::ExecutionEngineConfig::SetId
void SetId(const Aws::String &value)
Definition: ExecutionEngineConfig.h:58
Aws::EMR::Model::ExecutionEngineConfig::GetType
const ExecutionEngineType & GetType() const
Definition: ExecutionEngineConfig.h:95
ExecutionEngineType.h
EMR_EXPORTS.h
Aws::EMR::Model::ExecutionEngineConfig::WithId
ExecutionEngineConfig & WithId(Aws::String &&value)
Definition: ExecutionEngineConfig.h:82
Aws::EMR::Model::ExecutionEngineConfig::SetType
void SetType(const ExecutionEngineType &value)
Definition: ExecutionEngineConfig.h:107
Aws::EMR::Model::ExecutionEngineConfig::SetMasterInstanceSecurityGroupId
void SetMasterInstanceSecurityGroupId(const Aws::String &value)
Definition: ExecutionEngineConfig.h:156
Aws::EMR::Model::ExecutionEngineConfig::WithMasterInstanceSecurityGroupId
ExecutionEngineConfig & WithMasterInstanceSecurityGroupId(Aws::String &&value)
Definition: ExecutionEngineConfig.h:196
Aws::EMR::Model::ExecutionEngineConfig::WithId
ExecutionEngineConfig & WithId(const char *value)
Definition: ExecutionEngineConfig.h:88
Aws::EMR::Model::ExecutionEngineConfig::WithType
ExecutionEngineConfig & WithType(ExecutionEngineType &&value)
Definition: ExecutionEngineConfig.h:125
Aws::EMR::Model::ExecutionEngineConfig::SetMasterInstanceSecurityGroupId
void SetMasterInstanceSecurityGroupId(Aws::String &&value)
Definition: ExecutionEngineConfig.h:166
Aws::EMR::Model::ExecutionEngineConfig::GetMasterInstanceSecurityGroupId
const Aws::String & GetMasterInstanceSecurityGroupId() const
Definition: ExecutionEngineConfig.h:136
Aws::EMR::Model::ExecutionEngineConfig::GetId
const Aws::String & GetId() const
Definition: ExecutionEngineConfig.h:46
Aws::EMR::Model::ExecutionEngineConfig
Definition: ExecutionEngineConfig.h:34
Aws::EMR::Model::ExecutionEngineConfig::SetId
void SetId(Aws::String &&value)
Definition: ExecutionEngineConfig.h:64
Aws::EMR::Model::ExecutionEngineConfig::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ExecutionEngineConfig.h:101
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::ExecutionEngineConfig::ExecutionEngineConfig
ExecutionEngineConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::ExecutionEngineType
ExecutionEngineType
Definition: ExecutionEngineType.h:17
Aws::EMR::Model::ExecutionEngineConfig::ExecutionEngineConfig
ExecutionEngineConfig()
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ExecutionEngineConfig::WithType
ExecutionEngineConfig & WithType(const ExecutionEngineType &value)
Definition: ExecutionEngineConfig.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ExecutionEngineConfig::WithMasterInstanceSecurityGroupId
ExecutionEngineConfig & WithMasterInstanceSecurityGroupId(const Aws::String &value)
Definition: ExecutionEngineConfig.h:186
Aws::EMR::Model::ExecutionEngineConfig::WithMasterInstanceSecurityGroupId
ExecutionEngineConfig & WithMasterInstanceSecurityGroupId(const char *value)
Definition: ExecutionEngineConfig.h:206
Aws::EMR::Model::ExecutionEngineConfig::MasterInstanceSecurityGroupIdHasBeenSet
bool MasterInstanceSecurityGroupIdHasBeenSet() const
Definition: ExecutionEngineConfig.h:146
Aws::EMR::Model::ExecutionEngineConfig::operator=
ExecutionEngineConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::ExecutionEngineConfig::SetType
void SetType(ExecutionEngineType &&value)
Definition: ExecutionEngineConfig.h:113
Aws::EMR::Model::ExecutionEngineConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ExecutionEngineConfig::SetMasterInstanceSecurityGroupId
void SetMasterInstanceSecurityGroupId(const char *value)
Definition: ExecutionEngineConfig.h:176
Aws::EMR::Model::ExecutionEngineConfig::WithId
ExecutionEngineConfig & WithId(const Aws::String &value)
Definition: ExecutionEngineConfig.h:76