AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeBlueGreenDeploymentsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace RDS {
17namespace Model {
18
22 public:
23 AWS_RDS_API DescribeBlueGreenDeploymentsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeBlueGreenDeployments"; }
30
31 AWS_RDS_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
44 inline const Aws::String& GetBlueGreenDeploymentIdentifier() const { return m_blueGreenDeploymentIdentifier; }
45 inline bool BlueGreenDeploymentIdentifierHasBeenSet() const { return m_blueGreenDeploymentIdentifierHasBeenSet; }
46 template <typename BlueGreenDeploymentIdentifierT = Aws::String>
47 void SetBlueGreenDeploymentIdentifier(BlueGreenDeploymentIdentifierT&& value) {
48 m_blueGreenDeploymentIdentifierHasBeenSet = true;
49 m_blueGreenDeploymentIdentifier = std::forward<BlueGreenDeploymentIdentifierT>(value);
50 }
51 template <typename BlueGreenDeploymentIdentifierT = Aws::String>
53 SetBlueGreenDeploymentIdentifier(std::forward<BlueGreenDeploymentIdentifierT>(value));
54 return *this;
55 }
57
59
75 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
76 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
77 template <typename FiltersT = Aws::Vector<Filter>>
78 void SetFilters(FiltersT&& value) {
79 m_filtersHasBeenSet = true;
80 m_filters = std::forward<FiltersT>(value);
81 }
82 template <typename FiltersT = Aws::Vector<Filter>>
84 SetFilters(std::forward<FiltersT>(value));
85 return *this;
86 }
87 template <typename FiltersT = Filter>
89 m_filtersHasBeenSet = true;
90 m_filters.emplace_back(std::forward<FiltersT>(value));
91 return *this;
92 }
94
96
102 inline const Aws::String& GetMarker() const { return m_marker; }
103 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
104 template <typename MarkerT = Aws::String>
105 void SetMarker(MarkerT&& value) {
106 m_markerHasBeenSet = true;
107 m_marker = std::forward<MarkerT>(value);
108 }
109 template <typename MarkerT = Aws::String>
111 SetMarker(std::forward<MarkerT>(value));
112 return *this;
113 }
115
117
124 inline int GetMaxRecords() const { return m_maxRecords; }
125 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
126 inline void SetMaxRecords(int value) {
127 m_maxRecordsHasBeenSet = true;
128 m_maxRecords = value;
129 }
131 SetMaxRecords(value);
132 return *this;
133 }
135 private:
136 Aws::String m_blueGreenDeploymentIdentifier;
137
138 Aws::Vector<Filter> m_filters;
139
140 Aws::String m_marker;
141
142 int m_maxRecords{0};
143 bool m_blueGreenDeploymentIdentifierHasBeenSet = false;
144 bool m_filtersHasBeenSet = false;
145 bool m_markerHasBeenSet = false;
146 bool m_maxRecordsHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace RDS
151} // namespace Aws
DescribeBlueGreenDeploymentsRequest & WithMarker(MarkerT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeBlueGreenDeploymentsRequest & WithMaxRecords(int value)
DescribeBlueGreenDeploymentsRequest & WithFilters(FiltersT &&value)
DescribeBlueGreenDeploymentsRequest & AddFilters(FiltersT &&value)
DescribeBlueGreenDeploymentsRequest & WithBlueGreenDeploymentIdentifier(BlueGreenDeploymentIdentifierT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetBlueGreenDeploymentIdentifier(BlueGreenDeploymentIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector