AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DescribeGlobalClustersResult.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/neptune/Neptune_EXPORTS.h>
10#include <aws/neptune/model/GlobalCluster.h>
11#include <aws/neptune/model/ResponseMetadata.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 Neptune {
25namespace Model {
27 public:
28 AWS_NEPTUNE_API DescribeGlobalClustersResult() = default;
31
33
38 inline const Aws::String& GetMarker() const { return m_marker; }
39 template <typename MarkerT = Aws::String>
40 void SetMarker(MarkerT&& value) {
41 m_markerHasBeenSet = true;
42 m_marker = std::forward<MarkerT>(value);
43 }
44 template <typename MarkerT = Aws::String>
46 SetMarker(std::forward<MarkerT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<GlobalCluster>& GetGlobalClusters() const { return m_globalClusters; }
56 template <typename GlobalClustersT = Aws::Vector<GlobalCluster>>
57 void SetGlobalClusters(GlobalClustersT&& value) {
58 m_globalClustersHasBeenSet = true;
59 m_globalClusters = std::forward<GlobalClustersT>(value);
60 }
61 template <typename GlobalClustersT = Aws::Vector<GlobalCluster>>
63 SetGlobalClusters(std::forward<GlobalClustersT>(value));
64 return *this;
65 }
66 template <typename GlobalClustersT = GlobalCluster>
68 m_globalClustersHasBeenSet = true;
69 m_globalClusters.emplace_back(std::forward<GlobalClustersT>(value));
70 return *this;
71 }
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
77 template <typename ResponseMetadataT = ResponseMetadata>
78 void SetResponseMetadata(ResponseMetadataT&& value) {
79 m_responseMetadataHasBeenSet = true;
80 m_responseMetadata = std::forward<ResponseMetadataT>(value);
81 }
82 template <typename ResponseMetadataT = ResponseMetadata>
84 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_marker;
90 bool m_markerHasBeenSet = false;
91
92 Aws::Vector<GlobalCluster> m_globalClusters;
93 bool m_globalClustersHasBeenSet = false;
94
95 ResponseMetadata m_responseMetadata;
96 bool m_responseMetadataHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Neptune
101} // 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