AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlueGreenDeploymentTask.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
39 {
40 public:
44
45 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
58 inline BlueGreenDeploymentTask& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline BlueGreenDeploymentTask& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline BlueGreenDeploymentTask& WithName(const char* value) { SetName(value); return *this;}
62
64
72 inline const Aws::String& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
77 inline BlueGreenDeploymentTask& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
78 inline BlueGreenDeploymentTask& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
79 inline BlueGreenDeploymentTask& WithStatus(const char* value) { SetStatus(value); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_status;
87 bool m_statusHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace RDS
92} // namespace Aws
BlueGreenDeploymentTask & WithName(Aws::String &&value)
BlueGreenDeploymentTask & WithStatus(const char *value)
BlueGreenDeploymentTask & WithStatus(Aws::String &&value)
BlueGreenDeploymentTask & WithName(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API BlueGreenDeploymentTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
BlueGreenDeploymentTask & WithName(const Aws::String &value)
AWS_RDS_API BlueGreenDeploymentTask(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
BlueGreenDeploymentTask & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream