AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
DescribeClusterSubnetGroupsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ClusterSubnetGroup.h>
11#include <aws/redshift/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift {
25namespace Model {
33 public:
34 AWS_REDSHIFT_API DescribeClusterSubnetGroupsResult() = default;
37
39
47 inline const Aws::String& GetMarker() const { return m_marker; }
48 template <typename MarkerT = Aws::String>
49 void SetMarker(MarkerT&& value) {
50 m_markerHasBeenSet = true;
51 m_marker = std::forward<MarkerT>(value);
52 }
53 template <typename MarkerT = Aws::String>
55 SetMarker(std::forward<MarkerT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<ClusterSubnetGroup>& GetClusterSubnetGroups() const { return m_clusterSubnetGroups; }
65 template <typename ClusterSubnetGroupsT = Aws::Vector<ClusterSubnetGroup>>
66 void SetClusterSubnetGroups(ClusterSubnetGroupsT&& value) {
67 m_clusterSubnetGroupsHasBeenSet = true;
68 m_clusterSubnetGroups = std::forward<ClusterSubnetGroupsT>(value);
69 }
70 template <typename ClusterSubnetGroupsT = Aws::Vector<ClusterSubnetGroup>>
72 SetClusterSubnetGroups(std::forward<ClusterSubnetGroupsT>(value));
73 return *this;
74 }
75 template <typename ClusterSubnetGroupsT = ClusterSubnetGroup>
77 m_clusterSubnetGroupsHasBeenSet = true;
78 m_clusterSubnetGroups.emplace_back(std::forward<ClusterSubnetGroupsT>(value));
79 return *this;
80 }
82
84
85 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
86 template <typename ResponseMetadataT = ResponseMetadata>
87 void SetResponseMetadata(ResponseMetadataT&& value) {
88 m_responseMetadataHasBeenSet = true;
89 m_responseMetadata = std::forward<ResponseMetadataT>(value);
90 }
91 template <typename ResponseMetadataT = ResponseMetadata>
93 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_marker;
99
100 Aws::Vector<ClusterSubnetGroup> m_clusterSubnetGroups;
101
102 ResponseMetadata m_responseMetadata;
103 bool m_markerHasBeenSet = false;
104 bool m_clusterSubnetGroupsHasBeenSet = false;
105 bool m_responseMetadataHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Redshift
110} // namespace Aws
AWS_REDSHIFT_API DescribeClusterSubnetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterSubnetGroupsResult & WithMarker(MarkerT &&value)
DescribeClusterSubnetGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeClusterSubnetGroupsResult & AddClusterSubnetGroups(ClusterSubnetGroupsT &&value)
DescribeClusterSubnetGroupsResult & WithClusterSubnetGroups(ClusterSubnetGroupsT &&value)
AWS_REDSHIFT_API DescribeClusterSubnetGroupsResult()=default
const Aws::Vector< ClusterSubnetGroup > & GetClusterSubnetGroups() const
AWS_REDSHIFT_API DescribeClusterSubnetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument