AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteClusterSnapshotMessage.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace Redshift {
20namespace Model {
21
28 public:
29 AWS_REDSHIFT_API DeleteClusterSnapshotMessage() = default;
32
33 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
43 inline const Aws::String& GetSnapshotIdentifier() const { return m_snapshotIdentifier; }
44 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
45 template <typename SnapshotIdentifierT = Aws::String>
46 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) {
47 m_snapshotIdentifierHasBeenSet = true;
48 m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value);
49 }
50 template <typename SnapshotIdentifierT = Aws::String>
52 SetSnapshotIdentifier(std::forward<SnapshotIdentifierT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::String& GetSnapshotClusterIdentifier() const { return m_snapshotClusterIdentifier; }
65 inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
66 template <typename SnapshotClusterIdentifierT = Aws::String>
67 void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) {
68 m_snapshotClusterIdentifierHasBeenSet = true;
69 m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value);
70 }
71 template <typename SnapshotClusterIdentifierT = Aws::String>
72 DeleteClusterSnapshotMessage& WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) {
73 SetSnapshotClusterIdentifier(std::forward<SnapshotClusterIdentifierT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_snapshotIdentifier;
79
80 Aws::String m_snapshotClusterIdentifier;
81 bool m_snapshotIdentifierHasBeenSet = false;
82 bool m_snapshotClusterIdentifierHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Redshift
87} // namespace Aws
AWS_REDSHIFT_API DeleteClusterSnapshotMessage()=default
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API DeleteClusterSnapshotMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
DeleteClusterSnapshotMessage & WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
DeleteClusterSnapshotMessage & WithSnapshotIdentifier(SnapshotIdentifierT &&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