AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Recipes.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 OpsWorks
23{
24namespace Model
25{
26
42 class Recipes
43 {
44 public:
45 AWS_OPSWORKS_API Recipes();
46 AWS_OPSWORKS_API Recipes(Aws::Utils::Json::JsonView jsonValue);
47 AWS_OPSWORKS_API Recipes& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const Aws::Vector<Aws::String>& GetSetup() const{ return m_setup; }
57 inline bool SetupHasBeenSet() const { return m_setupHasBeenSet; }
58 inline void SetSetup(const Aws::Vector<Aws::String>& value) { m_setupHasBeenSet = true; m_setup = value; }
59 inline void SetSetup(Aws::Vector<Aws::String>&& value) { m_setupHasBeenSet = true; m_setup = std::move(value); }
60 inline Recipes& WithSetup(const Aws::Vector<Aws::String>& value) { SetSetup(value); return *this;}
61 inline Recipes& WithSetup(Aws::Vector<Aws::String>&& value) { SetSetup(std::move(value)); return *this;}
62 inline Recipes& AddSetup(const Aws::String& value) { m_setupHasBeenSet = true; m_setup.push_back(value); return *this; }
63 inline Recipes& AddSetup(Aws::String&& value) { m_setupHasBeenSet = true; m_setup.push_back(std::move(value)); return *this; }
64 inline Recipes& AddSetup(const char* value) { m_setupHasBeenSet = true; m_setup.push_back(value); return *this; }
66
68
72 inline const Aws::Vector<Aws::String>& GetConfigure() const{ return m_configure; }
73 inline bool ConfigureHasBeenSet() const { return m_configureHasBeenSet; }
74 inline void SetConfigure(const Aws::Vector<Aws::String>& value) { m_configureHasBeenSet = true; m_configure = value; }
75 inline void SetConfigure(Aws::Vector<Aws::String>&& value) { m_configureHasBeenSet = true; m_configure = std::move(value); }
76 inline Recipes& WithConfigure(const Aws::Vector<Aws::String>& value) { SetConfigure(value); return *this;}
77 inline Recipes& WithConfigure(Aws::Vector<Aws::String>&& value) { SetConfigure(std::move(value)); return *this;}
78 inline Recipes& AddConfigure(const Aws::String& value) { m_configureHasBeenSet = true; m_configure.push_back(value); return *this; }
79 inline Recipes& AddConfigure(Aws::String&& value) { m_configureHasBeenSet = true; m_configure.push_back(std::move(value)); return *this; }
80 inline Recipes& AddConfigure(const char* value) { m_configureHasBeenSet = true; m_configure.push_back(value); return *this; }
82
84
88 inline const Aws::Vector<Aws::String>& GetDeploy() const{ return m_deploy; }
89 inline bool DeployHasBeenSet() const { return m_deployHasBeenSet; }
90 inline void SetDeploy(const Aws::Vector<Aws::String>& value) { m_deployHasBeenSet = true; m_deploy = value; }
91 inline void SetDeploy(Aws::Vector<Aws::String>&& value) { m_deployHasBeenSet = true; m_deploy = std::move(value); }
92 inline Recipes& WithDeploy(const Aws::Vector<Aws::String>& value) { SetDeploy(value); return *this;}
93 inline Recipes& WithDeploy(Aws::Vector<Aws::String>&& value) { SetDeploy(std::move(value)); return *this;}
94 inline Recipes& AddDeploy(const Aws::String& value) { m_deployHasBeenSet = true; m_deploy.push_back(value); return *this; }
95 inline Recipes& AddDeploy(Aws::String&& value) { m_deployHasBeenSet = true; m_deploy.push_back(std::move(value)); return *this; }
96 inline Recipes& AddDeploy(const char* value) { m_deployHasBeenSet = true; m_deploy.push_back(value); return *this; }
98
100
104 inline const Aws::Vector<Aws::String>& GetUndeploy() const{ return m_undeploy; }
105 inline bool UndeployHasBeenSet() const { return m_undeployHasBeenSet; }
106 inline void SetUndeploy(const Aws::Vector<Aws::String>& value) { m_undeployHasBeenSet = true; m_undeploy = value; }
107 inline void SetUndeploy(Aws::Vector<Aws::String>&& value) { m_undeployHasBeenSet = true; m_undeploy = std::move(value); }
108 inline Recipes& WithUndeploy(const Aws::Vector<Aws::String>& value) { SetUndeploy(value); return *this;}
109 inline Recipes& WithUndeploy(Aws::Vector<Aws::String>&& value) { SetUndeploy(std::move(value)); return *this;}
110 inline Recipes& AddUndeploy(const Aws::String& value) { m_undeployHasBeenSet = true; m_undeploy.push_back(value); return *this; }
111 inline Recipes& AddUndeploy(Aws::String&& value) { m_undeployHasBeenSet = true; m_undeploy.push_back(std::move(value)); return *this; }
112 inline Recipes& AddUndeploy(const char* value) { m_undeployHasBeenSet = true; m_undeploy.push_back(value); return *this; }
114
116
120 inline const Aws::Vector<Aws::String>& GetShutdown() const{ return m_shutdown; }
121 inline bool ShutdownHasBeenSet() const { return m_shutdownHasBeenSet; }
122 inline void SetShutdown(const Aws::Vector<Aws::String>& value) { m_shutdownHasBeenSet = true; m_shutdown = value; }
123 inline void SetShutdown(Aws::Vector<Aws::String>&& value) { m_shutdownHasBeenSet = true; m_shutdown = std::move(value); }
124 inline Recipes& WithShutdown(const Aws::Vector<Aws::String>& value) { SetShutdown(value); return *this;}
125 inline Recipes& WithShutdown(Aws::Vector<Aws::String>&& value) { SetShutdown(std::move(value)); return *this;}
126 inline Recipes& AddShutdown(const Aws::String& value) { m_shutdownHasBeenSet = true; m_shutdown.push_back(value); return *this; }
127 inline Recipes& AddShutdown(Aws::String&& value) { m_shutdownHasBeenSet = true; m_shutdown.push_back(std::move(value)); return *this; }
128 inline Recipes& AddShutdown(const char* value) { m_shutdownHasBeenSet = true; m_shutdown.push_back(value); return *this; }
130 private:
131
133 bool m_setupHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_configure;
136 bool m_configureHasBeenSet = false;
137
139 bool m_deployHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_undeploy;
142 bool m_undeployHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_shutdown;
145 bool m_shutdownHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace OpsWorks
150} // namespace Aws
Recipes & AddUndeploy(const char *value)
Definition Recipes.h:112
void SetSetup(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:58
Recipes & WithSetup(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:61
void SetUndeploy(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:107
AWS_OPSWORKS_API Recipes()
Recipes & AddDeploy(const Aws::String &value)
Definition Recipes.h:94
Recipes & AddSetup(const Aws::String &value)
Definition Recipes.h:62
AWS_OPSWORKS_API Recipes & operator=(Aws::Utils::Json::JsonView jsonValue)
Recipes & AddUndeploy(const Aws::String &value)
Definition Recipes.h:110
bool SetupHasBeenSet() const
Definition Recipes.h:57
void SetShutdown(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:122
Recipes & AddShutdown(Aws::String &&value)
Definition Recipes.h:127
Recipes & AddDeploy(Aws::String &&value)
Definition Recipes.h:95
void SetDeploy(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:90
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUndeploy(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:106
Recipes & WithDeploy(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:92
Recipes & AddSetup(const char *value)
Definition Recipes.h:64
Recipes & WithConfigure(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:76
void SetShutdown(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:123
void SetConfigure(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:74
const Aws::Vector< Aws::String > & GetSetup() const
Definition Recipes.h:56
const Aws::Vector< Aws::String > & GetShutdown() const
Definition Recipes.h:120
bool ConfigureHasBeenSet() const
Definition Recipes.h:73
Recipes & WithShutdown(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:124
Recipes & AddConfigure(const char *value)
Definition Recipes.h:80
Recipes & WithSetup(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:60
void SetDeploy(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:91
Recipes & AddShutdown(const Aws::String &value)
Definition Recipes.h:126
void SetConfigure(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:75
Recipes & AddSetup(Aws::String &&value)
Definition Recipes.h:63
Recipes & WithUndeploy(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:109
Recipes & WithDeploy(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:93
Recipes & AddUndeploy(Aws::String &&value)
Definition Recipes.h:111
Recipes & WithShutdown(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:125
const Aws::Vector< Aws::String > & GetConfigure() const
Definition Recipes.h:72
Recipes & AddShutdown(const char *value)
Definition Recipes.h:128
bool DeployHasBeenSet() const
Definition Recipes.h:89
void SetSetup(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:59
const Aws::Vector< Aws::String > & GetUndeploy() const
Definition Recipes.h:104
const Aws::Vector< Aws::String > & GetDeploy() const
Definition Recipes.h:88
Recipes & WithConfigure(Aws::Vector< Aws::String > &&value)
Definition Recipes.h:77
bool UndeployHasBeenSet() const
Definition Recipes.h:105
Recipes & AddDeploy(const char *value)
Definition Recipes.h:96
Recipes & AddConfigure(const Aws::String &value)
Definition Recipes.h:78
bool ShutdownHasBeenSet() const
Definition Recipes.h:121
AWS_OPSWORKS_API Recipes(Aws::Utils::Json::JsonView jsonValue)
Recipes & AddConfigure(Aws::String &&value)
Definition Recipes.h:79
Recipes & WithUndeploy(const Aws::Vector< Aws::String > &value)
Definition Recipes.h:108
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue