AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBClusterBacktracksRequest.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
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBClusterBacktracks"; }
36
37 AWS_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
53 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
54 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
55 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
56 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
57 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
60 inline DescribeDBClusterBacktracksRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
62
64
72 inline const Aws::String& GetBacktrackIdentifier() const{ return m_backtrackIdentifier; }
73 inline bool BacktrackIdentifierHasBeenSet() const { return m_backtrackIdentifierHasBeenSet; }
74 inline void SetBacktrackIdentifier(const Aws::String& value) { m_backtrackIdentifierHasBeenSet = true; m_backtrackIdentifier = value; }
75 inline void SetBacktrackIdentifier(Aws::String&& value) { m_backtrackIdentifierHasBeenSet = true; m_backtrackIdentifier = std::move(value); }
76 inline void SetBacktrackIdentifier(const char* value) { m_backtrackIdentifierHasBeenSet = true; m_backtrackIdentifier.assign(value); }
79 inline DescribeDBClusterBacktracksRequest& WithBacktrackIdentifier(const char* value) { SetBacktrackIdentifier(value); return *this;}
81
83
95 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
96 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
97 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
98 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
100 inline DescribeDBClusterBacktracksRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
101 inline DescribeDBClusterBacktracksRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
102 inline DescribeDBClusterBacktracksRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
104
106
112 inline int GetMaxRecords() const{ return m_maxRecords; }
113 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
114 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
115 inline DescribeDBClusterBacktracksRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
117
119
125 inline const Aws::String& GetMarker() const{ return m_marker; }
126 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
127 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
128 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
129 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
130 inline DescribeDBClusterBacktracksRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
131 inline DescribeDBClusterBacktracksRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
132 inline DescribeDBClusterBacktracksRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
134 private:
135
136 Aws::String m_dBClusterIdentifier;
137 bool m_dBClusterIdentifierHasBeenSet = false;
138
139 Aws::String m_backtrackIdentifier;
140 bool m_backtrackIdentifierHasBeenSet = false;
141
142 Aws::Vector<Filter> m_filters;
143 bool m_filtersHasBeenSet = false;
144
145 int m_maxRecords;
146 bool m_maxRecordsHasBeenSet = false;
147
148 Aws::String m_marker;
149 bool m_markerHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace RDS
154} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClusterBacktracksRequest & WithBacktrackIdentifier(const char *value)
DescribeDBClusterBacktracksRequest & WithBacktrackIdentifier(const Aws::String &value)
DescribeDBClusterBacktracksRequest & WithBacktrackIdentifier(Aws::String &&value)
DescribeDBClusterBacktracksRequest & WithMarker(const char *value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBClusterBacktracksRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBClusterBacktracksRequest & WithMarker(const Aws::String &value)
DescribeDBClusterBacktracksRequest & WithDBClusterIdentifier(const Aws::String &value)
DescribeDBClusterBacktracksRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClusterBacktracksRequest & WithMarker(Aws::String &&value)
DescribeDBClusterBacktracksRequest & AddFilters(const Filter &value)
DescribeDBClusterBacktracksRequest & WithDBClusterIdentifier(const char *value)
DescribeDBClusterBacktracksRequest & WithDBClusterIdentifier(Aws::String &&value)
DescribeDBClusterBacktracksRequest & WithMaxRecords(int value)
DescribeDBClusterBacktracksRequest & AddFilters(Filter &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector