AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevisionTarget.h
1
6#pragma once
7#include <aws/redshift/Redshift_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/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Redshift
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_REDSHIFT_API RevisionTarget();
36 AWS_REDSHIFT_API RevisionTarget(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_REDSHIFT_API RevisionTarget& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const Aws::String& GetDatabaseRevision() const{ return m_databaseRevision; }
49 inline bool DatabaseRevisionHasBeenSet() const { return m_databaseRevisionHasBeenSet; }
50 inline void SetDatabaseRevision(const Aws::String& value) { m_databaseRevisionHasBeenSet = true; m_databaseRevision = value; }
51 inline void SetDatabaseRevision(Aws::String&& value) { m_databaseRevisionHasBeenSet = true; m_databaseRevision = std::move(value); }
52 inline void SetDatabaseRevision(const char* value) { m_databaseRevisionHasBeenSet = true; m_databaseRevision.assign(value); }
53 inline RevisionTarget& WithDatabaseRevision(const Aws::String& value) { SetDatabaseRevision(value); return *this;}
54 inline RevisionTarget& WithDatabaseRevision(Aws::String&& value) { SetDatabaseRevision(std::move(value)); return *this;}
55 inline RevisionTarget& WithDatabaseRevision(const char* value) { SetDatabaseRevision(value); return *this;}
57
59
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline RevisionTarget& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline RevisionTarget& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline RevisionTarget& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetDatabaseRevisionReleaseDate() const{ return m_databaseRevisionReleaseDate; }
78 inline bool DatabaseRevisionReleaseDateHasBeenSet() const { return m_databaseRevisionReleaseDateHasBeenSet; }
79 inline void SetDatabaseRevisionReleaseDate(const Aws::Utils::DateTime& value) { m_databaseRevisionReleaseDateHasBeenSet = true; m_databaseRevisionReleaseDate = value; }
80 inline void SetDatabaseRevisionReleaseDate(Aws::Utils::DateTime&& value) { m_databaseRevisionReleaseDateHasBeenSet = true; m_databaseRevisionReleaseDate = std::move(value); }
84 private:
85
86 Aws::String m_databaseRevision;
87 bool m_databaseRevisionHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91
92 Aws::Utils::DateTime m_databaseRevisionReleaseDate;
93 bool m_databaseRevisionReleaseDateHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Redshift
98} // namespace Aws
const Aws::String & GetDescription() const
AWS_REDSHIFT_API RevisionTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetDatabaseRevisionReleaseDate() const
RevisionTarget & WithDatabaseRevisionReleaseDate(Aws::Utils::DateTime &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDatabaseRevision(const char *value)
void SetDescription(Aws::String &&value)
RevisionTarget & WithDescription(Aws::String &&value)
RevisionTarget & WithDatabaseRevision(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDatabaseRevision() const
AWS_REDSHIFT_API RevisionTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDatabaseRevisionReleaseDate(Aws::Utils::DateTime &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RevisionTarget & WithDatabaseRevisionReleaseDate(const Aws::Utils::DateTime &value)
RevisionTarget & WithDatabaseRevision(Aws::String &&value)
void SetDatabaseRevision(const Aws::String &value)
RevisionTarget & WithDescription(const Aws::String &value)
void SetDatabaseRevision(Aws::String &&value)
RevisionTarget & WithDescription(const char *value)
void SetDatabaseRevisionReleaseDate(const Aws::Utils::DateTime &value)
RevisionTarget & WithDatabaseRevision(const char *value)
void SetDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream