AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BootstrapActionConfig.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/ScriptBootstrapActionConfig.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
33 {
34 public:
35 AWS_EMR_API BootstrapActionConfig();
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline BootstrapActionConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline BootstrapActionConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline BootstrapActionConfig& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const ScriptBootstrapActionConfig& GetScriptBootstrapAction() const{ return m_scriptBootstrapAction; }
60 inline bool ScriptBootstrapActionHasBeenSet() const { return m_scriptBootstrapActionHasBeenSet; }
61 inline void SetScriptBootstrapAction(const ScriptBootstrapActionConfig& value) { m_scriptBootstrapActionHasBeenSet = true; m_scriptBootstrapAction = value; }
62 inline void SetScriptBootstrapAction(ScriptBootstrapActionConfig&& value) { m_scriptBootstrapActionHasBeenSet = true; m_scriptBootstrapAction = std::move(value); }
66 private:
67
68 Aws::String m_name;
69 bool m_nameHasBeenSet = false;
70
71 ScriptBootstrapActionConfig m_scriptBootstrapAction;
72 bool m_scriptBootstrapActionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace EMR
77} // namespace Aws
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API BootstrapActionConfig(Aws::Utils::Json::JsonView jsonValue)
BootstrapActionConfig & WithScriptBootstrapAction(const ScriptBootstrapActionConfig &value)
void SetName(const Aws::String &value)
BootstrapActionConfig & WithName(const Aws::String &value)
BootstrapActionConfig & WithName(const char *value)
AWS_EMR_API BootstrapActionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScriptBootstrapAction(const ScriptBootstrapActionConfig &value)
const ScriptBootstrapActionConfig & GetScriptBootstrapAction() const
BootstrapActionConfig & WithName(Aws::String &&value)
void SetScriptBootstrapAction(ScriptBootstrapActionConfig &&value)
BootstrapActionConfig & WithScriptBootstrapAction(ScriptBootstrapActionConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue