AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeSourceRegionsResult.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 DescribeSourceRegionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
78 
84  inline DescribeSourceRegionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 
91  inline DescribeSourceRegionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
92 
93 
99  inline const Aws::Vector<SourceRegion>& GetSourceRegions() const{ return m_sourceRegions; }
100 
106  inline void SetSourceRegions(const Aws::Vector<SourceRegion>& value) { m_sourceRegions = value; }
107 
113  inline void SetSourceRegions(Aws::Vector<SourceRegion>&& value) { m_sourceRegions = std::move(value); }
114 
120  inline DescribeSourceRegionsResult& WithSourceRegions(const Aws::Vector<SourceRegion>& value) { SetSourceRegions(value); return *this;}
121 
127  inline DescribeSourceRegionsResult& WithSourceRegions(Aws::Vector<SourceRegion>&& value) { SetSourceRegions(std::move(value)); return *this;}
128 
134  inline DescribeSourceRegionsResult& AddSourceRegions(const SourceRegion& value) { m_sourceRegions.push_back(value); return *this; }
135 
141  inline DescribeSourceRegionsResult& AddSourceRegions(SourceRegion&& value) { m_sourceRegions.push_back(std::move(value)); return *this; }
142 
143 
144 
145  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
146 
147 
148  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
149 
150 
151  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
152 
153 
154  inline DescribeSourceRegionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
155 
156 
157  inline DescribeSourceRegionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
158 
159  private:
160 
161  Aws::String m_marker;
162 
163  Aws::Vector<SourceRegion> m_sourceRegions;
164 
165  ResponseMetadata m_responseMetadata;
166  };
167 
168 } // namespace Model
169 } // namespace RDS
170 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeSourceRegionsResult::WithSourceRegions
DescribeSourceRegionsResult & WithSourceRegions(Aws::Vector< SourceRegion > &&value)
Definition: DescribeSourceRegionsResult.h:127
Aws::RDS::Model::DescribeSourceRegionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeSourceRegionsResult.h:49
Aws::RDS::Model::DescribeSourceRegionsResult::WithMarker
DescribeSourceRegionsResult & WithMarker(const char *value)
Definition: DescribeSourceRegionsResult.h:91
Aws::RDS::Model::DescribeSourceRegionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeSourceRegionsResult.h:63
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeSourceRegionsResult::WithSourceRegions
DescribeSourceRegionsResult & WithSourceRegions(const Aws::Vector< SourceRegion > &value)
Definition: DescribeSourceRegionsResult.h:120
Aws::RDS::Model::DescribeSourceRegionsResult::WithResponseMetadata
DescribeSourceRegionsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeSourceRegionsResult.h:154
Aws::RDS::Model::DescribeSourceRegionsResult::AddSourceRegions
DescribeSourceRegionsResult & AddSourceRegions(const SourceRegion &value)
Definition: DescribeSourceRegionsResult.h:134
Aws::RDS::Model::DescribeSourceRegionsResult::WithResponseMetadata
DescribeSourceRegionsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeSourceRegionsResult.h:157
Aws::RDS::Model::DescribeSourceRegionsResult::GetSourceRegions
const Aws::Vector< SourceRegion > & GetSourceRegions() const
Definition: DescribeSourceRegionsResult.h:99
Aws::RDS::Model::DescribeSourceRegionsResult::WithMarker
DescribeSourceRegionsResult & WithMarker(Aws::String &&value)
Definition: DescribeSourceRegionsResult.h:84
Aws::RDS::Model::DescribeSourceRegionsResult::DescribeSourceRegionsResult
DescribeSourceRegionsResult()
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::DescribeSourceRegionsResult::AddSourceRegions
DescribeSourceRegionsResult & AddSourceRegions(SourceRegion &&value)
Definition: DescribeSourceRegionsResult.h:141
Aws::RDS::Model::DescribeSourceRegionsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeSourceRegionsResult.h:145
Aws::RDS::Model::SourceRegion
Definition: SourceRegion.h:33
Aws::RDS::Model::DescribeSourceRegionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeSourceRegionsResult.h:56
Aws::RDS::Model::DescribeSourceRegionsResult::WithMarker
DescribeSourceRegionsResult & WithMarker(const Aws::String &value)
Definition: DescribeSourceRegionsResult.h:77
RDS_EXPORTS.h
Aws::RDS::Model::DescribeSourceRegionsResult::operator=
DescribeSourceRegionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeSourceRegionsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeSourceRegionsResult.h:151
Aws::RDS::Model::DescribeSourceRegionsResult
Definition: DescribeSourceRegionsResult.h:37
Aws::RDS::Model::DescribeSourceRegionsResult::SetSourceRegions
void SetSourceRegions(Aws::Vector< SourceRegion > &&value)
Definition: DescribeSourceRegionsResult.h:113
AWSString.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SourceRegion.h
Aws::RDS::Model::DescribeSourceRegionsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeSourceRegionsResult.h:70
Aws::RDS::Model::DescribeSourceRegionsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeSourceRegionsResult.h:148
Aws::RDS::Model::DescribeSourceRegionsResult::DescribeSourceRegionsResult
DescribeSourceRegionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeSourceRegionsResult::SetSourceRegions
void SetSourceRegions(const Aws::Vector< SourceRegion > &value)
Definition: DescribeSourceRegionsResult.h:106