AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeDBProxyTargetGroupsResult.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 {
31  {
32  public:
36 
37 
42  inline const Aws::Vector<DBProxyTargetGroup>& GetTargetGroups() const{ return m_targetGroups; }
43 
48  inline void SetTargetGroups(const Aws::Vector<DBProxyTargetGroup>& value) { m_targetGroups = value; }
49 
54  inline void SetTargetGroups(Aws::Vector<DBProxyTargetGroup>&& value) { m_targetGroups = std::move(value); }
55 
60  inline DescribeDBProxyTargetGroupsResult& WithTargetGroups(const Aws::Vector<DBProxyTargetGroup>& value) { SetTargetGroups(value); return *this;}
61 
66  inline DescribeDBProxyTargetGroupsResult& WithTargetGroups(Aws::Vector<DBProxyTargetGroup>&& value) { SetTargetGroups(std::move(value)); return *this;}
67 
72  inline DescribeDBProxyTargetGroupsResult& AddTargetGroups(const DBProxyTargetGroup& value) { m_targetGroups.push_back(value); return *this; }
73 
78  inline DescribeDBProxyTargetGroupsResult& AddTargetGroups(DBProxyTargetGroup&& value) { m_targetGroups.push_back(std::move(value)); return *this; }
79 
80 
86  inline const Aws::String& GetMarker() const{ return m_marker; }
87 
93  inline void SetMarker(const Aws::String& value) { m_marker = value; }
94 
100  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
101 
107  inline void SetMarker(const char* value) { m_marker.assign(value); }
108 
114  inline DescribeDBProxyTargetGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
115 
121  inline DescribeDBProxyTargetGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
122 
128  inline DescribeDBProxyTargetGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
129 
130 
131 
132  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
133 
134 
135  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
136 
137 
138  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
139 
140 
141  inline DescribeDBProxyTargetGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
142 
143 
144  inline DescribeDBProxyTargetGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
145 
146  private:
147 
148  Aws::Vector<DBProxyTargetGroup> m_targetGroups;
149 
150  Aws::String m_marker;
151 
152  ResponseMetadata m_responseMetadata;
153  };
154 
155 } // namespace Model
156 } // namespace RDS
157 } // namespace Aws
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBProxyTargetGroupsResult.h:135
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::SetTargetGroups
void SetTargetGroups(Aws::Vector< DBProxyTargetGroup > &&value)
Definition: DescribeDBProxyTargetGroupsResult.h:54
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBProxyTargetGroupsResult.h:100
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBProxyTargetGroupsResult.h:138
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::SetTargetGroups
void SetTargetGroups(const Aws::Vector< DBProxyTargetGroup > &value)
Definition: DescribeDBProxyTargetGroupsResult.h:48
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::AddTargetGroups
DescribeDBProxyTargetGroupsResult & AddTargetGroups(const DBProxyTargetGroup &value)
Definition: DescribeDBProxyTargetGroupsResult.h:72
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::operator=
DescribeDBProxyTargetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::WithResponseMetadata
DescribeDBProxyTargetGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBProxyTargetGroupsResult.h:144
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::WithMarker
DescribeDBProxyTargetGroupsResult & WithMarker(Aws::String &&value)
Definition: DescribeDBProxyTargetGroupsResult.h:121
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::DescribeDBProxyTargetGroupsResult
DescribeDBProxyTargetGroupsResult()
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::GetTargetGroups
const Aws::Vector< DBProxyTargetGroup > & GetTargetGroups() const
Definition: DescribeDBProxyTargetGroupsResult.h:42
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeDBProxyTargetGroupsResult.h:132
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::WithTargetGroups
DescribeDBProxyTargetGroupsResult & WithTargetGroups(Aws::Vector< DBProxyTargetGroup > &&value)
Definition: DescribeDBProxyTargetGroupsResult.h:66
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBProxyTargetGroupsResult.h:107
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::DescribeDBProxyTargetGroupsResult
DescribeDBProxyTargetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBProxyTargetGroupsResult.h:93
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::WithMarker
DescribeDBProxyTargetGroupsResult & WithMarker(const Aws::String &value)
Definition: DescribeDBProxyTargetGroupsResult.h:114
AWSString.h
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::WithMarker
DescribeDBProxyTargetGroupsResult & WithMarker(const char *value)
Definition: DescribeDBProxyTargetGroupsResult.h:128
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBProxyTargetGroupsResult.h:86
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult
Definition: DescribeDBProxyTargetGroupsResult.h:31
Aws::RDS::Model::DBProxyTargetGroup
Definition: DBProxyTargetGroup.h:38
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
DBProxyTargetGroup.h
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::AddTargetGroups
DescribeDBProxyTargetGroupsResult & AddTargetGroups(DBProxyTargetGroup &&value)
Definition: DescribeDBProxyTargetGroupsResult.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::WithTargetGroups
DescribeDBProxyTargetGroupsResult & WithTargetGroups(const Aws::Vector< DBProxyTargetGroup > &value)
Definition: DescribeDBProxyTargetGroupsResult.h:60
Aws::RDS::Model::DescribeDBProxyTargetGroupsResult::WithResponseMetadata
DescribeDBProxyTargetGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBProxyTargetGroupsResult.h:141