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>
59 template<
typename BlueGreenDeploymentIdentifierT = Aws::String>
60 void SetBlueGreenDeploymentIdentifier(BlueGreenDeploymentIdentifierT&& value) { m_blueGreenDeploymentIdentifierHasBeenSet =
true; m_blueGreenDeploymentIdentifier = std::forward<BlueGreenDeploymentIdentifierT>(value); }
61 template<
typename BlueGreenDeploymentIdentifierT = Aws::String>
71 template<
typename BlueGreenDeploymentNameT = Aws::String>
72 void SetBlueGreenDeploymentName(BlueGreenDeploymentNameT&& value) { m_blueGreenDeploymentNameHasBeenSet =
true; m_blueGreenDeploymentName = std::forward<BlueGreenDeploymentNameT>(value); }
73 template<
typename BlueGreenDeploymentNameT = Aws::String>
84 template<
typename SourceT = Aws::String>
85 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
86 template<
typename SourceT = Aws::String>
97 template<
typename TargetT = Aws::String>
98 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
99 template<
typename TargetT = Aws::String>
110 template<
typename SwitchoverDetailsT = Aws::Vector<SwitchoverDetail>>
111 void SetSwitchoverDetails(SwitchoverDetailsT&& value) { m_switchoverDetailsHasBeenSet =
true; m_switchoverDetails = std::forward<SwitchoverDetailsT>(value); }
112 template<
typename SwitchoverDetailsT = Aws::Vector<SwitchoverDetail>>
114 template<
typename SwitchoverDetailsT = SwitchoverDetail>
125 template<
typename TasksT = Aws::Vector<BlueGreenDeploymentTask>>
126 void SetTasks(TasksT&& value) { m_tasksHasBeenSet =
true; m_tasks = std::forward<TasksT>(value); }
127 template<
typename TasksT = Aws::Vector<BlueGreenDeploymentTask>>
129 template<
typename TasksT = BlueGreenDeploymentTask>
150 template<
typename StatusT = Aws::String>
151 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
152 template<
typename StatusT = Aws::String>
162 template<
typename StatusDetailsT = Aws::String>
163 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet =
true; m_statusDetails = std::forward<StatusDetailsT>(value); }
164 template<
typename StatusDetailsT = Aws::String>
175 template<
typename CreateTimeT = Aws::Utils::DateTime>
176 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
177 template<
typename CreateTimeT = Aws::Utils::DateTime>
188 template<
typename DeleteTimeT = Aws::Utils::DateTime>
189 void SetDeleteTime(DeleteTimeT&& value) { m_deleteTimeHasBeenSet =
true; m_deleteTime = std::forward<DeleteTimeT>(value); }
190 template<
typename DeleteTimeT = Aws::Utils::DateTime>
198 template<
typename TagListT = Aws::Vector<Tag>>
199 void SetTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList = std::forward<TagListT>(value); }
200 template<
typename TagListT = Aws::Vector<Tag>>
202 template<
typename TagListT = Tag>
208 bool m_blueGreenDeploymentIdentifierHasBeenSet =
false;
211 bool m_blueGreenDeploymentNameHasBeenSet =
false;
214 bool m_sourceHasBeenSet =
false;
217 bool m_targetHasBeenSet =
false;
220 bool m_switchoverDetailsHasBeenSet =
false;
223 bool m_tasksHasBeenSet =
false;
226 bool m_statusHasBeenSet =
false;
229 bool m_statusDetailsHasBeenSet =
false;
232 bool m_createTimeHasBeenSet =
false;
235 bool m_deleteTimeHasBeenSet =
false;
238 bool m_tagListHasBeenSet =
false;
BlueGreenDeployment & WithStatus(StatusT &&value)
void SetBlueGreenDeploymentName(BlueGreenDeploymentNameT &&value)
void SetBlueGreenDeploymentIdentifier(BlueGreenDeploymentIdentifierT &&value)
const Aws::Vector< Tag > & GetTagList() const
const Aws::Vector< SwitchoverDetail > & GetSwitchoverDetails() const
bool SwitchoverDetailsHasBeenSet() const
BlueGreenDeployment & WithSwitchoverDetails(SwitchoverDetailsT &&value)
bool CreateTimeHasBeenSet() const
const Aws::String & GetStatusDetails() const
BlueGreenDeployment & AddTagList(TagListT &&value)
bool DeleteTimeHasBeenSet() const
BlueGreenDeployment & AddTasks(TasksT &&value)
bool TargetHasBeenSet() const
BlueGreenDeployment & WithBlueGreenDeploymentIdentifier(BlueGreenDeploymentIdentifierT &&value)
bool TagListHasBeenSet() const
void SetSwitchoverDetails(SwitchoverDetailsT &&value)
BlueGreenDeployment & WithStatusDetails(StatusDetailsT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
BlueGreenDeployment & WithBlueGreenDeploymentName(BlueGreenDeploymentNameT &&value)
const Aws::String & GetStatus() const
BlueGreenDeployment & WithTasks(TasksT &&value)
BlueGreenDeployment & AddSwitchoverDetails(SwitchoverDetailsT &&value)
const Aws::String & GetTarget() const
void SetStatus(StatusT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetBlueGreenDeploymentIdentifier() const
void SetCreateTime(CreateTimeT &&value)
AWS_RDS_API BlueGreenDeployment()=default
BlueGreenDeployment & WithSource(SourceT &&value)
bool StatusHasBeenSet() const
BlueGreenDeployment & WithTagList(TagListT &&value)
AWS_RDS_API BlueGreenDeployment(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTasks(TasksT &&value)
bool BlueGreenDeploymentNameHasBeenSet() const
void SetTarget(TargetT &&value)
void SetTagList(TagListT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TasksHasBeenSet() const
BlueGreenDeployment & WithCreateTime(CreateTimeT &&value)
void SetSource(SourceT &&value)
const Aws::String & GetSource() const
void SetDeleteTime(DeleteTimeT &&value)
AWS_RDS_API BlueGreenDeployment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SourceHasBeenSet() const
bool StatusDetailsHasBeenSet() const
const Aws::Vector< BlueGreenDeploymentTask > & GetTasks() const
const Aws::Utils::DateTime & GetDeleteTime() const
const Aws::String & GetBlueGreenDeploymentName() const
BlueGreenDeployment & WithTarget(TargetT &&value)
BlueGreenDeployment & WithDeleteTime(DeleteTimeT &&value)
bool BlueGreenDeploymentIdentifierHasBeenSet() const
void SetStatusDetails(StatusDetailsT &&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