AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeDBProxyTargetsResult.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<DBProxyTarget>& GetTargets() const{ return m_targets; }
43 
48  inline void SetTargets(const Aws::Vector<DBProxyTarget>& value) { m_targets = value; }
49 
54  inline void SetTargets(Aws::Vector<DBProxyTarget>&& value) { m_targets = std::move(value); }
55 
60  inline DescribeDBProxyTargetsResult& WithTargets(const Aws::Vector<DBProxyTarget>& value) { SetTargets(value); return *this;}
61 
66  inline DescribeDBProxyTargetsResult& WithTargets(Aws::Vector<DBProxyTarget>&& value) { SetTargets(std::move(value)); return *this;}
67 
72  inline DescribeDBProxyTargetsResult& AddTargets(const DBProxyTarget& value) { m_targets.push_back(value); return *this; }
73 
78  inline DescribeDBProxyTargetsResult& AddTargets(DBProxyTarget&& value) { m_targets.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 DescribeDBProxyTargetsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
115 
121  inline DescribeDBProxyTargetsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
122 
128  inline DescribeDBProxyTargetsResult& 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 DescribeDBProxyTargetsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
142 
143 
144  inline DescribeDBProxyTargetsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
145 
146  private:
147 
148  Aws::Vector<DBProxyTarget> m_targets;
149 
150  Aws::String m_marker;
151 
152  ResponseMetadata m_responseMetadata;
153  };
154 
155 } // namespace Model
156 } // namespace RDS
157 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DBProxyTarget
Definition: DBProxyTarget.h:39
Aws::RDS::Model::DescribeDBProxyTargetsResult
Definition: DescribeDBProxyTargetsResult.h:31
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBProxyTargetsResult::DescribeDBProxyTargetsResult
DescribeDBProxyTargetsResult()
Aws::RDS::Model::DescribeDBProxyTargetsResult::WithTargets
DescribeDBProxyTargetsResult & WithTargets(const Aws::Vector< DBProxyTarget > &value)
Definition: DescribeDBProxyTargetsResult.h:60
Aws::RDS::Model::DescribeDBProxyTargetsResult::WithMarker
DescribeDBProxyTargetsResult & WithMarker(Aws::String &&value)
Definition: DescribeDBProxyTargetsResult.h:121
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBProxyTargetsResult::WithResponseMetadata
DescribeDBProxyTargetsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBProxyTargetsResult.h:141
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeDBProxyTargetsResult::DescribeDBProxyTargetsResult
DescribeDBProxyTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBProxyTargetsResult::WithResponseMetadata
DescribeDBProxyTargetsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBProxyTargetsResult.h:144
Aws::RDS::Model::DescribeDBProxyTargetsResult::GetTargets
const Aws::Vector< DBProxyTarget > & GetTargets() const
Definition: DescribeDBProxyTargetsResult.h:42
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBProxyTargetsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBProxyTargetsResult.h:135
Aws::RDS::Model::DescribeDBProxyTargetsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeDBProxyTargetsResult.h:132
Aws::RDS::Model::DescribeDBProxyTargetsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBProxyTargetsResult.h:138
Aws::RDS::Model::DescribeDBProxyTargetsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBProxyTargetsResult.h:107
Aws::RDS::Model::DescribeDBProxyTargetsResult::operator=
DescribeDBProxyTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBProxyTargetsResult::WithMarker
DescribeDBProxyTargetsResult & WithMarker(const char *value)
Definition: DescribeDBProxyTargetsResult.h:128
AWSString.h
Aws::RDS::Model::DescribeDBProxyTargetsResult::AddTargets
DescribeDBProxyTargetsResult & AddTargets(DBProxyTarget &&value)
Definition: DescribeDBProxyTargetsResult.h:78
Aws::RDS::Model::DescribeDBProxyTargetsResult::WithMarker
DescribeDBProxyTargetsResult & WithMarker(const Aws::String &value)
Definition: DescribeDBProxyTargetsResult.h:114
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBProxyTargetsResult::AddTargets
DescribeDBProxyTargetsResult & AddTargets(const DBProxyTarget &value)
Definition: DescribeDBProxyTargetsResult.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBProxyTargetsResult::SetTargets
void SetTargets(const Aws::Vector< DBProxyTarget > &value)
Definition: DescribeDBProxyTargetsResult.h:48
ResponseMetadata.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBProxyTargetsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBProxyTargetsResult.h:93
DBProxyTarget.h
Aws::RDS::Model::DescribeDBProxyTargetsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBProxyTargetsResult.h:86
Aws::RDS::Model::DescribeDBProxyTargetsResult::WithTargets
DescribeDBProxyTargetsResult & WithTargets(Aws::Vector< DBProxyTarget > &&value)
Definition: DescribeDBProxyTargetsResult.h:66
Aws::RDS::Model::DescribeDBProxyTargetsResult::SetTargets
void SetTargets(Aws::Vector< DBProxyTarget > &&value)
Definition: DescribeDBProxyTargetsResult.h:54
Aws::RDS::Model::DescribeDBProxyTargetsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBProxyTargetsResult.h:100