AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteClusterSnapshotMessage.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Redshift
22{
23namespace Model
24{
25
32 {
33 public:
37
38 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
48 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
49
56 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
57
64 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
65
72 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
73
80 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
81
89
96 inline DeleteClusterSnapshotMessage& WithSnapshotIdentifier(Aws::String&& value) { SetSnapshotIdentifier(std::move(value)); return *this;}
97
104 inline DeleteClusterSnapshotMessage& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
105
106
113 inline const Aws::String& GetSnapshotClusterIdentifier() const{ return m_snapshotClusterIdentifier; }
114
121 inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
122
129 inline void SetSnapshotClusterIdentifier(const Aws::String& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = value; }
130
137 inline void SetSnapshotClusterIdentifier(Aws::String&& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::move(value); }
138
145 inline void SetSnapshotClusterIdentifier(const char* value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier.assign(value); }
146
154
162
170
171 private:
172
173 Aws::String m_snapshotIdentifier;
174 bool m_snapshotIdentifierHasBeenSet = false;
175
176 Aws::String m_snapshotClusterIdentifier;
177 bool m_snapshotClusterIdentifierHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace Redshift
182} // namespace Aws
#define AWS_REDSHIFT_API
DeleteClusterSnapshotMessage & WithSnapshotIdentifier(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API DeleteClusterSnapshotMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
DeleteClusterSnapshotMessage & WithSnapshotClusterIdentifier(Aws::String &&value)
DeleteClusterSnapshotMessage & WithSnapshotIdentifier(const Aws::String &value)
DeleteClusterSnapshotMessage & WithSnapshotClusterIdentifier(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DeleteClusterSnapshotMessage & WithSnapshotIdentifier(Aws::String &&value)
DeleteClusterSnapshotMessage & WithSnapshotClusterIdentifier(const char *value)
AWS_REDSHIFT_API DeleteClusterSnapshotMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream