AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeDBSubnetGroupsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
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 RDS
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
49  inline const Aws::String& GetMarker() const{ return m_marker; }
50 
56  inline void SetMarker(const Aws::String& value) { m_marker = value; }
57 
63  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
64 
70  inline void SetMarker(const char* value) { m_marker.assign(value); }
71 
77  inline DescribeDBSubnetGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
78 
84  inline DescribeDBSubnetGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 
91  inline DescribeDBSubnetGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
92 
93 
97  inline const Aws::Vector<DBSubnetGroup>& GetDBSubnetGroups() const{ return m_dBSubnetGroups; }
98 
102  inline void SetDBSubnetGroups(const Aws::Vector<DBSubnetGroup>& value) { m_dBSubnetGroups = value; }
103 
107  inline void SetDBSubnetGroups(Aws::Vector<DBSubnetGroup>&& value) { m_dBSubnetGroups = std::move(value); }
108 
112  inline DescribeDBSubnetGroupsResult& WithDBSubnetGroups(const Aws::Vector<DBSubnetGroup>& value) { SetDBSubnetGroups(value); return *this;}
113 
117  inline DescribeDBSubnetGroupsResult& WithDBSubnetGroups(Aws::Vector<DBSubnetGroup>&& value) { SetDBSubnetGroups(std::move(value)); return *this;}
118 
122  inline DescribeDBSubnetGroupsResult& AddDBSubnetGroups(const DBSubnetGroup& value) { m_dBSubnetGroups.push_back(value); return *this; }
123 
127  inline DescribeDBSubnetGroupsResult& AddDBSubnetGroups(DBSubnetGroup&& value) { m_dBSubnetGroups.push_back(std::move(value)); return *this; }
128 
129 
130 
131  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
132 
133 
134  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
135 
136 
137  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
138 
139 
140  inline DescribeDBSubnetGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
141 
142 
143  inline DescribeDBSubnetGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
144 
145  private:
146 
147  Aws::String m_marker;
148 
149  Aws::Vector<DBSubnetGroup> m_dBSubnetGroups;
150 
151  ResponseMetadata m_responseMetadata;
152  };
153 
154 } // namespace Model
155 } // namespace RDS
156 } // namespace Aws
Aws::RDS::Model::DescribeDBSubnetGroupsResult::GetDBSubnetGroups
const Aws::Vector< DBSubnetGroup > & GetDBSubnetGroups() const
Definition: DescribeDBSubnetGroupsResult.h:97
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeDBSubnetGroupsResult::WithDBSubnetGroups
DescribeDBSubnetGroupsResult & WithDBSubnetGroups(const Aws::Vector< DBSubnetGroup > &value)
Definition: DescribeDBSubnetGroupsResult.h:112
Aws::RDS::Model::DescribeDBSubnetGroupsResult::DescribeDBSubnetGroupsResult
DescribeDBSubnetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DBSubnetGroup
Definition: DBSubnetGroup.h:36
Aws::RDS::Model::DescribeDBSubnetGroupsResult::WithDBSubnetGroups
DescribeDBSubnetGroupsResult & WithDBSubnetGroups(Aws::Vector< DBSubnetGroup > &&value)
Definition: DescribeDBSubnetGroupsResult.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeDBSubnetGroupsResult
Definition: DescribeDBSubnetGroupsResult.h:37
Aws::RDS::Model::DescribeDBSubnetGroupsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBSubnetGroupsResult.h:63
Aws::RDS::Model::DescribeDBSubnetGroupsResult::AddDBSubnetGroups
DescribeDBSubnetGroupsResult & AddDBSubnetGroups(const DBSubnetGroup &value)
Definition: DescribeDBSubnetGroupsResult.h:122
Aws::RDS::Model::DescribeDBSubnetGroupsResult::SetDBSubnetGroups
void SetDBSubnetGroups(Aws::Vector< DBSubnetGroup > &&value)
Definition: DescribeDBSubnetGroupsResult.h:107
Aws::RDS::Model::DescribeDBSubnetGroupsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBSubnetGroupsResult.h:137
RDS_EXPORTS.h
AWSString.h
Aws::RDS::Model::DescribeDBSubnetGroupsResult::WithResponseMetadata
DescribeDBSubnetGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBSubnetGroupsResult.h:143
Aws::RDS::Model::DescribeDBSubnetGroupsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBSubnetGroupsResult.h:49
Aws::RDS::Model::DescribeDBSubnetGroupsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBSubnetGroupsResult.h:70
DBSubnetGroup.h
Aws::RDS::Model::DescribeDBSubnetGroupsResult::WithMarker
DescribeDBSubnetGroupsResult & WithMarker(Aws::String &&value)
Definition: DescribeDBSubnetGroupsResult.h:84
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBSubnetGroupsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBSubnetGroupsResult.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBSubnetGroupsResult::SetDBSubnetGroups
void SetDBSubnetGroups(const Aws::Vector< DBSubnetGroup > &value)
Definition: DescribeDBSubnetGroupsResult.h:102
ResponseMetadata.h
Aws::RDS::Model::DescribeDBSubnetGroupsResult::WithMarker
DescribeDBSubnetGroupsResult & WithMarker(const char *value)
Definition: DescribeDBSubnetGroupsResult.h:91
Aws::RDS::Model::DescribeDBSubnetGroupsResult::WithMarker
DescribeDBSubnetGroupsResult & WithMarker(const Aws::String &value)
Definition: DescribeDBSubnetGroupsResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBSubnetGroupsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBSubnetGroupsResult.h:134
Aws::RDS::Model::DescribeDBSubnetGroupsResult::AddDBSubnetGroups
DescribeDBSubnetGroupsResult & AddDBSubnetGroups(DBSubnetGroup &&value)
Definition: DescribeDBSubnetGroupsResult.h:127
Aws::RDS::Model::DescribeDBSubnetGroupsResult::operator=
DescribeDBSubnetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBSubnetGroupsResult::WithResponseMetadata
DescribeDBSubnetGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBSubnetGroupsResult.h:140
Aws::RDS::Model::DescribeDBSubnetGroupsResult::DescribeDBSubnetGroupsResult
DescribeDBSubnetGroupsResult()
Aws::RDS::Model::DescribeDBSubnetGroupsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeDBSubnetGroupsResult.h:131