AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ScriptBootstrapActionConfig.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
34 {
35 public:
36 AWS_EMR_API ScriptBootstrapActionConfig() = default;
40
41
43
46 inline const Aws::String& GetPath() const { return m_path; }
47 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
48 template<typename PathT = Aws::String>
49 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
50 template<typename PathT = Aws::String>
51 ScriptBootstrapActionConfig& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetArgs() const { return m_args; }
59 inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
60 template<typename ArgsT = Aws::Vector<Aws::String>>
61 void SetArgs(ArgsT&& value) { m_argsHasBeenSet = true; m_args = std::forward<ArgsT>(value); }
62 template<typename ArgsT = Aws::Vector<Aws::String>>
63 ScriptBootstrapActionConfig& WithArgs(ArgsT&& value) { SetArgs(std::forward<ArgsT>(value)); return *this;}
64 template<typename ArgsT = Aws::String>
65 ScriptBootstrapActionConfig& AddArgs(ArgsT&& value) { m_argsHasBeenSet = true; m_args.emplace_back(std::forward<ArgsT>(value)); return *this; }
67 private:
68
69 Aws::String m_path;
70 bool m_pathHasBeenSet = false;
71
73 bool m_argsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace EMR
78} // namespace Aws
AWS_EMR_API ScriptBootstrapActionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ScriptBootstrapActionConfig & AddArgs(ArgsT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API ScriptBootstrapActionConfig()=default
ScriptBootstrapActionConfig & WithPath(PathT &&value)
AWS_EMR_API ScriptBootstrapActionConfig(Aws::Utils::Json::JsonView jsonValue)
ScriptBootstrapActionConfig & WithArgs(ArgsT &&value)
const Aws::Vector< Aws::String > & GetArgs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue