AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ScriptBootstrapActionConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EMR {
21namespace Model {
22
30 public:
31 AWS_EMR_API ScriptBootstrapActionConfig() = default;
35
37
40 inline const Aws::String& GetPath() const { return m_path; }
41 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
42 template <typename PathT = Aws::String>
43 void SetPath(PathT&& value) {
44 m_pathHasBeenSet = true;
45 m_path = std::forward<PathT>(value);
46 }
47 template <typename PathT = Aws::String>
49 SetPath(std::forward<PathT>(value));
50 return *this;
51 }
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) {
62 m_argsHasBeenSet = true;
63 m_args = std::forward<ArgsT>(value);
64 }
65 template <typename ArgsT = Aws::Vector<Aws::String>>
67 SetArgs(std::forward<ArgsT>(value));
68 return *this;
69 }
70 template <typename ArgsT = Aws::String>
72 m_argsHasBeenSet = true;
73 m_args.emplace_back(std::forward<ArgsT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_path;
79
81 bool m_pathHasBeenSet = false;
82 bool m_argsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace EMR
87} // 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