AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeClusterSubnetGroupsResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/ClusterSubnetGroup.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{
37 {
38 public:
42
43
45
53 inline const Aws::String& GetMarker() const{ return m_marker; }
54 inline void SetMarker(const Aws::String& value) { m_marker = value; }
55 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
56 inline void SetMarker(const char* value) { m_marker.assign(value); }
57 inline DescribeClusterSubnetGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
58 inline DescribeClusterSubnetGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
59 inline DescribeClusterSubnetGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
61
63
66 inline const Aws::Vector<ClusterSubnetGroup>& GetClusterSubnetGroups() const{ return m_clusterSubnetGroups; }
67 inline void SetClusterSubnetGroups(const Aws::Vector<ClusterSubnetGroup>& value) { m_clusterSubnetGroups = value; }
68 inline void SetClusterSubnetGroups(Aws::Vector<ClusterSubnetGroup>&& value) { m_clusterSubnetGroups = std::move(value); }
71 inline DescribeClusterSubnetGroupsResult& AddClusterSubnetGroups(const ClusterSubnetGroup& value) { m_clusterSubnetGroups.push_back(value); return *this; }
72 inline DescribeClusterSubnetGroupsResult& AddClusterSubnetGroups(ClusterSubnetGroup&& value) { m_clusterSubnetGroups.push_back(std::move(value)); return *this; }
74
76
77 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
78 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
79 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
83 private:
84
85 Aws::String m_marker;
86
87 Aws::Vector<ClusterSubnetGroup> m_clusterSubnetGroups;
88
89 ResponseMetadata m_responseMetadata;
90 };
91
92} // namespace Model
93} // namespace Redshift
94} // namespace Aws
DescribeClusterSubnetGroupsResult & WithClusterSubnetGroups(Aws::Vector< ClusterSubnetGroup > &&value)
AWS_REDSHIFT_API DescribeClusterSubnetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterSubnetGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeClusterSubnetGroupsResult & WithMarker(Aws::String &&value)
void SetClusterSubnetGroups(const Aws::Vector< ClusterSubnetGroup > &value)
DescribeClusterSubnetGroupsResult & AddClusterSubnetGroups(ClusterSubnetGroup &&value)
DescribeClusterSubnetGroupsResult & AddClusterSubnetGroups(const ClusterSubnetGroup &value)
DescribeClusterSubnetGroupsResult & WithMarker(const char *value)
DescribeClusterSubnetGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeClusterSubnetGroupsResult & WithMarker(const Aws::String &value)
DescribeClusterSubnetGroupsResult & WithClusterSubnetGroups(const Aws::Vector< ClusterSubnetGroup > &value)
void SetClusterSubnetGroups(Aws::Vector< ClusterSubnetGroup > &&value)
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