AWS SDK for C++  1.9.161
AWS SDK for C++
BootstrapActionConfig.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline BootstrapActionConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline BootstrapActionConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline BootstrapActionConfig& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const ScriptBootstrapActionConfig& GetScriptBootstrapAction() const{ return m_scriptBootstrapAction; }
86 
90  inline bool ScriptBootstrapActionHasBeenSet() const { return m_scriptBootstrapActionHasBeenSet; }
91 
95  inline void SetScriptBootstrapAction(const ScriptBootstrapActionConfig& value) { m_scriptBootstrapActionHasBeenSet = true; m_scriptBootstrapAction = value; }
96 
100  inline void SetScriptBootstrapAction(ScriptBootstrapActionConfig&& value) { m_scriptBootstrapActionHasBeenSet = true; m_scriptBootstrapAction = std::move(value); }
101 
105  inline BootstrapActionConfig& WithScriptBootstrapAction(const ScriptBootstrapActionConfig& value) { SetScriptBootstrapAction(value); return *this;}
106 
110  inline BootstrapActionConfig& WithScriptBootstrapAction(ScriptBootstrapActionConfig&& value) { SetScriptBootstrapAction(std::move(value)); return *this;}
111 
112  private:
113 
114  Aws::String m_name;
115  bool m_nameHasBeenSet;
116 
117  ScriptBootstrapActionConfig m_scriptBootstrapAction;
118  bool m_scriptBootstrapActionHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace EMR
123 } // namespace Aws
Aws::EMR::Model::BootstrapActionConfig::NameHasBeenSet
bool NameHasBeenSet() const
Definition: BootstrapActionConfig.h:49
Aws::EMR::Model::BootstrapActionConfig::GetScriptBootstrapAction
const ScriptBootstrapActionConfig & GetScriptBootstrapAction() const
Definition: BootstrapActionConfig.h:85
Aws::EMR::Model::BootstrapActionConfig
Definition: BootstrapActionConfig.h:33
EMR_EXPORTS.h
Aws::EMR::Model::BootstrapActionConfig::GetName
const Aws::String & GetName() const
Definition: BootstrapActionConfig.h:44
Aws::EMR::Model::BootstrapActionConfig::SetName
void SetName(Aws::String &&value)
Definition: BootstrapActionConfig.h:59
Aws::EMR::Model::BootstrapActionConfig::operator=
BootstrapActionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::BootstrapActionConfig::SetScriptBootstrapAction
void SetScriptBootstrapAction(const ScriptBootstrapActionConfig &value)
Definition: BootstrapActionConfig.h:95
ScriptBootstrapActionConfig.h
Aws::EMR::Model::BootstrapActionConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::BootstrapActionConfig::ScriptBootstrapActionHasBeenSet
bool ScriptBootstrapActionHasBeenSet() const
Definition: BootstrapActionConfig.h:90
Aws::EMR::Model::BootstrapActionConfig::BootstrapActionConfig
BootstrapActionConfig()
Aws::EMR::Model::BootstrapActionConfig::BootstrapActionConfig
BootstrapActionConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::BootstrapActionConfig::SetName
void SetName(const Aws::String &value)
Definition: BootstrapActionConfig.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::EMR::Model::BootstrapActionConfig::WithScriptBootstrapAction
BootstrapActionConfig & WithScriptBootstrapAction(const ScriptBootstrapActionConfig &value)
Definition: BootstrapActionConfig.h:105
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::BootstrapActionConfig::WithName
BootstrapActionConfig & WithName(const char *value)
Definition: BootstrapActionConfig.h:79
Aws::EMR::Model::BootstrapActionConfig::WithName
BootstrapActionConfig & WithName(const Aws::String &value)
Definition: BootstrapActionConfig.h:69
Aws::EMR::Model::BootstrapActionConfig::WithName
BootstrapActionConfig & WithName(Aws::String &&value)
Definition: BootstrapActionConfig.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::BootstrapActionConfig::SetScriptBootstrapAction
void SetScriptBootstrapAction(ScriptBootstrapActionConfig &&value)
Definition: BootstrapActionConfig.h:100
Aws::EMR::Model::BootstrapActionConfig::SetName
void SetName(const char *value)
Definition: BootstrapActionConfig.h:64
Aws::EMR::Model::ScriptBootstrapActionConfig
Definition: ScriptBootstrapActionConfig.h:34
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::BootstrapActionConfig::WithScriptBootstrapAction
BootstrapActionConfig & WithScriptBootstrapAction(ScriptBootstrapActionConfig &&value)
Definition: BootstrapActionConfig.h:110