AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDBShardGroupsRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_RDS_API DescribeDBShardGroupsRequest() = 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 "DescribeDBShardGroups"; }
33
34 AWS_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
48 inline const Aws::String& GetDBShardGroupIdentifier() const { return m_dBShardGroupIdentifier; }
49 inline bool DBShardGroupIdentifierHasBeenSet() const { return m_dBShardGroupIdentifierHasBeenSet; }
50 template<typename DBShardGroupIdentifierT = Aws::String>
51 void SetDBShardGroupIdentifier(DBShardGroupIdentifierT&& value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier = std::forward<DBShardGroupIdentifierT>(value); }
52 template<typename DBShardGroupIdentifierT = Aws::String>
53 DescribeDBShardGroupsRequest& WithDBShardGroupIdentifier(DBShardGroupIdentifierT&& value) { SetDBShardGroupIdentifier(std::forward<DBShardGroupIdentifierT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
61 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
62 template<typename FiltersT = Aws::Vector<Filter>>
63 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
64 template<typename FiltersT = Aws::Vector<Filter>>
65 DescribeDBShardGroupsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
66 template<typename FiltersT = Filter>
67 DescribeDBShardGroupsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
69
71
77 inline const Aws::String& GetMarker() const { return m_marker; }
78 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
79 template<typename MarkerT = Aws::String>
80 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
81 template<typename MarkerT = Aws::String>
82 DescribeDBShardGroupsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
84
86
92 inline int GetMaxRecords() const { return m_maxRecords; }
93 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
94 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
95 inline DescribeDBShardGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
97 private:
98
99 Aws::String m_dBShardGroupIdentifier;
100 bool m_dBShardGroupIdentifierHasBeenSet = false;
101
102 Aws::Vector<Filter> m_filters;
103 bool m_filtersHasBeenSet = false;
104
105 Aws::String m_marker;
106 bool m_markerHasBeenSet = false;
107
108 int m_maxRecords{0};
109 bool m_maxRecordsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace RDS
114} // namespace Aws
AWS_RDS_API DescribeDBShardGroupsRequest()=default
void SetDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBShardGroupsRequest & WithFilters(FiltersT &&value)
DescribeDBShardGroupsRequest & WithMarker(MarkerT &&value)
virtual const char * GetServiceRequestName() const override
DescribeDBShardGroupsRequest & WithMaxRecords(int value)
DescribeDBShardGroupsRequest & AddFilters(FiltersT &&value)
DescribeDBShardGroupsRequest & WithDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector