AWS SDK for C++  1.9.157
AWS SDK for C++
ScriptBootstrapActionConfig.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetPath() const{ return m_path; }
46 
50  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
51 
55  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
56 
60  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
61 
65  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
66 
70  inline ScriptBootstrapActionConfig& WithPath(const Aws::String& value) { SetPath(value); return *this;}
71 
75  inline ScriptBootstrapActionConfig& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
76 
80  inline ScriptBootstrapActionConfig& WithPath(const char* value) { SetPath(value); return *this;}
81 
82 
86  inline const Aws::Vector<Aws::String>& GetArgs() const{ return m_args; }
87 
91  inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
92 
96  inline void SetArgs(const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args = value; }
97 
101  inline void SetArgs(Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args = std::move(value); }
102 
106  inline ScriptBootstrapActionConfig& WithArgs(const Aws::Vector<Aws::String>& value) { SetArgs(value); return *this;}
107 
111  inline ScriptBootstrapActionConfig& WithArgs(Aws::Vector<Aws::String>&& value) { SetArgs(std::move(value)); return *this;}
112 
116  inline ScriptBootstrapActionConfig& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
117 
121  inline ScriptBootstrapActionConfig& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; }
122 
126  inline ScriptBootstrapActionConfig& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
127 
128  private:
129 
130  Aws::String m_path;
131  bool m_pathHasBeenSet;
132 
134  bool m_argsHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace EMR
139 } // namespace Aws
Aws::EMR::Model::ScriptBootstrapActionConfig::SetPath
void SetPath(const char *value)
Definition: ScriptBootstrapActionConfig.h:65
Aws::EMR::Model::ScriptBootstrapActionConfig::AddArgs
ScriptBootstrapActionConfig & AddArgs(const Aws::String &value)
Definition: ScriptBootstrapActionConfig.h:116
Aws::EMR::Model::ScriptBootstrapActionConfig::PathHasBeenSet
bool PathHasBeenSet() const
Definition: ScriptBootstrapActionConfig.h:50
Aws::EMR::Model::ScriptBootstrapActionConfig::WithPath
ScriptBootstrapActionConfig & WithPath(const Aws::String &value)
Definition: ScriptBootstrapActionConfig.h:70
Aws::EMR::Model::ScriptBootstrapActionConfig::AddArgs
ScriptBootstrapActionConfig & AddArgs(Aws::String &&value)
Definition: ScriptBootstrapActionConfig.h:121
EMR_EXPORTS.h
Aws::EMR::Model::ScriptBootstrapActionConfig::ScriptBootstrapActionConfig
ScriptBootstrapActionConfig()
Aws::EMR::Model::ScriptBootstrapActionConfig::SetPath
void SetPath(Aws::String &&value)
Definition: ScriptBootstrapActionConfig.h:60
Aws::EMR::Model::ScriptBootstrapActionConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::ScriptBootstrapActionConfig::SetArgs
void SetArgs(Aws::Vector< Aws::String > &&value)
Definition: ScriptBootstrapActionConfig.h:101
Aws::EMR::Model::ScriptBootstrapActionConfig::WithPath
ScriptBootstrapActionConfig & WithPath(const char *value)
Definition: ScriptBootstrapActionConfig.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EMR::Model::ScriptBootstrapActionConfig::GetArgs
const Aws::Vector< Aws::String > & GetArgs() const
Definition: ScriptBootstrapActionConfig.h:86
Aws::EMR::Model::ScriptBootstrapActionConfig::operator=
ScriptBootstrapActionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::ScriptBootstrapActionConfig::WithPath
ScriptBootstrapActionConfig & WithPath(Aws::String &&value)
Definition: ScriptBootstrapActionConfig.h:75
Aws::EMR::Model::ScriptBootstrapActionConfig::WithArgs
ScriptBootstrapActionConfig & WithArgs(Aws::Vector< Aws::String > &&value)
Definition: ScriptBootstrapActionConfig.h:111
Aws::EMR::Model::ScriptBootstrapActionConfig::SetArgs
void SetArgs(const Aws::Vector< Aws::String > &value)
Definition: ScriptBootstrapActionConfig.h:96
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::EMR::Model::ScriptBootstrapActionConfig::ScriptBootstrapActionConfig
ScriptBootstrapActionConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ScriptBootstrapActionConfig::AddArgs
ScriptBootstrapActionConfig & AddArgs(const char *value)
Definition: ScriptBootstrapActionConfig.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ScriptBootstrapActionConfig::SetPath
void SetPath(const Aws::String &value)
Definition: ScriptBootstrapActionConfig.h:55
Aws::EMR::Model::ScriptBootstrapActionConfig::GetPath
const Aws::String & GetPath() const
Definition: ScriptBootstrapActionConfig.h:45
Aws::EMR::Model::ScriptBootstrapActionConfig::WithArgs
ScriptBootstrapActionConfig & WithArgs(const Aws::Vector< Aws::String > &value)
Definition: ScriptBootstrapActionConfig.h:106
Aws::EMR::Model::ScriptBootstrapActionConfig
Definition: ScriptBootstrapActionConfig.h:34
Aws::EMR::Model::ScriptBootstrapActionConfig::ArgsHasBeenSet
bool ArgsHasBeenSet() const
Definition: ScriptBootstrapActionConfig.h:91
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28