AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionEngineConfig.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/ExecutionEngineType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EMR
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_EMR_API ExecutionEngineConfig();
41
42
44
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline ExecutionEngineConfig& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline ExecutionEngineConfig& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline ExecutionEngineConfig& WithId(const char* value) { SetId(value); return *this;}
57
59
63 inline const ExecutionEngineType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const ExecutionEngineType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(ExecutionEngineType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline ExecutionEngineConfig& WithType(const ExecutionEngineType& value) { SetType(value); return *this;}
68 inline ExecutionEngineConfig& WithType(ExecutionEngineType&& value) { SetType(std::move(value)); return *this;}
70
72
80 inline const Aws::String& GetMasterInstanceSecurityGroupId() const{ return m_masterInstanceSecurityGroupId; }
81 inline bool MasterInstanceSecurityGroupIdHasBeenSet() const { return m_masterInstanceSecurityGroupIdHasBeenSet; }
82 inline void SetMasterInstanceSecurityGroupId(const Aws::String& value) { m_masterInstanceSecurityGroupIdHasBeenSet = true; m_masterInstanceSecurityGroupId = value; }
83 inline void SetMasterInstanceSecurityGroupId(Aws::String&& value) { m_masterInstanceSecurityGroupIdHasBeenSet = true; m_masterInstanceSecurityGroupId = std::move(value); }
84 inline void SetMasterInstanceSecurityGroupId(const char* value) { m_masterInstanceSecurityGroupIdHasBeenSet = true; m_masterInstanceSecurityGroupId.assign(value); }
89
91
94 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
95 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
96 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
97 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
98 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
99 inline ExecutionEngineConfig& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
100 inline ExecutionEngineConfig& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
101 inline ExecutionEngineConfig& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
103 private:
104
105 Aws::String m_id;
106 bool m_idHasBeenSet = false;
107
108 ExecutionEngineType m_type;
109 bool m_typeHasBeenSet = false;
110
111 Aws::String m_masterInstanceSecurityGroupId;
112 bool m_masterInstanceSecurityGroupIdHasBeenSet = false;
113
114 Aws::String m_executionRoleArn;
115 bool m_executionRoleArnHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace EMR
120} // namespace Aws
ExecutionEngineConfig & WithExecutionRoleArn(const Aws::String &value)
ExecutionEngineConfig & WithType(const ExecutionEngineType &value)
void SetType(ExecutionEngineType &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const ExecutionEngineType & GetType() const
const Aws::String & GetExecutionRoleArn() const
ExecutionEngineConfig & WithExecutionRoleArn(Aws::String &&value)
ExecutionEngineConfig & WithMasterInstanceSecurityGroupId(Aws::String &&value)
void SetExecutionRoleArn(const Aws::String &value)
ExecutionEngineConfig & WithId(const char *value)
AWS_EMR_API ExecutionEngineConfig(Aws::Utils::Json::JsonView jsonValue)
ExecutionEngineConfig & WithType(ExecutionEngineType &&value)
void SetMasterInstanceSecurityGroupId(const char *value)
const Aws::String & GetMasterInstanceSecurityGroupId() const
ExecutionEngineConfig & WithId(Aws::String &&value)
void SetMasterInstanceSecurityGroupId(Aws::String &&value)
ExecutionEngineConfig & WithId(const Aws::String &value)
ExecutionEngineConfig & WithMasterInstanceSecurityGroupId(const char *value)
void SetType(const ExecutionEngineType &value)
ExecutionEngineConfig & WithMasterInstanceSecurityGroupId(const Aws::String &value)
void SetMasterInstanceSecurityGroupId(const Aws::String &value)
ExecutionEngineConfig & WithExecutionRoleArn(const char *value)
AWS_EMR_API ExecutionEngineConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue