AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBlueGreenDeploymentsRequest.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:
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 "DescribeBlueGreenDeployments"; }
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& GetBlueGreenDeploymentIdentifier() const{ return m_blueGreenDeploymentIdentifier; }
49 inline bool BlueGreenDeploymentIdentifierHasBeenSet() const { return m_blueGreenDeploymentIdentifierHasBeenSet; }
50 inline void SetBlueGreenDeploymentIdentifier(const Aws::String& value) { m_blueGreenDeploymentIdentifierHasBeenSet = true; m_blueGreenDeploymentIdentifier = value; }
51 inline void SetBlueGreenDeploymentIdentifier(Aws::String&& value) { m_blueGreenDeploymentIdentifierHasBeenSet = true; m_blueGreenDeploymentIdentifier = std::move(value); }
52 inline void SetBlueGreenDeploymentIdentifier(const char* value) { m_blueGreenDeploymentIdentifierHasBeenSet = true; m_blueGreenDeploymentIdentifier.assign(value); }
57
59
75 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
76 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
77 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
78 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
80 inline DescribeBlueGreenDeploymentsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
81 inline DescribeBlueGreenDeploymentsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
82 inline DescribeBlueGreenDeploymentsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
84
86
92 inline const Aws::String& GetMarker() const{ return m_marker; }
93 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
94 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
95 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
96 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
97 inline DescribeBlueGreenDeploymentsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
98 inline DescribeBlueGreenDeploymentsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
99 inline DescribeBlueGreenDeploymentsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
101
103
110 inline int GetMaxRecords() const{ return m_maxRecords; }
111 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
112 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
113 inline DescribeBlueGreenDeploymentsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
115 private:
116
117 Aws::String m_blueGreenDeploymentIdentifier;
118 bool m_blueGreenDeploymentIdentifierHasBeenSet = false;
119
120 Aws::Vector<Filter> m_filters;
121 bool m_filtersHasBeenSet = false;
122
123 Aws::String m_marker;
124 bool m_markerHasBeenSet = false;
125
126 int m_maxRecords;
127 bool m_maxRecordsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace RDS
132} // namespace Aws
DescribeBlueGreenDeploymentsRequest & AddFilters(Filter &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeBlueGreenDeploymentsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeBlueGreenDeploymentsRequest & WithBlueGreenDeploymentIdentifier(Aws::String &&value)
DescribeBlueGreenDeploymentsRequest & WithMarker(Aws::String &&value)
DescribeBlueGreenDeploymentsRequest & WithMaxRecords(int value)
DescribeBlueGreenDeploymentsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeBlueGreenDeploymentsRequest & WithBlueGreenDeploymentIdentifier(const char *value)
DescribeBlueGreenDeploymentsRequest & WithBlueGreenDeploymentIdentifier(const Aws::String &value)
DescribeBlueGreenDeploymentsRequest & AddFilters(const Filter &value)
DescribeBlueGreenDeploymentsRequest & WithMarker(const Aws::String &value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeBlueGreenDeploymentsRequest & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector