AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeGlobalClustersResult.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/model/ResponseMetadata.h>
11#include <aws/neptune/model/GlobalCluster.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace Neptune
27{
28namespace Model
29{
31 {
32 public:
33 AWS_NEPTUNE_API DescribeGlobalClustersResult() = default;
36
37
39
44 inline const Aws::String& GetMarker() const { return m_marker; }
45 template<typename MarkerT = Aws::String>
46 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
47 template<typename MarkerT = Aws::String>
48 DescribeGlobalClustersResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
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) { m_globalClustersHasBeenSet = true; m_globalClusters = std::forward<GlobalClustersT>(value); }
58 template<typename GlobalClustersT = Aws::Vector<GlobalCluster>>
59 DescribeGlobalClustersResult& WithGlobalClusters(GlobalClustersT&& value) { SetGlobalClusters(std::forward<GlobalClustersT>(value)); return *this;}
60 template<typename GlobalClustersT = GlobalCluster>
61 DescribeGlobalClustersResult& AddGlobalClusters(GlobalClustersT&& value) { m_globalClustersHasBeenSet = true; m_globalClusters.emplace_back(std::forward<GlobalClustersT>(value)); return *this; }
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
67 template<typename ResponseMetadataT = ResponseMetadata>
68 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
69 template<typename ResponseMetadataT = ResponseMetadata>
70 DescribeGlobalClustersResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
72 private:
73
74 Aws::String m_marker;
75 bool m_markerHasBeenSet = false;
76
77 Aws::Vector<GlobalCluster> m_globalClusters;
78 bool m_globalClustersHasBeenSet = false;
79
80 ResponseMetadata m_responseMetadata;
81 bool m_responseMetadataHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Neptune
86} // 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