AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteClusterSnapshotsResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/model/ResponseMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/redshift/model/SnapshotErrorMessage.h>
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
39
42 inline const Aws::Vector<Aws::String>& GetResources() const{ return m_resources; }
43 inline void SetResources(const Aws::Vector<Aws::String>& value) { m_resources = value; }
44 inline void SetResources(Aws::Vector<Aws::String>&& value) { m_resources = std::move(value); }
46 inline BatchDeleteClusterSnapshotsResult& WithResources(Aws::Vector<Aws::String>&& value) { SetResources(std::move(value)); return *this;}
47 inline BatchDeleteClusterSnapshotsResult& AddResources(const Aws::String& value) { m_resources.push_back(value); return *this; }
48 inline BatchDeleteClusterSnapshotsResult& AddResources(Aws::String&& value) { m_resources.push_back(std::move(value)); return *this; }
49 inline BatchDeleteClusterSnapshotsResult& AddResources(const char* value) { m_resources.push_back(value); return *this; }
51
53
56 inline const Aws::Vector<SnapshotErrorMessage>& GetErrors() const{ return m_errors; }
57 inline void SetErrors(const Aws::Vector<SnapshotErrorMessage>& value) { m_errors = value; }
58 inline void SetErrors(Aws::Vector<SnapshotErrorMessage>&& value) { m_errors = std::move(value); }
61 inline BatchDeleteClusterSnapshotsResult& AddErrors(const SnapshotErrorMessage& value) { m_errors.push_back(value); return *this; }
62 inline BatchDeleteClusterSnapshotsResult& AddErrors(SnapshotErrorMessage&& value) { m_errors.push_back(std::move(value)); return *this; }
64
66
67 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
68 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
69 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
73 private:
74
75 Aws::Vector<Aws::String> m_resources;
76
78
79 ResponseMetadata m_responseMetadata;
80 };
81
82} // namespace Model
83} // namespace Redshift
84} // namespace Aws
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
Aws::Utils::Xml::XmlDocument XmlDocument