AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteClusterSnapshotMessage.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 <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:
34 AWS_REDSHIFT_API DeleteClusterSnapshotMessage() = default;
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
43
49 inline const Aws::String& GetSnapshotIdentifier() const { return m_snapshotIdentifier; }
50 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
51 template<typename SnapshotIdentifierT = Aws::String>
52 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
53 template<typename SnapshotIdentifierT = Aws::String>
54 DeleteClusterSnapshotMessage& WithSnapshotIdentifier(SnapshotIdentifierT&& value) { SetSnapshotIdentifier(std::forward<SnapshotIdentifierT>(value)); return *this;}
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) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value); }
68 template<typename SnapshotClusterIdentifierT = Aws::String>
69 DeleteClusterSnapshotMessage& WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) { SetSnapshotClusterIdentifier(std::forward<SnapshotClusterIdentifierT>(value)); return *this;}
71 private:
72
73 Aws::String m_snapshotIdentifier;
74 bool m_snapshotIdentifierHasBeenSet = false;
75
76 Aws::String m_snapshotClusterIdentifier;
77 bool m_snapshotClusterIdentifierHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Redshift
82} // 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