AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlueGreenDeployment.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/rds/model/SwitchoverDetail.h>
13#include <aws/rds/model/BlueGreenDeploymentTask.h>
14#include <aws/rds/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace RDS
27{
28namespace Model
29{
30
43 {
44 public:
45 AWS_RDS_API BlueGreenDeployment();
46 AWS_RDS_API BlueGreenDeployment(const Aws::Utils::Xml::XmlNode& xmlNode);
48
49 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
51
52
54
57 inline const Aws::String& GetBlueGreenDeploymentIdentifier() const{ return m_blueGreenDeploymentIdentifier; }
58 inline bool BlueGreenDeploymentIdentifierHasBeenSet() const { return m_blueGreenDeploymentIdentifierHasBeenSet; }
59 inline void SetBlueGreenDeploymentIdentifier(const Aws::String& value) { m_blueGreenDeploymentIdentifierHasBeenSet = true; m_blueGreenDeploymentIdentifier = value; }
60 inline void SetBlueGreenDeploymentIdentifier(Aws::String&& value) { m_blueGreenDeploymentIdentifierHasBeenSet = true; m_blueGreenDeploymentIdentifier = std::move(value); }
61 inline void SetBlueGreenDeploymentIdentifier(const char* value) { m_blueGreenDeploymentIdentifierHasBeenSet = true; m_blueGreenDeploymentIdentifier.assign(value); }
66
68
71 inline const Aws::String& GetBlueGreenDeploymentName() const{ return m_blueGreenDeploymentName; }
72 inline bool BlueGreenDeploymentNameHasBeenSet() const { return m_blueGreenDeploymentNameHasBeenSet; }
73 inline void SetBlueGreenDeploymentName(const Aws::String& value) { m_blueGreenDeploymentNameHasBeenSet = true; m_blueGreenDeploymentName = value; }
74 inline void SetBlueGreenDeploymentName(Aws::String&& value) { m_blueGreenDeploymentNameHasBeenSet = true; m_blueGreenDeploymentName = std::move(value); }
75 inline void SetBlueGreenDeploymentName(const char* value) { m_blueGreenDeploymentNameHasBeenSet = true; m_blueGreenDeploymentName.assign(value); }
78 inline BlueGreenDeployment& WithBlueGreenDeploymentName(const char* value) { SetBlueGreenDeploymentName(value); return *this;}
80
82
86 inline const Aws::String& GetSource() const{ return m_source; }
87 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
88 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
89 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
90 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
91 inline BlueGreenDeployment& WithSource(const Aws::String& value) { SetSource(value); return *this;}
92 inline BlueGreenDeployment& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
93 inline BlueGreenDeployment& WithSource(const char* value) { SetSource(value); return *this;}
95
97
101 inline const Aws::String& GetTarget() const{ return m_target; }
102 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
103 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
104 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
105 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
106 inline BlueGreenDeployment& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
107 inline BlueGreenDeployment& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
108 inline BlueGreenDeployment& WithTarget(const char* value) { SetTarget(value); return *this;}
110
112
116 inline const Aws::Vector<SwitchoverDetail>& GetSwitchoverDetails() const{ return m_switchoverDetails; }
117 inline bool SwitchoverDetailsHasBeenSet() const { return m_switchoverDetailsHasBeenSet; }
118 inline void SetSwitchoverDetails(const Aws::Vector<SwitchoverDetail>& value) { m_switchoverDetailsHasBeenSet = true; m_switchoverDetails = value; }
119 inline void SetSwitchoverDetails(Aws::Vector<SwitchoverDetail>&& value) { m_switchoverDetailsHasBeenSet = true; m_switchoverDetails = std::move(value); }
122 inline BlueGreenDeployment& AddSwitchoverDetails(const SwitchoverDetail& value) { m_switchoverDetailsHasBeenSet = true; m_switchoverDetails.push_back(value); return *this; }
123 inline BlueGreenDeployment& AddSwitchoverDetails(SwitchoverDetail&& value) { m_switchoverDetailsHasBeenSet = true; m_switchoverDetails.push_back(std::move(value)); return *this; }
125
127
131 inline const Aws::Vector<BlueGreenDeploymentTask>& GetTasks() const{ return m_tasks; }
132 inline bool TasksHasBeenSet() const { return m_tasksHasBeenSet; }
133 inline void SetTasks(const Aws::Vector<BlueGreenDeploymentTask>& value) { m_tasksHasBeenSet = true; m_tasks = value; }
134 inline void SetTasks(Aws::Vector<BlueGreenDeploymentTask>&& value) { m_tasksHasBeenSet = true; m_tasks = std::move(value); }
135 inline BlueGreenDeployment& WithTasks(const Aws::Vector<BlueGreenDeploymentTask>& value) { SetTasks(value); return *this;}
136 inline BlueGreenDeployment& WithTasks(Aws::Vector<BlueGreenDeploymentTask>&& value) { SetTasks(std::move(value)); return *this;}
137 inline BlueGreenDeployment& AddTasks(const BlueGreenDeploymentTask& value) { m_tasksHasBeenSet = true; m_tasks.push_back(value); return *this; }
138 inline BlueGreenDeployment& AddTasks(BlueGreenDeploymentTask&& value) { m_tasksHasBeenSet = true; m_tasks.push_back(std::move(value)); return *this; }
140
142
156 inline const Aws::String& GetStatus() const{ return m_status; }
157 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
158 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
159 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
160 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
161 inline BlueGreenDeployment& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
162 inline BlueGreenDeployment& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
163 inline BlueGreenDeployment& WithStatus(const char* value) { SetStatus(value); return *this;}
165
167
170 inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; }
171 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
172 inline void SetStatusDetails(const Aws::String& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
173 inline void SetStatusDetails(Aws::String&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
174 inline void SetStatusDetails(const char* value) { m_statusDetailsHasBeenSet = true; m_statusDetails.assign(value); }
175 inline BlueGreenDeployment& WithStatusDetails(const Aws::String& value) { SetStatusDetails(value); return *this;}
176 inline BlueGreenDeployment& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;}
177 inline BlueGreenDeployment& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;}
179
181
185 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
186 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
187 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
188 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
189 inline BlueGreenDeployment& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
190 inline BlueGreenDeployment& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
192
194
198 inline const Aws::Utils::DateTime& GetDeleteTime() const{ return m_deleteTime; }
199 inline bool DeleteTimeHasBeenSet() const { return m_deleteTimeHasBeenSet; }
200 inline void SetDeleteTime(const Aws::Utils::DateTime& value) { m_deleteTimeHasBeenSet = true; m_deleteTime = value; }
201 inline void SetDeleteTime(Aws::Utils::DateTime&& value) { m_deleteTimeHasBeenSet = true; m_deleteTime = std::move(value); }
202 inline BlueGreenDeployment& WithDeleteTime(const Aws::Utils::DateTime& value) { SetDeleteTime(value); return *this;}
203 inline BlueGreenDeployment& WithDeleteTime(Aws::Utils::DateTime&& value) { SetDeleteTime(std::move(value)); return *this;}
205
207
208 inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
209 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
210 inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
211 inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); }
212 inline BlueGreenDeployment& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
213 inline BlueGreenDeployment& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
214 inline BlueGreenDeployment& AddTagList(const Tag& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
215 inline BlueGreenDeployment& AddTagList(Tag&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; }
217 private:
218
219 Aws::String m_blueGreenDeploymentIdentifier;
220 bool m_blueGreenDeploymentIdentifierHasBeenSet = false;
221
222 Aws::String m_blueGreenDeploymentName;
223 bool m_blueGreenDeploymentNameHasBeenSet = false;
224
225 Aws::String m_source;
226 bool m_sourceHasBeenSet = false;
227
228 Aws::String m_target;
229 bool m_targetHasBeenSet = false;
230
231 Aws::Vector<SwitchoverDetail> m_switchoverDetails;
232 bool m_switchoverDetailsHasBeenSet = false;
233
235 bool m_tasksHasBeenSet = false;
236
237 Aws::String m_status;
238 bool m_statusHasBeenSet = false;
239
240 Aws::String m_statusDetails;
241 bool m_statusDetailsHasBeenSet = false;
242
243 Aws::Utils::DateTime m_createTime;
244 bool m_createTimeHasBeenSet = false;
245
246 Aws::Utils::DateTime m_deleteTime;
247 bool m_deleteTimeHasBeenSet = false;
248
249 Aws::Vector<Tag> m_tagList;
250 bool m_tagListHasBeenSet = false;
251 };
252
253} // namespace Model
254} // namespace RDS
255} // namespace Aws
BlueGreenDeployment & WithBlueGreenDeploymentName(const char *value)
const Aws::Vector< Tag > & GetTagList() const
BlueGreenDeployment & WithStatus(const char *value)
BlueGreenDeployment & WithSource(const char *value)
const Aws::Vector< SwitchoverDetail > & GetSwitchoverDetails() const
void SetBlueGreenDeploymentName(Aws::String &&value)
BlueGreenDeployment & WithTagList(Aws::Vector< Tag > &&value)
BlueGreenDeployment & WithCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatusDetails() const
BlueGreenDeployment & WithStatus(const Aws::String &value)
BlueGreenDeployment & WithStatusDetails(Aws::String &&value)
BlueGreenDeployment & WithTasks(Aws::Vector< BlueGreenDeploymentTask > &&value)
BlueGreenDeployment & AddSwitchoverDetails(SwitchoverDetail &&value)
BlueGreenDeployment & WithBlueGreenDeploymentName(const Aws::String &value)
BlueGreenDeployment & WithTarget(const Aws::String &value)
BlueGreenDeployment & WithStatus(Aws::String &&value)
void SetTasks(const Aws::Vector< BlueGreenDeploymentTask > &value)
void SetSwitchoverDetails(Aws::Vector< SwitchoverDetail > &&value)
void SetBlueGreenDeploymentIdentifier(const Aws::String &value)
BlueGreenDeployment & WithSource(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateTime() const
BlueGreenDeployment & WithStatusDetails(const char *value)
BlueGreenDeployment & WithStatusDetails(const Aws::String &value)
BlueGreenDeployment & WithTasks(const Aws::Vector< BlueGreenDeploymentTask > &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetStatus() const
BlueGreenDeployment & AddTagList(const Tag &value)
const Aws::String & GetTarget() const
void SetSwitchoverDetails(const Aws::Vector< SwitchoverDetail > &value)
BlueGreenDeployment & WithTagList(const Aws::Vector< Tag > &value)
void SetDeleteTime(const Aws::Utils::DateTime &value)
void SetTagList(const Aws::Vector< Tag > &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetBlueGreenDeploymentIdentifier() const
BlueGreenDeployment & WithBlueGreenDeploymentName(Aws::String &&value)
BlueGreenDeployment & WithDeleteTime(const Aws::Utils::DateTime &value)
void SetStatus(const Aws::String &value)
void SetBlueGreenDeploymentName(const Aws::String &value)
BlueGreenDeployment & WithTarget(const char *value)
BlueGreenDeployment & AddTasks(const BlueGreenDeploymentTask &value)
AWS_RDS_API BlueGreenDeployment(const Aws::Utils::Xml::XmlNode &xmlNode)
BlueGreenDeployment & WithTarget(Aws::String &&value)
BlueGreenDeployment & AddTasks(BlueGreenDeploymentTask &&value)
BlueGreenDeployment & WithCreateTime(const Aws::Utils::DateTime &value)
void SetStatusDetails(Aws::String &&value)
BlueGreenDeployment & WithSwitchoverDetails(Aws::Vector< SwitchoverDetail > &&value)
BlueGreenDeployment & WithSwitchoverDetails(const Aws::Vector< SwitchoverDetail > &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetBlueGreenDeploymentIdentifier(const char *value)
BlueGreenDeployment & WithSource(const Aws::String &value)
BlueGreenDeployment & WithBlueGreenDeploymentIdentifier(Aws::String &&value)
void SetStatusDetails(const Aws::String &value)
BlueGreenDeployment & WithBlueGreenDeploymentIdentifier(const Aws::String &value)
void SetDeleteTime(Aws::Utils::DateTime &&value)
void SetTarget(const Aws::String &value)
BlueGreenDeployment & AddTagList(Tag &&value)
const Aws::String & GetSource() const
AWS_RDS_API BlueGreenDeployment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
BlueGreenDeployment & WithBlueGreenDeploymentIdentifier(const char *value)
BlueGreenDeployment & AddSwitchoverDetails(const SwitchoverDetail &value)
void SetSource(const Aws::String &value)
BlueGreenDeployment & WithDeleteTime(Aws::Utils::DateTime &&value)
const Aws::Vector< BlueGreenDeploymentTask > & GetTasks() const
const Aws::Utils::DateTime & GetDeleteTime() const
void SetTagList(Aws::Vector< Tag > &&value)
void SetBlueGreenDeploymentIdentifier(Aws::String &&value)
const Aws::String & GetBlueGreenDeploymentName() const
void SetTasks(Aws::Vector< BlueGreenDeploymentTask > &&value)
void SetBlueGreenDeploymentName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream