AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteClusterSnapshotMessage.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace Redshift
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  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 
88  inline DeleteClusterSnapshotMessage& WithSnapshotIdentifier(const Aws::String& value) { SetSnapshotIdentifier(value); return *this;}
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 
153  inline DeleteClusterSnapshotMessage& WithSnapshotClusterIdentifier(const Aws::String& value) { SetSnapshotClusterIdentifier(value); return *this;}
154 
161  inline DeleteClusterSnapshotMessage& WithSnapshotClusterIdentifier(Aws::String&& value) { SetSnapshotClusterIdentifier(std::move(value)); return *this;}
162 
169  inline DeleteClusterSnapshotMessage& WithSnapshotClusterIdentifier(const char* value) { SetSnapshotClusterIdentifier(value); return *this;}
170 
171  private:
172 
173  Aws::String m_snapshotIdentifier;
174  bool m_snapshotIdentifierHasBeenSet;
175 
176  Aws::String m_snapshotClusterIdentifier;
177  bool m_snapshotClusterIdentifierHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace Redshift
182 } // namespace Aws
Aws::Redshift::Model::DeleteClusterSnapshotMessage::GetSnapshotClusterIdentifier
const Aws::String & GetSnapshotClusterIdentifier() const
Definition: DeleteClusterSnapshotMessage.h:113
Aws::Redshift::Model::DeleteClusterSnapshotMessage::WithSnapshotClusterIdentifier
DeleteClusterSnapshotMessage & WithSnapshotClusterIdentifier(Aws::String &&value)
Definition: DeleteClusterSnapshotMessage.h:161
Aws::Redshift::Model::DeleteClusterSnapshotMessage::DeleteClusterSnapshotMessage
DeleteClusterSnapshotMessage()
Aws::Redshift::Model::DeleteClusterSnapshotMessage::DeleteClusterSnapshotMessage
DeleteClusterSnapshotMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::DeleteClusterSnapshotMessage::SetSnapshotClusterIdentifier
void SetSnapshotClusterIdentifier(const char *value)
Definition: DeleteClusterSnapshotMessage.h:145
Aws::Redshift::Model::DeleteClusterSnapshotMessage::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
Aws::Redshift::Model::DeleteClusterSnapshotMessage::WithSnapshotIdentifier
DeleteClusterSnapshotMessage & WithSnapshotIdentifier(const char *value)
Definition: DeleteClusterSnapshotMessage.h:104
Aws::Redshift::Model::DeleteClusterSnapshotMessage::operator=
DeleteClusterSnapshotMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::DeleteClusterSnapshotMessage::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DeleteClusterSnapshotMessage::WithSnapshotIdentifier
DeleteClusterSnapshotMessage & WithSnapshotIdentifier(const Aws::String &value)
Definition: DeleteClusterSnapshotMessage.h:88
AWSString.h
Aws::Redshift::Model::DeleteClusterSnapshotMessage::SnapshotIdentifierHasBeenSet
bool SnapshotIdentifierHasBeenSet() const
Definition: DeleteClusterSnapshotMessage.h:56
Aws::Redshift::Model::DeleteClusterSnapshotMessage::WithSnapshotClusterIdentifier
DeleteClusterSnapshotMessage & WithSnapshotClusterIdentifier(const char *value)
Definition: DeleteClusterSnapshotMessage.h:169
Aws::Redshift::Model::DeleteClusterSnapshotMessage::SetSnapshotIdentifier
void SetSnapshotIdentifier(Aws::String &&value)
Definition: DeleteClusterSnapshotMessage.h:72
Aws::Redshift::Model::DeleteClusterSnapshotMessage::SetSnapshotClusterIdentifier
void SetSnapshotClusterIdentifier(Aws::String &&value)
Definition: DeleteClusterSnapshotMessage.h:137
Aws::Redshift::Model::DeleteClusterSnapshotMessage::SetSnapshotIdentifier
void SetSnapshotIdentifier(const Aws::String &value)
Definition: DeleteClusterSnapshotMessage.h:64
Aws::Redshift::Model::DeleteClusterSnapshotMessage::GetSnapshotIdentifier
const Aws::String & GetSnapshotIdentifier() const
Definition: DeleteClusterSnapshotMessage.h:48
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DeleteClusterSnapshotMessage::WithSnapshotClusterIdentifier
DeleteClusterSnapshotMessage & WithSnapshotClusterIdentifier(const Aws::String &value)
Definition: DeleteClusterSnapshotMessage.h:153
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::DeleteClusterSnapshotMessage::SnapshotClusterIdentifierHasBeenSet
bool SnapshotClusterIdentifierHasBeenSet() const
Definition: DeleteClusterSnapshotMessage.h:121
Aws::Redshift::Model::DeleteClusterSnapshotMessage::SetSnapshotIdentifier
void SetSnapshotIdentifier(const char *value)
Definition: DeleteClusterSnapshotMessage.h:80
Aws::Redshift::Model::DeleteClusterSnapshotMessage::SetSnapshotClusterIdentifier
void SetSnapshotClusterIdentifier(const Aws::String &value)
Definition: DeleteClusterSnapshotMessage.h:129
Aws::Redshift::Model::DeleteClusterSnapshotMessage
Definition: DeleteClusterSnapshotMessage.h:32
Aws::Redshift::Model::DeleteClusterSnapshotMessage::WithSnapshotIdentifier
DeleteClusterSnapshotMessage & WithSnapshotIdentifier(Aws::String &&value)
Definition: DeleteClusterSnapshotMessage.h:96