AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
33 AWS_REDSHIFT_API BatchDeleteClusterSnapshotsResult() = default;
36
37
39
42 inline const Aws::Vector<Aws::String>& GetResources() const { return m_resources; }
43 template<typename ResourcesT = Aws::Vector<Aws::String>>
44 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet = true; m_resources = std::forward<ResourcesT>(value); }
45 template<typename ResourcesT = Aws::Vector<Aws::String>>
46 BatchDeleteClusterSnapshotsResult& WithResources(ResourcesT&& value) { SetResources(std::forward<ResourcesT>(value)); return *this;}
47 template<typename ResourcesT = Aws::String>
48 BatchDeleteClusterSnapshotsResult& AddResources(ResourcesT&& value) { m_resourcesHasBeenSet = true; m_resources.emplace_back(std::forward<ResourcesT>(value)); return *this; }
50
52
55 inline const Aws::Vector<SnapshotErrorMessage>& GetErrors() const { return m_errors; }
56 template<typename ErrorsT = Aws::Vector<SnapshotErrorMessage>>
57 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
58 template<typename ErrorsT = Aws::Vector<SnapshotErrorMessage>>
59 BatchDeleteClusterSnapshotsResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
60 template<typename ErrorsT = SnapshotErrorMessage>
61 BatchDeleteClusterSnapshotsResult& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
67 template<typename ResponseMetadataT = ResponseMetadata>
68 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
69 template<typename ResponseMetadataT = ResponseMetadata>
70 BatchDeleteClusterSnapshotsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
72 private:
73
74 Aws::Vector<Aws::String> m_resources;
75 bool m_resourcesHasBeenSet = false;
76
78 bool m_errorsHasBeenSet = false;
79
80 ResponseMetadata m_responseMetadata;
81 bool m_responseMetadataHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Redshift
86} // namespace Aws
BatchDeleteClusterSnapshotsResult & WithErrors(ErrorsT &&value)
AWS_REDSHIFT_API BatchDeleteClusterSnapshotsResult()=default
BatchDeleteClusterSnapshotsResult & AddErrors(ErrorsT &&value)
BatchDeleteClusterSnapshotsResult & WithResponseMetadata(ResponseMetadataT &&value)
BatchDeleteClusterSnapshotsResult & AddResources(ResourcesT &&value)
BatchDeleteClusterSnapshotsResult & WithResources(ResourcesT &&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)
const Aws::Vector< SnapshotErrorMessage > & GetErrors() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument