AWS SDK for C++  1.9.110
AWS SDK for C++
DescribeClusterSubnetGroupsResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace Redshift
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
52  inline const Aws::String& GetMarker() const{ return m_marker; }
53 
62  inline void SetMarker(const Aws::String& value) { m_marker = value; }
63 
72  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
73 
82  inline void SetMarker(const char* value) { m_marker.assign(value); }
83 
92  inline DescribeClusterSubnetGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
93 
102  inline DescribeClusterSubnetGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
103 
112  inline DescribeClusterSubnetGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
113 
114 
118  inline const Aws::Vector<ClusterSubnetGroup>& GetClusterSubnetGroups() const{ return m_clusterSubnetGroups; }
119 
123  inline void SetClusterSubnetGroups(const Aws::Vector<ClusterSubnetGroup>& value) { m_clusterSubnetGroups = value; }
124 
128  inline void SetClusterSubnetGroups(Aws::Vector<ClusterSubnetGroup>&& value) { m_clusterSubnetGroups = std::move(value); }
129 
133  inline DescribeClusterSubnetGroupsResult& WithClusterSubnetGroups(const Aws::Vector<ClusterSubnetGroup>& value) { SetClusterSubnetGroups(value); return *this;}
134 
138  inline DescribeClusterSubnetGroupsResult& WithClusterSubnetGroups(Aws::Vector<ClusterSubnetGroup>&& value) { SetClusterSubnetGroups(std::move(value)); return *this;}
139 
143  inline DescribeClusterSubnetGroupsResult& AddClusterSubnetGroups(const ClusterSubnetGroup& value) { m_clusterSubnetGroups.push_back(value); return *this; }
144 
148  inline DescribeClusterSubnetGroupsResult& AddClusterSubnetGroups(ClusterSubnetGroup&& value) { m_clusterSubnetGroups.push_back(std::move(value)); return *this; }
149 
150 
151 
152  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
153 
154 
155  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
156 
157 
158  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
159 
160 
161  inline DescribeClusterSubnetGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
162 
163 
164  inline DescribeClusterSubnetGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
165 
166  private:
167 
168  Aws::String m_marker;
169 
170  Aws::Vector<ClusterSubnetGroup> m_clusterSubnetGroups;
171 
172  ResponseMetadata m_responseMetadata;
173  };
174 
175 } // namespace Model
176 } // namespace Redshift
177 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::ClusterSubnetGroup
Definition: ClusterSubnetGroup.h:35
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::WithClusterSubnetGroups
DescribeClusterSubnetGroupsResult & WithClusterSubnetGroups(Aws::Vector< ClusterSubnetGroup > &&value)
Definition: DescribeClusterSubnetGroupsResult.h:138
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::WithClusterSubnetGroups
DescribeClusterSubnetGroupsResult & WithClusterSubnetGroups(const Aws::Vector< ClusterSubnetGroup > &value)
Definition: DescribeClusterSubnetGroupsResult.h:133
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::DescribeClusterSubnetGroupsResult
DescribeClusterSubnetGroupsResult()
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::SetClusterSubnetGroups
void SetClusterSubnetGroups(const Aws::Vector< ClusterSubnetGroup > &value)
Definition: DescribeClusterSubnetGroupsResult.h:123
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeClusterSubnetGroupsResult.h:158
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeClusterSubnetGroupsResult.h:152
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::WithMarker
DescribeClusterSubnetGroupsResult & WithMarker(Aws::String &&value)
Definition: DescribeClusterSubnetGroupsResult.h:102
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterSubnetGroupsResult.h:52
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::GetClusterSubnetGroups
const Aws::Vector< ClusterSubnetGroup > & GetClusterSubnetGroups() const
Definition: DescribeClusterSubnetGroupsResult.h:118
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::WithResponseMetadata
DescribeClusterSubnetGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeClusterSubnetGroupsResult.h:164
ClusterSubnetGroup.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::operator=
DescribeClusterSubnetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::WithResponseMetadata
DescribeClusterSubnetGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeClusterSubnetGroupsResult.h:161
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::SetClusterSubnetGroups
void SetClusterSubnetGroups(Aws::Vector< ClusterSubnetGroup > &&value)
Definition: DescribeClusterSubnetGroupsResult.h:128
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult
Definition: DescribeClusterSubnetGroupsResult.h:37
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterSubnetGroupsResult.h:62
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::DescribeClusterSubnetGroupsResult
DescribeClusterSubnetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::WithMarker
DescribeClusterSubnetGroupsResult & WithMarker(const Aws::String &value)
Definition: DescribeClusterSubnetGroupsResult.h:92
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::AddClusterSubnetGroups
DescribeClusterSubnetGroupsResult & AddClusterSubnetGroups(const ClusterSubnetGroup &value)
Definition: DescribeClusterSubnetGroupsResult.h:143
AWSString.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterSubnetGroupsResult.h:82
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeClusterSubnetGroupsResult.h:155
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterSubnetGroupsResult.h:72
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::WithMarker
DescribeClusterSubnetGroupsResult & WithMarker(const char *value)
Definition: DescribeClusterSubnetGroupsResult.h:112
Aws::Redshift::Model::DescribeClusterSubnetGroupsResult::AddClusterSubnetGroups
DescribeClusterSubnetGroupsResult & AddClusterSubnetGroups(ClusterSubnetGroup &&value)
Definition: DescribeClusterSubnetGroupsResult.h:148