AWS SDK for C++  1.9.107
AWS SDK for C++
Recipes.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 OpsWorks
23 {
24 namespace Model
25 {
26 
43  {
44  public:
49 
50 
55  inline const Aws::Vector<Aws::String>& GetSetup() const{ return m_setup; }
56 
61  inline bool SetupHasBeenSet() const { return m_setupHasBeenSet; }
62 
67  inline void SetSetup(const Aws::Vector<Aws::String>& value) { m_setupHasBeenSet = true; m_setup = value; }
68 
73  inline void SetSetup(Aws::Vector<Aws::String>&& value) { m_setupHasBeenSet = true; m_setup = std::move(value); }
74 
79  inline Recipes& WithSetup(const Aws::Vector<Aws::String>& value) { SetSetup(value); return *this;}
80 
85  inline Recipes& WithSetup(Aws::Vector<Aws::String>&& value) { SetSetup(std::move(value)); return *this;}
86 
91  inline Recipes& AddSetup(const Aws::String& value) { m_setupHasBeenSet = true; m_setup.push_back(value); return *this; }
92 
97  inline Recipes& AddSetup(Aws::String&& value) { m_setupHasBeenSet = true; m_setup.push_back(std::move(value)); return *this; }
98 
103  inline Recipes& AddSetup(const char* value) { m_setupHasBeenSet = true; m_setup.push_back(value); return *this; }
104 
105 
110  inline const Aws::Vector<Aws::String>& GetConfigure() const{ return m_configure; }
111 
116  inline bool ConfigureHasBeenSet() const { return m_configureHasBeenSet; }
117 
122  inline void SetConfigure(const Aws::Vector<Aws::String>& value) { m_configureHasBeenSet = true; m_configure = value; }
123 
128  inline void SetConfigure(Aws::Vector<Aws::String>&& value) { m_configureHasBeenSet = true; m_configure = std::move(value); }
129 
134  inline Recipes& WithConfigure(const Aws::Vector<Aws::String>& value) { SetConfigure(value); return *this;}
135 
140  inline Recipes& WithConfigure(Aws::Vector<Aws::String>&& value) { SetConfigure(std::move(value)); return *this;}
141 
146  inline Recipes& AddConfigure(const Aws::String& value) { m_configureHasBeenSet = true; m_configure.push_back(value); return *this; }
147 
152  inline Recipes& AddConfigure(Aws::String&& value) { m_configureHasBeenSet = true; m_configure.push_back(std::move(value)); return *this; }
153 
158  inline Recipes& AddConfigure(const char* value) { m_configureHasBeenSet = true; m_configure.push_back(value); return *this; }
159 
160 
165  inline const Aws::Vector<Aws::String>& GetDeploy() const{ return m_deploy; }
166 
171  inline bool DeployHasBeenSet() const { return m_deployHasBeenSet; }
172 
177  inline void SetDeploy(const Aws::Vector<Aws::String>& value) { m_deployHasBeenSet = true; m_deploy = value; }
178 
183  inline void SetDeploy(Aws::Vector<Aws::String>&& value) { m_deployHasBeenSet = true; m_deploy = std::move(value); }
184 
189  inline Recipes& WithDeploy(const Aws::Vector<Aws::String>& value) { SetDeploy(value); return *this;}
190 
195  inline Recipes& WithDeploy(Aws::Vector<Aws::String>&& value) { SetDeploy(std::move(value)); return *this;}
196 
201  inline Recipes& AddDeploy(const Aws::String& value) { m_deployHasBeenSet = true; m_deploy.push_back(value); return *this; }
202 
207  inline Recipes& AddDeploy(Aws::String&& value) { m_deployHasBeenSet = true; m_deploy.push_back(std::move(value)); return *this; }
208 
213  inline Recipes& AddDeploy(const char* value) { m_deployHasBeenSet = true; m_deploy.push_back(value); return *this; }
214 
215 
220  inline const Aws::Vector<Aws::String>& GetUndeploy() const{ return m_undeploy; }
221 
226  inline bool UndeployHasBeenSet() const { return m_undeployHasBeenSet; }
227 
232  inline void SetUndeploy(const Aws::Vector<Aws::String>& value) { m_undeployHasBeenSet = true; m_undeploy = value; }
233 
238  inline void SetUndeploy(Aws::Vector<Aws::String>&& value) { m_undeployHasBeenSet = true; m_undeploy = std::move(value); }
239 
244  inline Recipes& WithUndeploy(const Aws::Vector<Aws::String>& value) { SetUndeploy(value); return *this;}
245 
250  inline Recipes& WithUndeploy(Aws::Vector<Aws::String>&& value) { SetUndeploy(std::move(value)); return *this;}
251 
256  inline Recipes& AddUndeploy(const Aws::String& value) { m_undeployHasBeenSet = true; m_undeploy.push_back(value); return *this; }
257 
262  inline Recipes& AddUndeploy(Aws::String&& value) { m_undeployHasBeenSet = true; m_undeploy.push_back(std::move(value)); return *this; }
263 
268  inline Recipes& AddUndeploy(const char* value) { m_undeployHasBeenSet = true; m_undeploy.push_back(value); return *this; }
269 
270 
275  inline const Aws::Vector<Aws::String>& GetShutdown() const{ return m_shutdown; }
276 
281  inline bool ShutdownHasBeenSet() const { return m_shutdownHasBeenSet; }
282 
287  inline void SetShutdown(const Aws::Vector<Aws::String>& value) { m_shutdownHasBeenSet = true; m_shutdown = value; }
288 
293  inline void SetShutdown(Aws::Vector<Aws::String>&& value) { m_shutdownHasBeenSet = true; m_shutdown = std::move(value); }
294 
299  inline Recipes& WithShutdown(const Aws::Vector<Aws::String>& value) { SetShutdown(value); return *this;}
300 
305  inline Recipes& WithShutdown(Aws::Vector<Aws::String>&& value) { SetShutdown(std::move(value)); return *this;}
306 
311  inline Recipes& AddShutdown(const Aws::String& value) { m_shutdownHasBeenSet = true; m_shutdown.push_back(value); return *this; }
312 
317  inline Recipes& AddShutdown(Aws::String&& value) { m_shutdownHasBeenSet = true; m_shutdown.push_back(std::move(value)); return *this; }
318 
323  inline Recipes& AddShutdown(const char* value) { m_shutdownHasBeenSet = true; m_shutdown.push_back(value); return *this; }
324 
325  private:
326 
327  Aws::Vector<Aws::String> m_setup;
328  bool m_setupHasBeenSet;
329 
330  Aws::Vector<Aws::String> m_configure;
331  bool m_configureHasBeenSet;
332 
333  Aws::Vector<Aws::String> m_deploy;
334  bool m_deployHasBeenSet;
335 
336  Aws::Vector<Aws::String> m_undeploy;
337  bool m_undeployHasBeenSet;
338 
339  Aws::Vector<Aws::String> m_shutdown;
340  bool m_shutdownHasBeenSet;
341  };
342 
343 } // namespace Model
344 } // namespace OpsWorks
345 } // namespace Aws
Aws::OpsWorks::Model::Recipes
Definition: Recipes.h:43
Aws::OpsWorks::Model::Recipes::WithDeploy
Recipes & WithDeploy(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:189
Aws::OpsWorks::Model::Recipes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::Recipes::SetUndeploy
void SetUndeploy(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:238
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::Recipes::WithSetup
Recipes & WithSetup(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:79
Aws::OpsWorks::Model::Recipes::AddSetup
Recipes & AddSetup(const Aws::String &value)
Definition: Recipes.h:91
Aws::OpsWorks::Model::Recipes::AddDeploy
Recipes & AddDeploy(Aws::String &&value)
Definition: Recipes.h:207
Aws::OpsWorks::Model::Recipes::GetDeploy
const Aws::Vector< Aws::String > & GetDeploy() const
Definition: Recipes.h:165
Aws::OpsWorks::Model::Recipes::DeployHasBeenSet
bool DeployHasBeenSet() const
Definition: Recipes.h:171
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::OpsWorks::Model::Recipes::AddShutdown
Recipes & AddShutdown(Aws::String &&value)
Definition: Recipes.h:317
Aws::OpsWorks::Model::Recipes::Recipes
Recipes()
AWSVector.h
Aws::OpsWorks::Model::Recipes::SetDeploy
void SetDeploy(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:183
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::Recipes::AddUndeploy
Recipes & AddUndeploy(const char *value)
Definition: Recipes.h:268
Aws::OpsWorks::Model::Recipes::Recipes
Recipes(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::Recipes::WithDeploy
Recipes & WithDeploy(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:195
Aws::OpsWorks::Model::Recipes::SetConfigure
void SetConfigure(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:122
Aws::OpsWorks::Model::Recipes::SetDeploy
void SetDeploy(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:177
Aws::OpsWorks::Model::Recipes::AddUndeploy
Recipes & AddUndeploy(Aws::String &&value)
Definition: Recipes.h:262
Aws::OpsWorks::Model::Recipes::AddSetup
Recipes & AddSetup(Aws::String &&value)
Definition: Recipes.h:97
Aws::OpsWorks::Model::Recipes::GetSetup
const Aws::Vector< Aws::String > & GetSetup() const
Definition: Recipes.h:55
Aws::OpsWorks::Model::Recipes::AddSetup
Recipes & AddSetup(const char *value)
Definition: Recipes.h:103
Aws::OpsWorks::Model::Recipes::WithShutdown
Recipes & WithShutdown(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:299
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::OpsWorks::Model::Recipes::WithConfigure
Recipes & WithConfigure(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:140
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::Recipes::AddDeploy
Recipes & AddDeploy(const Aws::String &value)
Definition: Recipes.h:201
Aws::OpsWorks::Model::Recipes::ShutdownHasBeenSet
bool ShutdownHasBeenSet() const
Definition: Recipes.h:281
Aws::OpsWorks::Model::Recipes::AddConfigure
Recipes & AddConfigure(const char *value)
Definition: Recipes.h:158
Aws::OpsWorks::Model::Recipes::WithShutdown
Recipes & WithShutdown(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:305
Aws::OpsWorks::Model::Recipes::WithConfigure
Recipes & WithConfigure(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:134
Aws::OpsWorks::Model::Recipes::operator=
Recipes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::Recipes::AddShutdown
Recipes & AddShutdown(const char *value)
Definition: Recipes.h:323
Aws::OpsWorks::Model::Recipes::SetShutdown
void SetShutdown(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:287
Aws::OpsWorks::Model::Recipes::GetConfigure
const Aws::Vector< Aws::String > & GetConfigure() const
Definition: Recipes.h:110
Aws::OpsWorks::Model::Recipes::WithSetup
Recipes & WithSetup(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::Recipes::GetUndeploy
const Aws::Vector< Aws::String > & GetUndeploy() const
Definition: Recipes.h:220
Aws::OpsWorks::Model::Recipes::AddConfigure
Recipes & AddConfigure(Aws::String &&value)
Definition: Recipes.h:152
Aws::OpsWorks::Model::Recipes::WithUndeploy
Recipes & WithUndeploy(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:244
Aws::OpsWorks::Model::Recipes::SetShutdown
void SetShutdown(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:293
Aws::OpsWorks::Model::Recipes::SetupHasBeenSet
bool SetupHasBeenSet() const
Definition: Recipes.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::Recipes::AddConfigure
Recipes & AddConfigure(const Aws::String &value)
Definition: Recipes.h:146
Aws::OpsWorks::Model::Recipes::WithUndeploy
Recipes & WithUndeploy(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:250
Aws::OpsWorks::Model::Recipes::SetSetup
void SetSetup(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:73
Aws::OpsWorks::Model::Recipes::AddShutdown
Recipes & AddShutdown(const Aws::String &value)
Definition: Recipes.h:311
Aws::OpsWorks::Model::Recipes::ConfigureHasBeenSet
bool ConfigureHasBeenSet() const
Definition: Recipes.h:116
Aws::OpsWorks::Model::Recipes::UndeployHasBeenSet
bool UndeployHasBeenSet() const
Definition: Recipes.h:226
Aws::OpsWorks::Model::Recipes::SetConfigure
void SetConfigure(Aws::Vector< Aws::String > &&value)
Definition: Recipes.h:128
Aws::OpsWorks::Model::Recipes::AddUndeploy
Recipes & AddUndeploy(const Aws::String &value)
Definition: Recipes.h:256
Aws::OpsWorks::Model::Recipes::AddDeploy
Recipes & AddDeploy(const char *value)
Definition: Recipes.h:213
Aws::OpsWorks::Model::Recipes::GetShutdown
const Aws::Vector< Aws::String > & GetShutdown() const
Definition: Recipes.h:275
Aws::OpsWorks::Model::Recipes::SetUndeploy
void SetUndeploy(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:232
Aws::OpsWorks::Model::Recipes::SetSetup
void SetSetup(const Aws::Vector< Aws::String > &value)
Definition: Recipes.h:67