AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeGlobalClustersResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/GlobalCluster.h>
12#include <aws/neptune/model/ResponseMetadata.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Neptune {
26namespace Model {
28 public:
29 AWS_NEPTUNE_API DescribeGlobalClustersResult() = default;
32
34
39 inline const Aws::String& GetMarker() const { return m_marker; }
40 template <typename MarkerT = Aws::String>
41 void SetMarker(MarkerT&& value) {
42 m_markerHasBeenSet = true;
43 m_marker = std::forward<MarkerT>(value);
44 }
45 template <typename MarkerT = Aws::String>
47 SetMarker(std::forward<MarkerT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<GlobalCluster>& GetGlobalClusters() const { return m_globalClusters; }
57 template <typename GlobalClustersT = Aws::Vector<GlobalCluster>>
58 void SetGlobalClusters(GlobalClustersT&& value) {
59 m_globalClustersHasBeenSet = true;
60 m_globalClusters = std::forward<GlobalClustersT>(value);
61 }
62 template <typename GlobalClustersT = Aws::Vector<GlobalCluster>>
64 SetGlobalClusters(std::forward<GlobalClustersT>(value));
65 return *this;
66 }
67 template <typename GlobalClustersT = GlobalCluster>
69 m_globalClustersHasBeenSet = true;
70 m_globalClusters.emplace_back(std::forward<GlobalClustersT>(value));
71 return *this;
72 }
74
76
77 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
78 template <typename ResponseMetadataT = ResponseMetadata>
79 void SetResponseMetadata(ResponseMetadataT&& value) {
80 m_responseMetadataHasBeenSet = true;
81 m_responseMetadata = std::forward<ResponseMetadataT>(value);
82 }
83 template <typename ResponseMetadataT = ResponseMetadata>
85 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
86 return *this;
87 }
89 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
90
91 private:
92 Aws::String m_marker;
93
94 Aws::Vector<GlobalCluster> m_globalClusters;
95
96 ResponseMetadata m_responseMetadata;
97 Aws::Http::HttpResponseCode m_HttpResponseCode;
98 bool m_markerHasBeenSet = false;
99 bool m_globalClustersHasBeenSet = false;
100 bool m_responseMetadataHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Neptune
105} // namespace Aws
AWS_NEPTUNE_API DescribeGlobalClustersResult()=default
DescribeGlobalClustersResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< GlobalCluster > & GetGlobalClusters() const
AWS_NEPTUNE_API DescribeGlobalClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGlobalClustersResult & AddGlobalClusters(GlobalClustersT &&value)
DescribeGlobalClustersResult & WithGlobalClusters(GlobalClustersT &&value)
DescribeGlobalClustersResult & WithMarker(MarkerT &&value)
AWS_NEPTUNE_API DescribeGlobalClustersResult(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