AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchDeleteClusterSnapshotsResult.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace Redshift
27{
28namespace Model
29{
31 {
32 public:
36
37
41 inline const Aws::Vector<Aws::String>& GetResources() const{ return m_resources; }
42
46 inline void SetResources(const Aws::Vector<Aws::String>& value) { m_resources = value; }
47
51 inline void SetResources(Aws::Vector<Aws::String>&& value) { m_resources = std::move(value); }
52
57
61 inline BatchDeleteClusterSnapshotsResult& WithResources(Aws::Vector<Aws::String>&& value) { SetResources(std::move(value)); return *this;}
62
66 inline BatchDeleteClusterSnapshotsResult& AddResources(const Aws::String& value) { m_resources.push_back(value); return *this; }
67
71 inline BatchDeleteClusterSnapshotsResult& AddResources(Aws::String&& value) { m_resources.push_back(std::move(value)); return *this; }
72
76 inline BatchDeleteClusterSnapshotsResult& AddResources(const char* value) { m_resources.push_back(value); return *this; }
77
78
82 inline const Aws::Vector<SnapshotErrorMessage>& GetErrors() const{ return m_errors; }
83
87 inline void SetErrors(const Aws::Vector<SnapshotErrorMessage>& value) { m_errors = value; }
88
92 inline void SetErrors(Aws::Vector<SnapshotErrorMessage>&& value) { m_errors = std::move(value); }
93
98
103
107 inline BatchDeleteClusterSnapshotsResult& AddErrors(const SnapshotErrorMessage& value) { m_errors.push_back(value); return *this; }
108
112 inline BatchDeleteClusterSnapshotsResult& AddErrors(SnapshotErrorMessage&& value) { m_errors.push_back(std::move(value)); return *this; }
113
114
115
116 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
117
118
119 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
120
121
122 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
123
124
126
127
129
130 private:
131
132 Aws::Vector<Aws::String> m_resources;
133
135
136 ResponseMetadata m_responseMetadata;
137 };
138
139} // namespace Model
140} // namespace Redshift
141} // namespace Aws
#define AWS_REDSHIFT_API
BatchDeleteClusterSnapshotsResult & AddResources(const char *value)
BatchDeleteClusterSnapshotsResult & WithResponseMetadata(const ResponseMetadata &value)
BatchDeleteClusterSnapshotsResult & WithResponseMetadata(ResponseMetadata &&value)
BatchDeleteClusterSnapshotsResult & AddResources(Aws::String &&value)
BatchDeleteClusterSnapshotsResult & AddErrors(SnapshotErrorMessage &&value)
BatchDeleteClusterSnapshotsResult & AddResources(const Aws::String &value)
BatchDeleteClusterSnapshotsResult & WithErrors(const Aws::Vector< SnapshotErrorMessage > &value)
BatchDeleteClusterSnapshotsResult & WithResources(Aws::Vector< Aws::String > &&value)
void SetErrors(const Aws::Vector< SnapshotErrorMessage > &value)
AWS_REDSHIFT_API BatchDeleteClusterSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API BatchDeleteClusterSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
BatchDeleteClusterSnapshotsResult & WithResources(const Aws::Vector< Aws::String > &value)
const Aws::Vector< SnapshotErrorMessage > & GetErrors() const
BatchDeleteClusterSnapshotsResult & WithErrors(Aws::Vector< SnapshotErrorMessage > &&value)
BatchDeleteClusterSnapshotsResult & AddErrors(const SnapshotErrorMessage &value)
void SetErrors(Aws::Vector< SnapshotErrorMessage > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector