AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBlueGreenDeploymentRequest.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/Tag.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 "CreateBlueGreenDeployment"; }
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
47 inline const Aws::String& GetBlueGreenDeploymentName() const{ return m_blueGreenDeploymentName; }
48 inline bool BlueGreenDeploymentNameHasBeenSet() const { return m_blueGreenDeploymentNameHasBeenSet; }
49 inline void SetBlueGreenDeploymentName(const Aws::String& value) { m_blueGreenDeploymentNameHasBeenSet = true; m_blueGreenDeploymentName = value; }
50 inline void SetBlueGreenDeploymentName(Aws::String&& value) { m_blueGreenDeploymentNameHasBeenSet = true; m_blueGreenDeploymentName = std::move(value); }
51 inline void SetBlueGreenDeploymentName(const char* value) { m_blueGreenDeploymentNameHasBeenSet = true; m_blueGreenDeploymentName.assign(value); }
56
58
66 inline const Aws::String& GetSource() const{ return m_source; }
67 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
68 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
69 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
70 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
71 inline CreateBlueGreenDeploymentRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
72 inline CreateBlueGreenDeploymentRequest& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
73 inline CreateBlueGreenDeploymentRequest& WithSource(const char* value) { SetSource(value); return *this;}
75
77
81 inline const Aws::String& GetTargetEngineVersion() const{ return m_targetEngineVersion; }
82 inline bool TargetEngineVersionHasBeenSet() const { return m_targetEngineVersionHasBeenSet; }
83 inline void SetTargetEngineVersion(const Aws::String& value) { m_targetEngineVersionHasBeenSet = true; m_targetEngineVersion = value; }
84 inline void SetTargetEngineVersion(Aws::String&& value) { m_targetEngineVersionHasBeenSet = true; m_targetEngineVersion = std::move(value); }
85 inline void SetTargetEngineVersion(const char* value) { m_targetEngineVersionHasBeenSet = true; m_targetEngineVersion.assign(value); }
88 inline CreateBlueGreenDeploymentRequest& WithTargetEngineVersion(const char* value) { SetTargetEngineVersion(value); return *this;}
90
92
97 inline const Aws::String& GetTargetDBParameterGroupName() const{ return m_targetDBParameterGroupName; }
98 inline bool TargetDBParameterGroupNameHasBeenSet() const { return m_targetDBParameterGroupNameHasBeenSet; }
99 inline void SetTargetDBParameterGroupName(const Aws::String& value) { m_targetDBParameterGroupNameHasBeenSet = true; m_targetDBParameterGroupName = value; }
100 inline void SetTargetDBParameterGroupName(Aws::String&& value) { m_targetDBParameterGroupNameHasBeenSet = true; m_targetDBParameterGroupName = std::move(value); }
101 inline void SetTargetDBParameterGroupName(const char* value) { m_targetDBParameterGroupNameHasBeenSet = true; m_targetDBParameterGroupName.assign(value); }
106
108
114 inline const Aws::String& GetTargetDBClusterParameterGroupName() const{ return m_targetDBClusterParameterGroupName; }
115 inline bool TargetDBClusterParameterGroupNameHasBeenSet() const { return m_targetDBClusterParameterGroupNameHasBeenSet; }
116 inline void SetTargetDBClusterParameterGroupName(const Aws::String& value) { m_targetDBClusterParameterGroupNameHasBeenSet = true; m_targetDBClusterParameterGroupName = value; }
117 inline void SetTargetDBClusterParameterGroupName(Aws::String&& value) { m_targetDBClusterParameterGroupNameHasBeenSet = true; m_targetDBClusterParameterGroupName = std::move(value); }
118 inline void SetTargetDBClusterParameterGroupName(const char* value) { m_targetDBClusterParameterGroupNameHasBeenSet = true; m_targetDBClusterParameterGroupName.assign(value); }
123
125
128 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
129 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
131 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
132 inline CreateBlueGreenDeploymentRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
133 inline CreateBlueGreenDeploymentRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
134 inline CreateBlueGreenDeploymentRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
135 inline CreateBlueGreenDeploymentRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
137
139
147 inline const Aws::String& GetTargetDBInstanceClass() const{ return m_targetDBInstanceClass; }
148 inline bool TargetDBInstanceClassHasBeenSet() const { return m_targetDBInstanceClassHasBeenSet; }
149 inline void SetTargetDBInstanceClass(const Aws::String& value) { m_targetDBInstanceClassHasBeenSet = true; m_targetDBInstanceClass = value; }
150 inline void SetTargetDBInstanceClass(Aws::String&& value) { m_targetDBInstanceClassHasBeenSet = true; m_targetDBInstanceClass = std::move(value); }
151 inline void SetTargetDBInstanceClass(const char* value) { m_targetDBInstanceClassHasBeenSet = true; m_targetDBInstanceClass.assign(value); }
156
158
165 inline bool GetUpgradeTargetStorageConfig() const{ return m_upgradeTargetStorageConfig; }
166 inline bool UpgradeTargetStorageConfigHasBeenSet() const { return m_upgradeTargetStorageConfigHasBeenSet; }
167 inline void SetUpgradeTargetStorageConfig(bool value) { m_upgradeTargetStorageConfigHasBeenSet = true; m_upgradeTargetStorageConfig = value; }
170 private:
171
172 Aws::String m_blueGreenDeploymentName;
173 bool m_blueGreenDeploymentNameHasBeenSet = false;
174
175 Aws::String m_source;
176 bool m_sourceHasBeenSet = false;
177
178 Aws::String m_targetEngineVersion;
179 bool m_targetEngineVersionHasBeenSet = false;
180
181 Aws::String m_targetDBParameterGroupName;
182 bool m_targetDBParameterGroupNameHasBeenSet = false;
183
184 Aws::String m_targetDBClusterParameterGroupName;
185 bool m_targetDBClusterParameterGroupNameHasBeenSet = false;
186
187 Aws::Vector<Tag> m_tags;
188 bool m_tagsHasBeenSet = false;
189
190 Aws::String m_targetDBInstanceClass;
191 bool m_targetDBInstanceClassHasBeenSet = false;
192
193 bool m_upgradeTargetStorageConfig;
194 bool m_upgradeTargetStorageConfigHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace RDS
199} // namespace Aws
CreateBlueGreenDeploymentRequest & WithTargetDBClusterParameterGroupName(const char *value)
CreateBlueGreenDeploymentRequest & WithSource(const char *value)
CreateBlueGreenDeploymentRequest & WithTargetDBInstanceClass(const char *value)
CreateBlueGreenDeploymentRequest & WithBlueGreenDeploymentName(Aws::String &&value)
CreateBlueGreenDeploymentRequest & WithTargetEngineVersion(const char *value)
CreateBlueGreenDeploymentRequest & AddTags(Tag &&value)
CreateBlueGreenDeploymentRequest & WithTargetDBInstanceClass(Aws::String &&value)
CreateBlueGreenDeploymentRequest & WithTargetDBInstanceClass(const Aws::String &value)
CreateBlueGreenDeploymentRequest & WithBlueGreenDeploymentName(const char *value)
CreateBlueGreenDeploymentRequest & WithTargetEngineVersion(const Aws::String &value)
AWS_RDS_API Aws::String SerializePayload() const override
CreateBlueGreenDeploymentRequest & WithTargetDBClusterParameterGroupName(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateBlueGreenDeploymentRequest & WithUpgradeTargetStorageConfig(bool value)
CreateBlueGreenDeploymentRequest & WithTags(Aws::Vector< Tag > &&value)
CreateBlueGreenDeploymentRequest & WithBlueGreenDeploymentName(const Aws::String &value)
CreateBlueGreenDeploymentRequest & WithTargetDBParameterGroupName(const char *value)
CreateBlueGreenDeploymentRequest & WithTargetDBClusterParameterGroupName(const Aws::String &value)
CreateBlueGreenDeploymentRequest & AddTags(const Tag &value)
CreateBlueGreenDeploymentRequest & WithTargetDBParameterGroupName(Aws::String &&value)
CreateBlueGreenDeploymentRequest & WithTargetEngineVersion(Aws::String &&value)
CreateBlueGreenDeploymentRequest & WithSource(Aws::String &&value)
CreateBlueGreenDeploymentRequest & WithSource(const Aws::String &value)
CreateBlueGreenDeploymentRequest & WithTags(const Aws::Vector< Tag > &value)
CreateBlueGreenDeploymentRequest & WithTargetDBParameterGroupName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector