AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeGlobalClustersRequest.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DocDB
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DOCDB_API DescribeGlobalClustersRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeGlobalClusters"; }
33
34 AWS_DOCDB_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
47 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
48 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
49 template<typename GlobalClusterIdentifierT = Aws::String>
50 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
51 template<typename GlobalClusterIdentifierT = Aws::String>
52 DescribeGlobalClustersRequest& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value)); return *this;}
54
56
62 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
63 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
64 template<typename FiltersT = Aws::Vector<Filter>>
65 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
66 template<typename FiltersT = Aws::Vector<Filter>>
67 DescribeGlobalClustersRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
68 template<typename FiltersT = Filter>
69 DescribeGlobalClustersRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
71
73
79 inline int GetMaxRecords() const { return m_maxRecords; }
80 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
81 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
82 inline DescribeGlobalClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
84
86
92 inline const Aws::String& GetMarker() const { return m_marker; }
93 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
94 template<typename MarkerT = Aws::String>
95 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
96 template<typename MarkerT = Aws::String>
97 DescribeGlobalClustersRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
99 private:
100
101 Aws::String m_globalClusterIdentifier;
102 bool m_globalClusterIdentifierHasBeenSet = false;
103
104 Aws::Vector<Filter> m_filters;
105 bool m_filtersHasBeenSet = false;
106
107 int m_maxRecords{0};
108 bool m_maxRecordsHasBeenSet = false;
109
110 Aws::String m_marker;
111 bool m_markerHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DocDB
116} // namespace Aws
AWS_DOCDB_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
DescribeGlobalClustersRequest & AddFilters(FiltersT &&value)
DescribeGlobalClustersRequest & WithFilters(FiltersT &&value)
DescribeGlobalClustersRequest & WithMaxRecords(int value)
AWS_DOCDB_API DescribeGlobalClustersRequest()=default
DescribeGlobalClustersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector