AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const Aws::String& GetPath() const{ return m_path; }
47 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
48 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
49 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
50 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
51 inline ScriptBootstrapActionConfig& WithPath(const Aws::String& value) { SetPath(value); return *this;}
52 inline ScriptBootstrapActionConfig& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
53 inline ScriptBootstrapActionConfig& WithPath(const char* value) { SetPath(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetArgs() const{ return m_args; }
61 inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
62 inline void SetArgs(const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args = value; }
63 inline void SetArgs(Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args = std::move(value); }
64 inline ScriptBootstrapActionConfig& WithArgs(const Aws::Vector<Aws::String>& value) { SetArgs(value); return *this;}
65 inline ScriptBootstrapActionConfig& WithArgs(Aws::Vector<Aws::String>&& value) { SetArgs(std::move(value)); return *this;}
66 inline ScriptBootstrapActionConfig& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
67 inline ScriptBootstrapActionConfig& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; }
68 inline ScriptBootstrapActionConfig& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
70 private:
71
72 Aws::String m_path;
73 bool m_pathHasBeenSet = false;
74
76 bool m_argsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EMR
81} // namespace Aws
ScriptBootstrapActionConfig & AddArgs(const char *value)
AWS_EMR_API ScriptBootstrapActionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArgs(Aws::Vector< Aws::String > &&value)
ScriptBootstrapActionConfig & WithArgs(const Aws::Vector< Aws::String > &value)
ScriptBootstrapActionConfig & WithPath(Aws::String &&value)
ScriptBootstrapActionConfig & WithPath(const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
ScriptBootstrapActionConfig & AddArgs(const Aws::String &value)
void SetArgs(const Aws::Vector< Aws::String > &value)
ScriptBootstrapActionConfig & AddArgs(Aws::String &&value)
AWS_EMR_API ScriptBootstrapActionConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetArgs() const
ScriptBootstrapActionConfig & WithArgs(Aws::Vector< Aws::String > &&value)
ScriptBootstrapActionConfig & WithPath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue