AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeSourceRegionsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDS_EXPORTS.h>
10#include <aws/rds/model/ResponseMetadata.h>
11#include <aws/rds/model/SourceRegion.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace RDS {
25namespace Model {
33 public:
34 AWS_RDS_API DescribeSourceRegionsResult() = default;
37
39
44 inline const Aws::String& GetMarker() const { return m_marker; }
45 template <typename MarkerT = Aws::String>
46 void SetMarker(MarkerT&& value) {
47 m_markerHasBeenSet = true;
48 m_marker = std::forward<MarkerT>(value);
49 }
50 template <typename MarkerT = Aws::String>
52 SetMarker(std::forward<MarkerT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::Vector<SourceRegion>& GetSourceRegions() const { return m_sourceRegions; }
64 template <typename SourceRegionsT = Aws::Vector<SourceRegion>>
65 void SetSourceRegions(SourceRegionsT&& value) {
66 m_sourceRegionsHasBeenSet = true;
67 m_sourceRegions = std::forward<SourceRegionsT>(value);
68 }
69 template <typename SourceRegionsT = Aws::Vector<SourceRegion>>
71 SetSourceRegions(std::forward<SourceRegionsT>(value));
72 return *this;
73 }
74 template <typename SourceRegionsT = SourceRegion>
76 m_sourceRegionsHasBeenSet = true;
77 m_sourceRegions.emplace_back(std::forward<SourceRegionsT>(value));
78 return *this;
79 }
81
83
84 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
85 template <typename ResponseMetadataT = ResponseMetadata>
86 void SetResponseMetadata(ResponseMetadataT&& value) {
87 m_responseMetadataHasBeenSet = true;
88 m_responseMetadata = std::forward<ResponseMetadataT>(value);
89 }
90 template <typename ResponseMetadataT = ResponseMetadata>
92 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_marker;
98
99 Aws::Vector<SourceRegion> m_sourceRegions;
100
101 ResponseMetadata m_responseMetadata;
102 bool m_markerHasBeenSet = false;
103 bool m_sourceRegionsHasBeenSet = false;
104 bool m_responseMetadataHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace RDS
109} // namespace Aws
DescribeSourceRegionsResult & WithSourceRegions(SourceRegionsT &&value)
DescribeSourceRegionsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_RDS_API DescribeSourceRegionsResult()=default
DescribeSourceRegionsResult & WithMarker(MarkerT &&value)
const Aws::Vector< SourceRegion > & GetSourceRegions() const
DescribeSourceRegionsResult & AddSourceRegions(SourceRegionsT &&value)
AWS_RDS_API DescribeSourceRegionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_RDS_API DescribeSourceRegionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument