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/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/docdb/model/ResponseMetadata.h>
11#include <aws/docdb/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 DocDB
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DOCDB_API DescribeGlobalClustersResult() = default;
36
37
39
42 inline const Aws::String& GetMarker() const { return m_marker; }
43 template<typename MarkerT = Aws::String>
44 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
45 template<typename MarkerT = Aws::String>
46 DescribeGlobalClustersResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
48
50
53 inline const Aws::Vector<GlobalCluster>& GetGlobalClusters() const { return m_globalClusters; }
54 template<typename GlobalClustersT = Aws::Vector<GlobalCluster>>
55 void SetGlobalClusters(GlobalClustersT&& value) { m_globalClustersHasBeenSet = true; m_globalClusters = std::forward<GlobalClustersT>(value); }
56 template<typename GlobalClustersT = Aws::Vector<GlobalCluster>>
57 DescribeGlobalClustersResult& WithGlobalClusters(GlobalClustersT&& value) { SetGlobalClusters(std::forward<GlobalClustersT>(value)); return *this;}
58 template<typename GlobalClustersT = GlobalCluster>
59 DescribeGlobalClustersResult& AddGlobalClusters(GlobalClustersT&& value) { m_globalClustersHasBeenSet = true; m_globalClusters.emplace_back(std::forward<GlobalClustersT>(value)); return *this; }
61
63
64 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
65 template<typename ResponseMetadataT = ResponseMetadata>
66 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
67 template<typename ResponseMetadataT = ResponseMetadata>
68 DescribeGlobalClustersResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
70 private:
71
72 Aws::String m_marker;
73 bool m_markerHasBeenSet = false;
74
75 Aws::Vector<GlobalCluster> m_globalClusters;
76 bool m_globalClustersHasBeenSet = false;
77
78 ResponseMetadata m_responseMetadata;
79 bool m_responseMetadataHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace DocDB
84} // namespace Aws
AWS_DOCDB_API DescribeGlobalClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_DOCDB_API DescribeGlobalClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGlobalClustersResult & AddGlobalClusters(GlobalClustersT &&value)
DescribeGlobalClustersResult & WithMarker(MarkerT &&value)
AWS_DOCDB_API DescribeGlobalClustersResult()=default
DescribeGlobalClustersResult & WithGlobalClusters(GlobalClustersT &&value)
const Aws::Vector< GlobalCluster > & GetGlobalClusters() const
DescribeGlobalClustersResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument