1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/rds/RDS_EXPORTS.h> 8 #include <aws/rds/RDSRequest.h> 9 #include <aws/core/utils/memory/stl/AWSVector.h> 10 #include <aws/core/utils/memory/stl/AWSString.h> 11 #include <aws/rds/model/ScalingConfiguration.h> 12 #include <aws/rds/model/Tag.h> 13 #include <utility> 14 15 namespace Aws 16 { 17 namespace RDS 18 { 19 namespace Model 20 { 21 22 /** 23 * <p/><p><h3>See Also:</h3> <a 24 * href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterMessage">AWS 25 * API Reference</a></p> 26 */ 27 class AWS_RDS_API CreateDBClusterRequest : public RDSRequest 28 { 29 public: 30 CreateDBClusterRequest(); 31 32 // Service request name is the Operation name which will send this request out, 33 // each operation should has unique request name, so that we can get operation's name from this request. 34 // Note: this is not true for response, multiple operations may have the same response name, 35 // so we can not get operation's name from response. GetServiceRequestName()36 inline virtual const char* GetServiceRequestName() const override { return "CreateDBCluster"; } 37 38 Aws::String SerializePayload() const override; 39 40 protected: 41 void DumpBodyToUrl(Aws::Http::URI& uri ) const override; 42 43 public: 44 45 /** 46 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 47 * created. For information on Amazon Web Services Regions and Availability Zones, 48 * see <a 49 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 50 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 51 * </p> 52 */ GetAvailabilityZones()53 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; } 54 55 /** 56 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 57 * created. For information on Amazon Web Services Regions and Availability Zones, 58 * see <a 59 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 60 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 61 * </p> 62 */ AvailabilityZonesHasBeenSet()63 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } 64 65 /** 66 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 67 * created. For information on Amazon Web Services Regions and Availability Zones, 68 * see <a 69 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 70 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 71 * </p> 72 */ SetAvailabilityZones(const Aws::Vector<Aws::String> & value)73 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; } 74 75 /** 76 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 77 * created. For information on Amazon Web Services Regions and Availability Zones, 78 * see <a 79 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 80 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 81 * </p> 82 */ SetAvailabilityZones(Aws::Vector<Aws::String> && value)83 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); } 84 85 /** 86 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 87 * created. For information on Amazon Web Services Regions and Availability Zones, 88 * see <a 89 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 90 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 91 * </p> 92 */ WithAvailabilityZones(const Aws::Vector<Aws::String> & value)93 inline CreateDBClusterRequest& WithAvailabilityZones(const Aws::Vector<Aws::String>& value) { SetAvailabilityZones(value); return *this;} 94 95 /** 96 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 97 * created. For information on Amazon Web Services Regions and Availability Zones, 98 * see <a 99 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 100 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 101 * </p> 102 */ WithAvailabilityZones(Aws::Vector<Aws::String> && value)103 inline CreateDBClusterRequest& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;} 104 105 /** 106 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 107 * created. For information on Amazon Web Services Regions and Availability Zones, 108 * see <a 109 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 110 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 111 * </p> 112 */ AddAvailabilityZones(const Aws::String & value)113 inline CreateDBClusterRequest& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } 114 115 /** 116 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 117 * created. For information on Amazon Web Services Regions and Availability Zones, 118 * see <a 119 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 120 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 121 * </p> 122 */ AddAvailabilityZones(Aws::String && value)123 inline CreateDBClusterRequest& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } 124 125 /** 126 * <p>A list of Availability Zones (AZs) where instances in the DB cluster can be 127 * created. For information on Amazon Web Services Regions and Availability Zones, 128 * see <a 129 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html">Choosing 130 * the Regions and Availability Zones</a> in the <i>Amazon Aurora User Guide</i>. 131 * </p> 132 */ AddAvailabilityZones(const char * value)133 inline CreateDBClusterRequest& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } 134 135 136 /** 137 * <p>The number of days for which automated backups are retained.</p> <p>Default: 138 * 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 1 to 35</p> </li> 139 * </ul> 140 */ GetBackupRetentionPeriod()141 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } 142 143 /** 144 * <p>The number of days for which automated backups are retained.</p> <p>Default: 145 * 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 1 to 35</p> </li> 146 * </ul> 147 */ BackupRetentionPeriodHasBeenSet()148 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } 149 150 /** 151 * <p>The number of days for which automated backups are retained.</p> <p>Default: 152 * 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 1 to 35</p> </li> 153 * </ul> 154 */ SetBackupRetentionPeriod(int value)155 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } 156 157 /** 158 * <p>The number of days for which automated backups are retained.</p> <p>Default: 159 * 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 1 to 35</p> </li> 160 * </ul> 161 */ WithBackupRetentionPeriod(int value)162 inline CreateDBClusterRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} 163 164 165 /** 166 * <p>A value that indicates that the DB cluster should be associated with the 167 * specified CharacterSet.</p> 168 */ GetCharacterSetName()169 inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; } 170 171 /** 172 * <p>A value that indicates that the DB cluster should be associated with the 173 * specified CharacterSet.</p> 174 */ CharacterSetNameHasBeenSet()175 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; } 176 177 /** 178 * <p>A value that indicates that the DB cluster should be associated with the 179 * specified CharacterSet.</p> 180 */ SetCharacterSetName(const Aws::String & value)181 inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; } 182 183 /** 184 * <p>A value that indicates that the DB cluster should be associated with the 185 * specified CharacterSet.</p> 186 */ SetCharacterSetName(Aws::String && value)187 inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); } 188 189 /** 190 * <p>A value that indicates that the DB cluster should be associated with the 191 * specified CharacterSet.</p> 192 */ SetCharacterSetName(const char * value)193 inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); } 194 195 /** 196 * <p>A value that indicates that the DB cluster should be associated with the 197 * specified CharacterSet.</p> 198 */ WithCharacterSetName(const Aws::String & value)199 inline CreateDBClusterRequest& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;} 200 201 /** 202 * <p>A value that indicates that the DB cluster should be associated with the 203 * specified CharacterSet.</p> 204 */ WithCharacterSetName(Aws::String && value)205 inline CreateDBClusterRequest& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;} 206 207 /** 208 * <p>A value that indicates that the DB cluster should be associated with the 209 * specified CharacterSet.</p> 210 */ WithCharacterSetName(const char * value)211 inline CreateDBClusterRequest& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;} 212 213 214 /** 215 * <p>The name for your database of up to 64 alphanumeric characters. If you do not 216 * provide a name, Amazon RDS doesn't create a database in the DB cluster you are 217 * creating.</p> 218 */ GetDatabaseName()219 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } 220 221 /** 222 * <p>The name for your database of up to 64 alphanumeric characters. If you do not 223 * provide a name, Amazon RDS doesn't create a database in the DB cluster you are 224 * creating.</p> 225 */ DatabaseNameHasBeenSet()226 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } 227 228 /** 229 * <p>The name for your database of up to 64 alphanumeric characters. If you do not 230 * provide a name, Amazon RDS doesn't create a database in the DB cluster you are 231 * creating.</p> 232 */ SetDatabaseName(const Aws::String & value)233 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } 234 235 /** 236 * <p>The name for your database of up to 64 alphanumeric characters. If you do not 237 * provide a name, Amazon RDS doesn't create a database in the DB cluster you are 238 * creating.</p> 239 */ SetDatabaseName(Aws::String && value)240 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } 241 242 /** 243 * <p>The name for your database of up to 64 alphanumeric characters. If you do not 244 * provide a name, Amazon RDS doesn't create a database in the DB cluster you are 245 * creating.</p> 246 */ SetDatabaseName(const char * value)247 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } 248 249 /** 250 * <p>The name for your database of up to 64 alphanumeric characters. If you do not 251 * provide a name, Amazon RDS doesn't create a database in the DB cluster you are 252 * creating.</p> 253 */ WithDatabaseName(const Aws::String & value)254 inline CreateDBClusterRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} 255 256 /** 257 * <p>The name for your database of up to 64 alphanumeric characters. If you do not 258 * provide a name, Amazon RDS doesn't create a database in the DB cluster you are 259 * creating.</p> 260 */ WithDatabaseName(Aws::String && value)261 inline CreateDBClusterRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} 262 263 /** 264 * <p>The name for your database of up to 64 alphanumeric characters. If you do not 265 * provide a name, Amazon RDS doesn't create a database in the DB cluster you are 266 * creating.</p> 267 */ WithDatabaseName(const char * value)268 inline CreateDBClusterRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} 269 270 271 /** 272 * <p>The DB cluster identifier. This parameter is stored as a lowercase 273 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 274 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 275 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 276 * </li> </ul> <p>Example: <code>my-cluster1</code> </p> 277 */ GetDBClusterIdentifier()278 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; } 279 280 /** 281 * <p>The DB cluster identifier. This parameter is stored as a lowercase 282 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 283 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 284 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 285 * </li> </ul> <p>Example: <code>my-cluster1</code> </p> 286 */ DBClusterIdentifierHasBeenSet()287 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; } 288 289 /** 290 * <p>The DB cluster identifier. This parameter is stored as a lowercase 291 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 292 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 293 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 294 * </li> </ul> <p>Example: <code>my-cluster1</code> </p> 295 */ SetDBClusterIdentifier(const Aws::String & value)296 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; } 297 298 /** 299 * <p>The DB cluster identifier. This parameter is stored as a lowercase 300 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 301 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 302 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 303 * </li> </ul> <p>Example: <code>my-cluster1</code> </p> 304 */ SetDBClusterIdentifier(Aws::String && value)305 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); } 306 307 /** 308 * <p>The DB cluster identifier. This parameter is stored as a lowercase 309 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 310 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 311 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 312 * </li> </ul> <p>Example: <code>my-cluster1</code> </p> 313 */ SetDBClusterIdentifier(const char * value)314 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); } 315 316 /** 317 * <p>The DB cluster identifier. This parameter is stored as a lowercase 318 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 319 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 320 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 321 * </li> </ul> <p>Example: <code>my-cluster1</code> </p> 322 */ WithDBClusterIdentifier(const Aws::String & value)323 inline CreateDBClusterRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;} 324 325 /** 326 * <p>The DB cluster identifier. This parameter is stored as a lowercase 327 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 328 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 329 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 330 * </li> </ul> <p>Example: <code>my-cluster1</code> </p> 331 */ WithDBClusterIdentifier(Aws::String && value)332 inline CreateDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;} 333 334 /** 335 * <p>The DB cluster identifier. This parameter is stored as a lowercase 336 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 337 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 338 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 339 * </li> </ul> <p>Example: <code>my-cluster1</code> </p> 340 */ WithDBClusterIdentifier(const char * value)341 inline CreateDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;} 342 343 344 /** 345 * <p> The name of the DB cluster parameter group to associate with this DB 346 * cluster. If you do not specify a value, then the default DB cluster parameter 347 * group for the specified DB engine and version is used. </p> <p>Constraints:</p> 348 * <ul> <li> <p>If supplied, must match the name of an existing DB cluster 349 * parameter group.</p> </li> </ul> 350 */ GetDBClusterParameterGroupName()351 inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; } 352 353 /** 354 * <p> The name of the DB cluster parameter group to associate with this DB 355 * cluster. If you do not specify a value, then the default DB cluster parameter 356 * group for the specified DB engine and version is used. </p> <p>Constraints:</p> 357 * <ul> <li> <p>If supplied, must match the name of an existing DB cluster 358 * parameter group.</p> </li> </ul> 359 */ DBClusterParameterGroupNameHasBeenSet()360 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; } 361 362 /** 363 * <p> The name of the DB cluster parameter group to associate with this DB 364 * cluster. If you do not specify a value, then the default DB cluster parameter 365 * group for the specified DB engine and version is used. </p> <p>Constraints:</p> 366 * <ul> <li> <p>If supplied, must match the name of an existing DB cluster 367 * parameter group.</p> </li> </ul> 368 */ SetDBClusterParameterGroupName(const Aws::String & value)369 inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; } 370 371 /** 372 * <p> The name of the DB cluster parameter group to associate with this DB 373 * cluster. If you do not specify a value, then the default DB cluster parameter 374 * group for the specified DB engine and version is used. </p> <p>Constraints:</p> 375 * <ul> <li> <p>If supplied, must match the name of an existing DB cluster 376 * parameter group.</p> </li> </ul> 377 */ SetDBClusterParameterGroupName(Aws::String && value)378 inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); } 379 380 /** 381 * <p> The name of the DB cluster parameter group to associate with this DB 382 * cluster. If you do not specify a value, then the default DB cluster parameter 383 * group for the specified DB engine and version is used. </p> <p>Constraints:</p> 384 * <ul> <li> <p>If supplied, must match the name of an existing DB cluster 385 * parameter group.</p> </li> </ul> 386 */ SetDBClusterParameterGroupName(const char * value)387 inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); } 388 389 /** 390 * <p> The name of the DB cluster parameter group to associate with this DB 391 * cluster. If you do not specify a value, then the default DB cluster parameter 392 * group for the specified DB engine and version is used. </p> <p>Constraints:</p> 393 * <ul> <li> <p>If supplied, must match the name of an existing DB cluster 394 * parameter group.</p> </li> </ul> 395 */ WithDBClusterParameterGroupName(const Aws::String & value)396 inline CreateDBClusterRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;} 397 398 /** 399 * <p> The name of the DB cluster parameter group to associate with this DB 400 * cluster. If you do not specify a value, then the default DB cluster parameter 401 * group for the specified DB engine and version is used. </p> <p>Constraints:</p> 402 * <ul> <li> <p>If supplied, must match the name of an existing DB cluster 403 * parameter group.</p> </li> </ul> 404 */ WithDBClusterParameterGroupName(Aws::String && value)405 inline CreateDBClusterRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;} 406 407 /** 408 * <p> The name of the DB cluster parameter group to associate with this DB 409 * cluster. If you do not specify a value, then the default DB cluster parameter 410 * group for the specified DB engine and version is used. </p> <p>Constraints:</p> 411 * <ul> <li> <p>If supplied, must match the name of an existing DB cluster 412 * parameter group.</p> </li> </ul> 413 */ WithDBClusterParameterGroupName(const char * value)414 inline CreateDBClusterRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;} 415 416 417 /** 418 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 419 */ GetVpcSecurityGroupIds()420 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } 421 422 /** 423 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 424 */ VpcSecurityGroupIdsHasBeenSet()425 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } 426 427 /** 428 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 429 */ SetVpcSecurityGroupIds(const Aws::Vector<Aws::String> & value)430 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } 431 432 /** 433 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 434 */ SetVpcSecurityGroupIds(Aws::Vector<Aws::String> && value)435 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } 436 437 /** 438 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 439 */ WithVpcSecurityGroupIds(const Aws::Vector<Aws::String> & value)440 inline CreateDBClusterRequest& WithVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetVpcSecurityGroupIds(value); return *this;} 441 442 /** 443 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 444 */ WithVpcSecurityGroupIds(Aws::Vector<Aws::String> && value)445 inline CreateDBClusterRequest& WithVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} 446 447 /** 448 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 449 */ AddVpcSecurityGroupIds(const Aws::String & value)450 inline CreateDBClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } 451 452 /** 453 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 454 */ AddVpcSecurityGroupIds(Aws::String && value)455 inline CreateDBClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } 456 457 /** 458 * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> 459 */ AddVpcSecurityGroupIds(const char * value)460 inline CreateDBClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } 461 462 463 /** 464 * <p>A DB subnet group to associate with this DB cluster.</p> <p>Constraints: Must 465 * match the name of an existing DBSubnetGroup. Must not be default.</p> 466 * <p>Example: <code>mySubnetgroup</code> </p> 467 */ GetDBSubnetGroupName()468 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; } 469 470 /** 471 * <p>A DB subnet group to associate with this DB cluster.</p> <p>Constraints: Must 472 * match the name of an existing DBSubnetGroup. Must not be default.</p> 473 * <p>Example: <code>mySubnetgroup</code> </p> 474 */ DBSubnetGroupNameHasBeenSet()475 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; } 476 477 /** 478 * <p>A DB subnet group to associate with this DB cluster.</p> <p>Constraints: Must 479 * match the name of an existing DBSubnetGroup. Must not be default.</p> 480 * <p>Example: <code>mySubnetgroup</code> </p> 481 */ SetDBSubnetGroupName(const Aws::String & value)482 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; } 483 484 /** 485 * <p>A DB subnet group to associate with this DB cluster.</p> <p>Constraints: Must 486 * match the name of an existing DBSubnetGroup. Must not be default.</p> 487 * <p>Example: <code>mySubnetgroup</code> </p> 488 */ SetDBSubnetGroupName(Aws::String && value)489 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); } 490 491 /** 492 * <p>A DB subnet group to associate with this DB cluster.</p> <p>Constraints: Must 493 * match the name of an existing DBSubnetGroup. Must not be default.</p> 494 * <p>Example: <code>mySubnetgroup</code> </p> 495 */ SetDBSubnetGroupName(const char * value)496 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); } 497 498 /** 499 * <p>A DB subnet group to associate with this DB cluster.</p> <p>Constraints: Must 500 * match the name of an existing DBSubnetGroup. Must not be default.</p> 501 * <p>Example: <code>mySubnetgroup</code> </p> 502 */ WithDBSubnetGroupName(const Aws::String & value)503 inline CreateDBClusterRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;} 504 505 /** 506 * <p>A DB subnet group to associate with this DB cluster.</p> <p>Constraints: Must 507 * match the name of an existing DBSubnetGroup. Must not be default.</p> 508 * <p>Example: <code>mySubnetgroup</code> </p> 509 */ WithDBSubnetGroupName(Aws::String && value)510 inline CreateDBClusterRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;} 511 512 /** 513 * <p>A DB subnet group to associate with this DB cluster.</p> <p>Constraints: Must 514 * match the name of an existing DBSubnetGroup. Must not be default.</p> 515 * <p>Example: <code>mySubnetgroup</code> </p> 516 */ WithDBSubnetGroupName(const char * value)517 inline CreateDBClusterRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;} 518 519 520 /** 521 * <p>The name of the database engine to be used for this DB cluster.</p> <p>Valid 522 * Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora), 523 * <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), and 524 * <code>aurora-postgresql</code> </p> 525 */ GetEngine()526 inline const Aws::String& GetEngine() const{ return m_engine; } 527 528 /** 529 * <p>The name of the database engine to be used for this DB cluster.</p> <p>Valid 530 * Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora), 531 * <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), and 532 * <code>aurora-postgresql</code> </p> 533 */ EngineHasBeenSet()534 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } 535 536 /** 537 * <p>The name of the database engine to be used for this DB cluster.</p> <p>Valid 538 * Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora), 539 * <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), and 540 * <code>aurora-postgresql</code> </p> 541 */ SetEngine(const Aws::String & value)542 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } 543 544 /** 545 * <p>The name of the database engine to be used for this DB cluster.</p> <p>Valid 546 * Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora), 547 * <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), and 548 * <code>aurora-postgresql</code> </p> 549 */ SetEngine(Aws::String && value)550 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } 551 552 /** 553 * <p>The name of the database engine to be used for this DB cluster.</p> <p>Valid 554 * Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora), 555 * <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), and 556 * <code>aurora-postgresql</code> </p> 557 */ SetEngine(const char * value)558 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } 559 560 /** 561 * <p>The name of the database engine to be used for this DB cluster.</p> <p>Valid 562 * Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora), 563 * <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), and 564 * <code>aurora-postgresql</code> </p> 565 */ WithEngine(const Aws::String & value)566 inline CreateDBClusterRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} 567 568 /** 569 * <p>The name of the database engine to be used for this DB cluster.</p> <p>Valid 570 * Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora), 571 * <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), and 572 * <code>aurora-postgresql</code> </p> 573 */ WithEngine(Aws::String && value)574 inline CreateDBClusterRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} 575 576 /** 577 * <p>The name of the database engine to be used for this DB cluster.</p> <p>Valid 578 * Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora), 579 * <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), and 580 * <code>aurora-postgresql</code> </p> 581 */ WithEngine(const char * value)582 inline CreateDBClusterRequest& WithEngine(const char* value) { SetEngine(value); return *this;} 583 584 585 /** 586 * <p>The version number of the database engine to use.</p> <p>To list all of the 587 * available engine versions for <code>aurora</code> (for MySQL 5.6-compatible 588 * Aurora), use the following command:</p> <p> <code>aws rds 589 * describe-db-engine-versions --engine aurora --query 590 * "DBEngineVersions[].EngineVersion"</code> </p> <p>To list all of the available 591 * engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), 592 * use the following command:</p> <p> <code>aws rds describe-db-engine-versions 593 * --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code> </p> 594 * <p>To list all of the available engine versions for 595 * <code>aurora-postgresql</code>, use the following command:</p> <p> <code>aws rds 596 * describe-db-engine-versions --engine aurora-postgresql --query 597 * "DBEngineVersions[].EngineVersion"</code> </p> <p> <b>Aurora MySQL</b> </p> 598 * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, 599 * <code>5.7.12</code>, <code>5.7.mysql_aurora.2.04.5</code> </p> <p> <b>Aurora 600 * PostgreSQL</b> </p> <p>Example: <code>9.6.3</code>, <code>10.7</code> </p> 601 */ GetEngineVersion()602 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } 603 604 /** 605 * <p>The version number of the database engine to use.</p> <p>To list all of the 606 * available engine versions for <code>aurora</code> (for MySQL 5.6-compatible 607 * Aurora), use the following command:</p> <p> <code>aws rds 608 * describe-db-engine-versions --engine aurora --query 609 * "DBEngineVersions[].EngineVersion"</code> </p> <p>To list all of the available 610 * engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), 611 * use the following command:</p> <p> <code>aws rds describe-db-engine-versions 612 * --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code> </p> 613 * <p>To list all of the available engine versions for 614 * <code>aurora-postgresql</code>, use the following command:</p> <p> <code>aws rds 615 * describe-db-engine-versions --engine aurora-postgresql --query 616 * "DBEngineVersions[].EngineVersion"</code> </p> <p> <b>Aurora MySQL</b> </p> 617 * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, 618 * <code>5.7.12</code>, <code>5.7.mysql_aurora.2.04.5</code> </p> <p> <b>Aurora 619 * PostgreSQL</b> </p> <p>Example: <code>9.6.3</code>, <code>10.7</code> </p> 620 */ EngineVersionHasBeenSet()621 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } 622 623 /** 624 * <p>The version number of the database engine to use.</p> <p>To list all of the 625 * available engine versions for <code>aurora</code> (for MySQL 5.6-compatible 626 * Aurora), use the following command:</p> <p> <code>aws rds 627 * describe-db-engine-versions --engine aurora --query 628 * "DBEngineVersions[].EngineVersion"</code> </p> <p>To list all of the available 629 * engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), 630 * use the following command:</p> <p> <code>aws rds describe-db-engine-versions 631 * --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code> </p> 632 * <p>To list all of the available engine versions for 633 * <code>aurora-postgresql</code>, use the following command:</p> <p> <code>aws rds 634 * describe-db-engine-versions --engine aurora-postgresql --query 635 * "DBEngineVersions[].EngineVersion"</code> </p> <p> <b>Aurora MySQL</b> </p> 636 * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, 637 * <code>5.7.12</code>, <code>5.7.mysql_aurora.2.04.5</code> </p> <p> <b>Aurora 638 * PostgreSQL</b> </p> <p>Example: <code>9.6.3</code>, <code>10.7</code> </p> 639 */ SetEngineVersion(const Aws::String & value)640 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } 641 642 /** 643 * <p>The version number of the database engine to use.</p> <p>To list all of the 644 * available engine versions for <code>aurora</code> (for MySQL 5.6-compatible 645 * Aurora), use the following command:</p> <p> <code>aws rds 646 * describe-db-engine-versions --engine aurora --query 647 * "DBEngineVersions[].EngineVersion"</code> </p> <p>To list all of the available 648 * engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), 649 * use the following command:</p> <p> <code>aws rds describe-db-engine-versions 650 * --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code> </p> 651 * <p>To list all of the available engine versions for 652 * <code>aurora-postgresql</code>, use the following command:</p> <p> <code>aws rds 653 * describe-db-engine-versions --engine aurora-postgresql --query 654 * "DBEngineVersions[].EngineVersion"</code> </p> <p> <b>Aurora MySQL</b> </p> 655 * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, 656 * <code>5.7.12</code>, <code>5.7.mysql_aurora.2.04.5</code> </p> <p> <b>Aurora 657 * PostgreSQL</b> </p> <p>Example: <code>9.6.3</code>, <code>10.7</code> </p> 658 */ SetEngineVersion(Aws::String && value)659 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } 660 661 /** 662 * <p>The version number of the database engine to use.</p> <p>To list all of the 663 * available engine versions for <code>aurora</code> (for MySQL 5.6-compatible 664 * Aurora), use the following command:</p> <p> <code>aws rds 665 * describe-db-engine-versions --engine aurora --query 666 * "DBEngineVersions[].EngineVersion"</code> </p> <p>To list all of the available 667 * engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), 668 * use the following command:</p> <p> <code>aws rds describe-db-engine-versions 669 * --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code> </p> 670 * <p>To list all of the available engine versions for 671 * <code>aurora-postgresql</code>, use the following command:</p> <p> <code>aws rds 672 * describe-db-engine-versions --engine aurora-postgresql --query 673 * "DBEngineVersions[].EngineVersion"</code> </p> <p> <b>Aurora MySQL</b> </p> 674 * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, 675 * <code>5.7.12</code>, <code>5.7.mysql_aurora.2.04.5</code> </p> <p> <b>Aurora 676 * PostgreSQL</b> </p> <p>Example: <code>9.6.3</code>, <code>10.7</code> </p> 677 */ SetEngineVersion(const char * value)678 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } 679 680 /** 681 * <p>The version number of the database engine to use.</p> <p>To list all of the 682 * available engine versions for <code>aurora</code> (for MySQL 5.6-compatible 683 * Aurora), use the following command:</p> <p> <code>aws rds 684 * describe-db-engine-versions --engine aurora --query 685 * "DBEngineVersions[].EngineVersion"</code> </p> <p>To list all of the available 686 * engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), 687 * use the following command:</p> <p> <code>aws rds describe-db-engine-versions 688 * --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code> </p> 689 * <p>To list all of the available engine versions for 690 * <code>aurora-postgresql</code>, use the following command:</p> <p> <code>aws rds 691 * describe-db-engine-versions --engine aurora-postgresql --query 692 * "DBEngineVersions[].EngineVersion"</code> </p> <p> <b>Aurora MySQL</b> </p> 693 * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, 694 * <code>5.7.12</code>, <code>5.7.mysql_aurora.2.04.5</code> </p> <p> <b>Aurora 695 * PostgreSQL</b> </p> <p>Example: <code>9.6.3</code>, <code>10.7</code> </p> 696 */ WithEngineVersion(const Aws::String & value)697 inline CreateDBClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} 698 699 /** 700 * <p>The version number of the database engine to use.</p> <p>To list all of the 701 * available engine versions for <code>aurora</code> (for MySQL 5.6-compatible 702 * Aurora), use the following command:</p> <p> <code>aws rds 703 * describe-db-engine-versions --engine aurora --query 704 * "DBEngineVersions[].EngineVersion"</code> </p> <p>To list all of the available 705 * engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), 706 * use the following command:</p> <p> <code>aws rds describe-db-engine-versions 707 * --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code> </p> 708 * <p>To list all of the available engine versions for 709 * <code>aurora-postgresql</code>, use the following command:</p> <p> <code>aws rds 710 * describe-db-engine-versions --engine aurora-postgresql --query 711 * "DBEngineVersions[].EngineVersion"</code> </p> <p> <b>Aurora MySQL</b> </p> 712 * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, 713 * <code>5.7.12</code>, <code>5.7.mysql_aurora.2.04.5</code> </p> <p> <b>Aurora 714 * PostgreSQL</b> </p> <p>Example: <code>9.6.3</code>, <code>10.7</code> </p> 715 */ WithEngineVersion(Aws::String && value)716 inline CreateDBClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} 717 718 /** 719 * <p>The version number of the database engine to use.</p> <p>To list all of the 720 * available engine versions for <code>aurora</code> (for MySQL 5.6-compatible 721 * Aurora), use the following command:</p> <p> <code>aws rds 722 * describe-db-engine-versions --engine aurora --query 723 * "DBEngineVersions[].EngineVersion"</code> </p> <p>To list all of the available 724 * engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible Aurora), 725 * use the following command:</p> <p> <code>aws rds describe-db-engine-versions 726 * --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code> </p> 727 * <p>To list all of the available engine versions for 728 * <code>aurora-postgresql</code>, use the following command:</p> <p> <code>aws rds 729 * describe-db-engine-versions --engine aurora-postgresql --query 730 * "DBEngineVersions[].EngineVersion"</code> </p> <p> <b>Aurora MySQL</b> </p> 731 * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, 732 * <code>5.7.12</code>, <code>5.7.mysql_aurora.2.04.5</code> </p> <p> <b>Aurora 733 * PostgreSQL</b> </p> <p>Example: <code>9.6.3</code>, <code>10.7</code> </p> 734 */ WithEngineVersion(const char * value)735 inline CreateDBClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} 736 737 738 /** 739 * <p>The port number on which the instances in the DB cluster accept 740 * connections.</p> <p> Default: <code>3306</code> if engine is set as aurora or 741 * <code>5432</code> if set to aurora-postgresql. </p> 742 */ GetPort()743 inline int GetPort() const{ return m_port; } 744 745 /** 746 * <p>The port number on which the instances in the DB cluster accept 747 * connections.</p> <p> Default: <code>3306</code> if engine is set as aurora or 748 * <code>5432</code> if set to aurora-postgresql. </p> 749 */ PortHasBeenSet()750 inline bool PortHasBeenSet() const { return m_portHasBeenSet; } 751 752 /** 753 * <p>The port number on which the instances in the DB cluster accept 754 * connections.</p> <p> Default: <code>3306</code> if engine is set as aurora or 755 * <code>5432</code> if set to aurora-postgresql. </p> 756 */ SetPort(int value)757 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } 758 759 /** 760 * <p>The port number on which the instances in the DB cluster accept 761 * connections.</p> <p> Default: <code>3306</code> if engine is set as aurora or 762 * <code>5432</code> if set to aurora-postgresql. </p> 763 */ WithPort(int value)764 inline CreateDBClusterRequest& WithPort(int value) { SetPort(value); return *this;} 765 766 767 /** 768 * <p>The name of the master user for the DB cluster.</p> <p>Constraints:</p> <ul> 769 * <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>First character 770 * must be a letter.</p> </li> <li> <p>Can't be a reserved word for the chosen 771 * database engine.</p> </li> </ul> 772 */ GetMasterUsername()773 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; } 774 775 /** 776 * <p>The name of the master user for the DB cluster.</p> <p>Constraints:</p> <ul> 777 * <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>First character 778 * must be a letter.</p> </li> <li> <p>Can't be a reserved word for the chosen 779 * database engine.</p> </li> </ul> 780 */ MasterUsernameHasBeenSet()781 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; } 782 783 /** 784 * <p>The name of the master user for the DB cluster.</p> <p>Constraints:</p> <ul> 785 * <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>First character 786 * must be a letter.</p> </li> <li> <p>Can't be a reserved word for the chosen 787 * database engine.</p> </li> </ul> 788 */ SetMasterUsername(const Aws::String & value)789 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; } 790 791 /** 792 * <p>The name of the master user for the DB cluster.</p> <p>Constraints:</p> <ul> 793 * <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>First character 794 * must be a letter.</p> </li> <li> <p>Can't be a reserved word for the chosen 795 * database engine.</p> </li> </ul> 796 */ SetMasterUsername(Aws::String && value)797 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); } 798 799 /** 800 * <p>The name of the master user for the DB cluster.</p> <p>Constraints:</p> <ul> 801 * <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>First character 802 * must be a letter.</p> </li> <li> <p>Can't be a reserved word for the chosen 803 * database engine.</p> </li> </ul> 804 */ SetMasterUsername(const char * value)805 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); } 806 807 /** 808 * <p>The name of the master user for the DB cluster.</p> <p>Constraints:</p> <ul> 809 * <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>First character 810 * must be a letter.</p> </li> <li> <p>Can't be a reserved word for the chosen 811 * database engine.</p> </li> </ul> 812 */ WithMasterUsername(const Aws::String & value)813 inline CreateDBClusterRequest& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;} 814 815 /** 816 * <p>The name of the master user for the DB cluster.</p> <p>Constraints:</p> <ul> 817 * <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>First character 818 * must be a letter.</p> </li> <li> <p>Can't be a reserved word for the chosen 819 * database engine.</p> </li> </ul> 820 */ WithMasterUsername(Aws::String && value)821 inline CreateDBClusterRequest& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;} 822 823 /** 824 * <p>The name of the master user for the DB cluster.</p> <p>Constraints:</p> <ul> 825 * <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>First character 826 * must be a letter.</p> </li> <li> <p>Can't be a reserved word for the chosen 827 * database engine.</p> </li> </ul> 828 */ WithMasterUsername(const char * value)829 inline CreateDBClusterRequest& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;} 830 831 832 /** 833 * <p>The password for the master database user. This password can contain any 834 * printable ASCII character except "/", """, or "@".</p> <p>Constraints: Must 835 * contain from 8 to 41 characters.</p> 836 */ GetMasterUserPassword()837 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } 838 839 /** 840 * <p>The password for the master database user. This password can contain any 841 * printable ASCII character except "/", """, or "@".</p> <p>Constraints: Must 842 * contain from 8 to 41 characters.</p> 843 */ MasterUserPasswordHasBeenSet()844 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } 845 846 /** 847 * <p>The password for the master database user. This password can contain any 848 * printable ASCII character except "/", """, or "@".</p> <p>Constraints: Must 849 * contain from 8 to 41 characters.</p> 850 */ SetMasterUserPassword(const Aws::String & value)851 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } 852 853 /** 854 * <p>The password for the master database user. This password can contain any 855 * printable ASCII character except "/", """, or "@".</p> <p>Constraints: Must 856 * contain from 8 to 41 characters.</p> 857 */ SetMasterUserPassword(Aws::String && value)858 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } 859 860 /** 861 * <p>The password for the master database user. This password can contain any 862 * printable ASCII character except "/", """, or "@".</p> <p>Constraints: Must 863 * contain from 8 to 41 characters.</p> 864 */ SetMasterUserPassword(const char * value)865 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } 866 867 /** 868 * <p>The password for the master database user. This password can contain any 869 * printable ASCII character except "/", """, or "@".</p> <p>Constraints: Must 870 * contain from 8 to 41 characters.</p> 871 */ WithMasterUserPassword(const Aws::String & value)872 inline CreateDBClusterRequest& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} 873 874 /** 875 * <p>The password for the master database user. This password can contain any 876 * printable ASCII character except "/", """, or "@".</p> <p>Constraints: Must 877 * contain from 8 to 41 characters.</p> 878 */ WithMasterUserPassword(Aws::String && value)879 inline CreateDBClusterRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} 880 881 /** 882 * <p>The password for the master database user. This password can contain any 883 * printable ASCII character except "/", """, or "@".</p> <p>Constraints: Must 884 * contain from 8 to 41 characters.</p> 885 */ WithMasterUserPassword(const char * value)886 inline CreateDBClusterRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} 887 888 889 /** 890 * <p>A value that indicates that the DB cluster should be associated with the 891 * specified option group.</p> <p>Permanent options can't be removed from an option 892 * group. The option group can't be removed from a DB cluster once it is associated 893 * with a DB cluster.</p> 894 */ GetOptionGroupName()895 inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; } 896 897 /** 898 * <p>A value that indicates that the DB cluster should be associated with the 899 * specified option group.</p> <p>Permanent options can't be removed from an option 900 * group. The option group can't be removed from a DB cluster once it is associated 901 * with a DB cluster.</p> 902 */ OptionGroupNameHasBeenSet()903 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; } 904 905 /** 906 * <p>A value that indicates that the DB cluster should be associated with the 907 * specified option group.</p> <p>Permanent options can't be removed from an option 908 * group. The option group can't be removed from a DB cluster once it is associated 909 * with a DB cluster.</p> 910 */ SetOptionGroupName(const Aws::String & value)911 inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; } 912 913 /** 914 * <p>A value that indicates that the DB cluster should be associated with the 915 * specified option group.</p> <p>Permanent options can't be removed from an option 916 * group. The option group can't be removed from a DB cluster once it is associated 917 * with a DB cluster.</p> 918 */ SetOptionGroupName(Aws::String && value)919 inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); } 920 921 /** 922 * <p>A value that indicates that the DB cluster should be associated with the 923 * specified option group.</p> <p>Permanent options can't be removed from an option 924 * group. The option group can't be removed from a DB cluster once it is associated 925 * with a DB cluster.</p> 926 */ SetOptionGroupName(const char * value)927 inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); } 928 929 /** 930 * <p>A value that indicates that the DB cluster should be associated with the 931 * specified option group.</p> <p>Permanent options can't be removed from an option 932 * group. The option group can't be removed from a DB cluster once it is associated 933 * with a DB cluster.</p> 934 */ WithOptionGroupName(const Aws::String & value)935 inline CreateDBClusterRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} 936 937 /** 938 * <p>A value that indicates that the DB cluster should be associated with the 939 * specified option group.</p> <p>Permanent options can't be removed from an option 940 * group. The option group can't be removed from a DB cluster once it is associated 941 * with a DB cluster.</p> 942 */ WithOptionGroupName(Aws::String && value)943 inline CreateDBClusterRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;} 944 945 /** 946 * <p>A value that indicates that the DB cluster should be associated with the 947 * specified option group.</p> <p>Permanent options can't be removed from an option 948 * group. The option group can't be removed from a DB cluster once it is associated 949 * with a DB cluster.</p> 950 */ WithOptionGroupName(const char * value)951 inline CreateDBClusterRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;} 952 953 954 /** 955 * <p>The daily time range during which automated backups are created if automated 956 * backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p> 957 * <p>The default is a 30-minute window selected at random from an 8-hour block of 958 * time for each Amazon Web Services Region. To view the time blocks available, see 959 * <a 960 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> 961 * Backup window</a> in the <i>Amazon Aurora User Guide.</i> </p> 962 * <p>Constraints:</p> <ul> <li> <p>Must be in the format 963 * <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal Coordinated 964 * Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred maintenance 965 * window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> </ul> 966 */ GetPreferredBackupWindow()967 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } 968 969 /** 970 * <p>The daily time range during which automated backups are created if automated 971 * backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p> 972 * <p>The default is a 30-minute window selected at random from an 8-hour block of 973 * time for each Amazon Web Services Region. To view the time blocks available, see 974 * <a 975 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> 976 * Backup window</a> in the <i>Amazon Aurora User Guide.</i> </p> 977 * <p>Constraints:</p> <ul> <li> <p>Must be in the format 978 * <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal Coordinated 979 * Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred maintenance 980 * window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> </ul> 981 */ PreferredBackupWindowHasBeenSet()982 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } 983 984 /** 985 * <p>The daily time range during which automated backups are created if automated 986 * backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p> 987 * <p>The default is a 30-minute window selected at random from an 8-hour block of 988 * time for each Amazon Web Services Region. To view the time blocks available, see 989 * <a 990 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> 991 * Backup window</a> in the <i>Amazon Aurora User Guide.</i> </p> 992 * <p>Constraints:</p> <ul> <li> <p>Must be in the format 993 * <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal Coordinated 994 * Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred maintenance 995 * window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> </ul> 996 */ SetPreferredBackupWindow(const Aws::String & value)997 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } 998 999 /** 1000 * <p>The daily time range during which automated backups are created if automated 1001 * backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p> 1002 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1003 * time for each Amazon Web Services Region. To view the time blocks available, see 1004 * <a 1005 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> 1006 * Backup window</a> in the <i>Amazon Aurora User Guide.</i> </p> 1007 * <p>Constraints:</p> <ul> <li> <p>Must be in the format 1008 * <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal Coordinated 1009 * Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred maintenance 1010 * window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> </ul> 1011 */ SetPreferredBackupWindow(Aws::String && value)1012 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } 1013 1014 /** 1015 * <p>The daily time range during which automated backups are created if automated 1016 * backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p> 1017 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1018 * time for each Amazon Web Services Region. To view the time blocks available, see 1019 * <a 1020 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> 1021 * Backup window</a> in the <i>Amazon Aurora User Guide.</i> </p> 1022 * <p>Constraints:</p> <ul> <li> <p>Must be in the format 1023 * <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal Coordinated 1024 * Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred maintenance 1025 * window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> </ul> 1026 */ SetPreferredBackupWindow(const char * value)1027 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } 1028 1029 /** 1030 * <p>The daily time range during which automated backups are created if automated 1031 * backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p> 1032 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1033 * time for each Amazon Web Services Region. To view the time blocks available, see 1034 * <a 1035 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> 1036 * Backup window</a> in the <i>Amazon Aurora User Guide.</i> </p> 1037 * <p>Constraints:</p> <ul> <li> <p>Must be in the format 1038 * <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal Coordinated 1039 * Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred maintenance 1040 * window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> </ul> 1041 */ WithPreferredBackupWindow(const Aws::String & value)1042 inline CreateDBClusterRequest& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} 1043 1044 /** 1045 * <p>The daily time range during which automated backups are created if automated 1046 * backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p> 1047 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1048 * time for each Amazon Web Services Region. To view the time blocks available, see 1049 * <a 1050 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> 1051 * Backup window</a> in the <i>Amazon Aurora User Guide.</i> </p> 1052 * <p>Constraints:</p> <ul> <li> <p>Must be in the format 1053 * <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal Coordinated 1054 * Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred maintenance 1055 * window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> </ul> 1056 */ WithPreferredBackupWindow(Aws::String && value)1057 inline CreateDBClusterRequest& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} 1058 1059 /** 1060 * <p>The daily time range during which automated backups are created if automated 1061 * backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p> 1062 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1063 * time for each Amazon Web Services Region. To view the time blocks available, see 1064 * <a 1065 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> 1066 * Backup window</a> in the <i>Amazon Aurora User Guide.</i> </p> 1067 * <p>Constraints:</p> <ul> <li> <p>Must be in the format 1068 * <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal Coordinated 1069 * Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred maintenance 1070 * window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> </ul> 1071 */ WithPreferredBackupWindow(const char * value)1072 inline CreateDBClusterRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} 1073 1074 1075 /** 1076 * <p>The weekly time range during which system maintenance can occur, in Universal 1077 * Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> 1078 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1079 * time for each Amazon Web Services Region, occurring on a random day of the week. 1080 * To see the time blocks available, see <a 1081 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> 1082 * Adjusting the Preferred DB Cluster Maintenance Window</a> in the <i>Amazon 1083 * Aurora User Guide.</i> </p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, 1084 * Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1085 */ GetPreferredMaintenanceWindow()1086 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } 1087 1088 /** 1089 * <p>The weekly time range during which system maintenance can occur, in Universal 1090 * Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> 1091 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1092 * time for each Amazon Web Services Region, occurring on a random day of the week. 1093 * To see the time blocks available, see <a 1094 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> 1095 * Adjusting the Preferred DB Cluster Maintenance Window</a> in the <i>Amazon 1096 * Aurora User Guide.</i> </p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, 1097 * Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1098 */ PreferredMaintenanceWindowHasBeenSet()1099 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } 1100 1101 /** 1102 * <p>The weekly time range during which system maintenance can occur, in Universal 1103 * Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> 1104 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1105 * time for each Amazon Web Services Region, occurring on a random day of the week. 1106 * To see the time blocks available, see <a 1107 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> 1108 * Adjusting the Preferred DB Cluster Maintenance Window</a> in the <i>Amazon 1109 * Aurora User Guide.</i> </p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, 1110 * Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1111 */ SetPreferredMaintenanceWindow(const Aws::String & value)1112 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } 1113 1114 /** 1115 * <p>The weekly time range during which system maintenance can occur, in Universal 1116 * Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> 1117 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1118 * time for each Amazon Web Services Region, occurring on a random day of the week. 1119 * To see the time blocks available, see <a 1120 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> 1121 * Adjusting the Preferred DB Cluster Maintenance Window</a> in the <i>Amazon 1122 * Aurora User Guide.</i> </p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, 1123 * Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1124 */ SetPreferredMaintenanceWindow(Aws::String && value)1125 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } 1126 1127 /** 1128 * <p>The weekly time range during which system maintenance can occur, in Universal 1129 * Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> 1130 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1131 * time for each Amazon Web Services Region, occurring on a random day of the week. 1132 * To see the time blocks available, see <a 1133 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> 1134 * Adjusting the Preferred DB Cluster Maintenance Window</a> in the <i>Amazon 1135 * Aurora User Guide.</i> </p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, 1136 * Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1137 */ SetPreferredMaintenanceWindow(const char * value)1138 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } 1139 1140 /** 1141 * <p>The weekly time range during which system maintenance can occur, in Universal 1142 * Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> 1143 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1144 * time for each Amazon Web Services Region, occurring on a random day of the week. 1145 * To see the time blocks available, see <a 1146 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> 1147 * Adjusting the Preferred DB Cluster Maintenance Window</a> in the <i>Amazon 1148 * Aurora User Guide.</i> </p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, 1149 * Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1150 */ WithPreferredMaintenanceWindow(const Aws::String & value)1151 inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} 1152 1153 /** 1154 * <p>The weekly time range during which system maintenance can occur, in Universal 1155 * Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> 1156 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1157 * time for each Amazon Web Services Region, occurring on a random day of the week. 1158 * To see the time blocks available, see <a 1159 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> 1160 * Adjusting the Preferred DB Cluster Maintenance Window</a> in the <i>Amazon 1161 * Aurora User Guide.</i> </p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, 1162 * Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1163 */ WithPreferredMaintenanceWindow(Aws::String && value)1164 inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} 1165 1166 /** 1167 * <p>The weekly time range during which system maintenance can occur, in Universal 1168 * Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> 1169 * <p>The default is a 30-minute window selected at random from an 8-hour block of 1170 * time for each Amazon Web Services Region, occurring on a random day of the week. 1171 * To see the time blocks available, see <a 1172 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> 1173 * Adjusting the Preferred DB Cluster Maintenance Window</a> in the <i>Amazon 1174 * Aurora User Guide.</i> </p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, 1175 * Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1176 */ WithPreferredMaintenanceWindow(const char * value)1177 inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} 1178 1179 1180 /** 1181 * <p>The Amazon Resource Name (ARN) of the source DB instance or DB cluster if 1182 * this DB cluster is created as a read replica.</p> 1183 */ GetReplicationSourceIdentifier()1184 inline const Aws::String& GetReplicationSourceIdentifier() const{ return m_replicationSourceIdentifier; } 1185 1186 /** 1187 * <p>The Amazon Resource Name (ARN) of the source DB instance or DB cluster if 1188 * this DB cluster is created as a read replica.</p> 1189 */ ReplicationSourceIdentifierHasBeenSet()1190 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; } 1191 1192 /** 1193 * <p>The Amazon Resource Name (ARN) of the source DB instance or DB cluster if 1194 * this DB cluster is created as a read replica.</p> 1195 */ SetReplicationSourceIdentifier(const Aws::String & value)1196 inline void SetReplicationSourceIdentifier(const Aws::String& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = value; } 1197 1198 /** 1199 * <p>The Amazon Resource Name (ARN) of the source DB instance or DB cluster if 1200 * this DB cluster is created as a read replica.</p> 1201 */ SetReplicationSourceIdentifier(Aws::String && value)1202 inline void SetReplicationSourceIdentifier(Aws::String&& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = std::move(value); } 1203 1204 /** 1205 * <p>The Amazon Resource Name (ARN) of the source DB instance or DB cluster if 1206 * this DB cluster is created as a read replica.</p> 1207 */ SetReplicationSourceIdentifier(const char * value)1208 inline void SetReplicationSourceIdentifier(const char* value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier.assign(value); } 1209 1210 /** 1211 * <p>The Amazon Resource Name (ARN) of the source DB instance or DB cluster if 1212 * this DB cluster is created as a read replica.</p> 1213 */ WithReplicationSourceIdentifier(const Aws::String & value)1214 inline CreateDBClusterRequest& WithReplicationSourceIdentifier(const Aws::String& value) { SetReplicationSourceIdentifier(value); return *this;} 1215 1216 /** 1217 * <p>The Amazon Resource Name (ARN) of the source DB instance or DB cluster if 1218 * this DB cluster is created as a read replica.</p> 1219 */ WithReplicationSourceIdentifier(Aws::String && value)1220 inline CreateDBClusterRequest& WithReplicationSourceIdentifier(Aws::String&& value) { SetReplicationSourceIdentifier(std::move(value)); return *this;} 1221 1222 /** 1223 * <p>The Amazon Resource Name (ARN) of the source DB instance or DB cluster if 1224 * this DB cluster is created as a read replica.</p> 1225 */ WithReplicationSourceIdentifier(const char * value)1226 inline CreateDBClusterRequest& WithReplicationSourceIdentifier(const char* value) { SetReplicationSourceIdentifier(value); return *this;} 1227 1228 1229 /** 1230 * <p>Tags to assign to the DB cluster.</p> 1231 */ GetTags()1232 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; } 1233 1234 /** 1235 * <p>Tags to assign to the DB cluster.</p> 1236 */ TagsHasBeenSet()1237 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } 1238 1239 /** 1240 * <p>Tags to assign to the DB cluster.</p> 1241 */ SetTags(const Aws::Vector<Tag> & value)1242 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; } 1243 1244 /** 1245 * <p>Tags to assign to the DB cluster.</p> 1246 */ SetTags(Aws::Vector<Tag> && value)1247 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } 1248 1249 /** 1250 * <p>Tags to assign to the DB cluster.</p> 1251 */ WithTags(const Aws::Vector<Tag> & value)1252 inline CreateDBClusterRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;} 1253 1254 /** 1255 * <p>Tags to assign to the DB cluster.</p> 1256 */ WithTags(Aws::Vector<Tag> && value)1257 inline CreateDBClusterRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;} 1258 1259 /** 1260 * <p>Tags to assign to the DB cluster.</p> 1261 */ AddTags(const Tag & value)1262 inline CreateDBClusterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } 1263 1264 /** 1265 * <p>Tags to assign to the DB cluster.</p> 1266 */ AddTags(Tag && value)1267 inline CreateDBClusterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } 1268 1269 1270 /** 1271 * <p>A value that indicates whether the DB cluster is encrypted.</p> 1272 */ GetStorageEncrypted()1273 inline bool GetStorageEncrypted() const{ return m_storageEncrypted; } 1274 1275 /** 1276 * <p>A value that indicates whether the DB cluster is encrypted.</p> 1277 */ StorageEncryptedHasBeenSet()1278 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; } 1279 1280 /** 1281 * <p>A value that indicates whether the DB cluster is encrypted.</p> 1282 */ SetStorageEncrypted(bool value)1283 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; } 1284 1285 /** 1286 * <p>A value that indicates whether the DB cluster is encrypted.</p> 1287 */ WithStorageEncrypted(bool value)1288 inline CreateDBClusterRequest& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;} 1289 1290 1291 /** 1292 * <p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> 1293 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 1294 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 1295 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 1296 * ARN.</p> <p>When a CMK isn't specified in <code>KmsKeyId</code>:</p> <ul> <li> 1297 * <p>If <code>ReplicationSourceIdentifier</code> identifies an encrypted source, 1298 * then Amazon RDS will use the CMK used to encrypt the source. Otherwise, Amazon 1299 * RDS will use your default CMK. </p> </li> <li> <p>If the 1300 * <code>StorageEncrypted</code> parameter is enabled and 1301 * <code>ReplicationSourceIdentifier</code> isn't specified, then Amazon RDS will 1302 * use your default CMK.</p> </li> </ul> <p>There is a default CMK for your Amazon 1303 * Web Services account. Your Amazon Web Services account has a different default 1304 * CMK for each Amazon Web Services Region.</p> <p>If you create a read replica of 1305 * an encrypted DB cluster in another Amazon Web Services Region, you must set 1306 * <code>KmsKeyId</code> to a Amazon Web Services KMS key identifier that is valid 1307 * in the destination Amazon Web Services Region. This CMK is used to encrypt the 1308 * read replica in that Amazon Web Services Region.</p> 1309 */ GetKmsKeyId()1310 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } 1311 1312 /** 1313 * <p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> 1314 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 1315 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 1316 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 1317 * ARN.</p> <p>When a CMK isn't specified in <code>KmsKeyId</code>:</p> <ul> <li> 1318 * <p>If <code>ReplicationSourceIdentifier</code> identifies an encrypted source, 1319 * then Amazon RDS will use the CMK used to encrypt the source. Otherwise, Amazon 1320 * RDS will use your default CMK. </p> </li> <li> <p>If the 1321 * <code>StorageEncrypted</code> parameter is enabled and 1322 * <code>ReplicationSourceIdentifier</code> isn't specified, then Amazon RDS will 1323 * use your default CMK.</p> </li> </ul> <p>There is a default CMK for your Amazon 1324 * Web Services account. Your Amazon Web Services account has a different default 1325 * CMK for each Amazon Web Services Region.</p> <p>If you create a read replica of 1326 * an encrypted DB cluster in another Amazon Web Services Region, you must set 1327 * <code>KmsKeyId</code> to a Amazon Web Services KMS key identifier that is valid 1328 * in the destination Amazon Web Services Region. This CMK is used to encrypt the 1329 * read replica in that Amazon Web Services Region.</p> 1330 */ KmsKeyIdHasBeenSet()1331 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } 1332 1333 /** 1334 * <p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> 1335 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 1336 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 1337 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 1338 * ARN.</p> <p>When a CMK isn't specified in <code>KmsKeyId</code>:</p> <ul> <li> 1339 * <p>If <code>ReplicationSourceIdentifier</code> identifies an encrypted source, 1340 * then Amazon RDS will use the CMK used to encrypt the source. Otherwise, Amazon 1341 * RDS will use your default CMK. </p> </li> <li> <p>If the 1342 * <code>StorageEncrypted</code> parameter is enabled and 1343 * <code>ReplicationSourceIdentifier</code> isn't specified, then Amazon RDS will 1344 * use your default CMK.</p> </li> </ul> <p>There is a default CMK for your Amazon 1345 * Web Services account. Your Amazon Web Services account has a different default 1346 * CMK for each Amazon Web Services Region.</p> <p>If you create a read replica of 1347 * an encrypted DB cluster in another Amazon Web Services Region, you must set 1348 * <code>KmsKeyId</code> to a Amazon Web Services KMS key identifier that is valid 1349 * in the destination Amazon Web Services Region. This CMK is used to encrypt the 1350 * read replica in that Amazon Web Services Region.</p> 1351 */ SetKmsKeyId(const Aws::String & value)1352 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } 1353 1354 /** 1355 * <p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> 1356 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 1357 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 1358 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 1359 * ARN.</p> <p>When a CMK isn't specified in <code>KmsKeyId</code>:</p> <ul> <li> 1360 * <p>If <code>ReplicationSourceIdentifier</code> identifies an encrypted source, 1361 * then Amazon RDS will use the CMK used to encrypt the source. Otherwise, Amazon 1362 * RDS will use your default CMK. </p> </li> <li> <p>If the 1363 * <code>StorageEncrypted</code> parameter is enabled and 1364 * <code>ReplicationSourceIdentifier</code> isn't specified, then Amazon RDS will 1365 * use your default CMK.</p> </li> </ul> <p>There is a default CMK for your Amazon 1366 * Web Services account. Your Amazon Web Services account has a different default 1367 * CMK for each Amazon Web Services Region.</p> <p>If you create a read replica of 1368 * an encrypted DB cluster in another Amazon Web Services Region, you must set 1369 * <code>KmsKeyId</code> to a Amazon Web Services KMS key identifier that is valid 1370 * in the destination Amazon Web Services Region. This CMK is used to encrypt the 1371 * read replica in that Amazon Web Services Region.</p> 1372 */ SetKmsKeyId(Aws::String && value)1373 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } 1374 1375 /** 1376 * <p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> 1377 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 1378 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 1379 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 1380 * ARN.</p> <p>When a CMK isn't specified in <code>KmsKeyId</code>:</p> <ul> <li> 1381 * <p>If <code>ReplicationSourceIdentifier</code> identifies an encrypted source, 1382 * then Amazon RDS will use the CMK used to encrypt the source. Otherwise, Amazon 1383 * RDS will use your default CMK. </p> </li> <li> <p>If the 1384 * <code>StorageEncrypted</code> parameter is enabled and 1385 * <code>ReplicationSourceIdentifier</code> isn't specified, then Amazon RDS will 1386 * use your default CMK.</p> </li> </ul> <p>There is a default CMK for your Amazon 1387 * Web Services account. Your Amazon Web Services account has a different default 1388 * CMK for each Amazon Web Services Region.</p> <p>If you create a read replica of 1389 * an encrypted DB cluster in another Amazon Web Services Region, you must set 1390 * <code>KmsKeyId</code> to a Amazon Web Services KMS key identifier that is valid 1391 * in the destination Amazon Web Services Region. This CMK is used to encrypt the 1392 * read replica in that Amazon Web Services Region.</p> 1393 */ SetKmsKeyId(const char * value)1394 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } 1395 1396 /** 1397 * <p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> 1398 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 1399 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 1400 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 1401 * ARN.</p> <p>When a CMK isn't specified in <code>KmsKeyId</code>:</p> <ul> <li> 1402 * <p>If <code>ReplicationSourceIdentifier</code> identifies an encrypted source, 1403 * then Amazon RDS will use the CMK used to encrypt the source. Otherwise, Amazon 1404 * RDS will use your default CMK. </p> </li> <li> <p>If the 1405 * <code>StorageEncrypted</code> parameter is enabled and 1406 * <code>ReplicationSourceIdentifier</code> isn't specified, then Amazon RDS will 1407 * use your default CMK.</p> </li> </ul> <p>There is a default CMK for your Amazon 1408 * Web Services account. Your Amazon Web Services account has a different default 1409 * CMK for each Amazon Web Services Region.</p> <p>If you create a read replica of 1410 * an encrypted DB cluster in another Amazon Web Services Region, you must set 1411 * <code>KmsKeyId</code> to a Amazon Web Services KMS key identifier that is valid 1412 * in the destination Amazon Web Services Region. This CMK is used to encrypt the 1413 * read replica in that Amazon Web Services Region.</p> 1414 */ WithKmsKeyId(const Aws::String & value)1415 inline CreateDBClusterRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} 1416 1417 /** 1418 * <p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> 1419 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 1420 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 1421 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 1422 * ARN.</p> <p>When a CMK isn't specified in <code>KmsKeyId</code>:</p> <ul> <li> 1423 * <p>If <code>ReplicationSourceIdentifier</code> identifies an encrypted source, 1424 * then Amazon RDS will use the CMK used to encrypt the source. Otherwise, Amazon 1425 * RDS will use your default CMK. </p> </li> <li> <p>If the 1426 * <code>StorageEncrypted</code> parameter is enabled and 1427 * <code>ReplicationSourceIdentifier</code> isn't specified, then Amazon RDS will 1428 * use your default CMK.</p> </li> </ul> <p>There is a default CMK for your Amazon 1429 * Web Services account. Your Amazon Web Services account has a different default 1430 * CMK for each Amazon Web Services Region.</p> <p>If you create a read replica of 1431 * an encrypted DB cluster in another Amazon Web Services Region, you must set 1432 * <code>KmsKeyId</code> to a Amazon Web Services KMS key identifier that is valid 1433 * in the destination Amazon Web Services Region. This CMK is used to encrypt the 1434 * read replica in that Amazon Web Services Region.</p> 1435 */ WithKmsKeyId(Aws::String && value)1436 inline CreateDBClusterRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} 1437 1438 /** 1439 * <p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> 1440 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 1441 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 1442 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 1443 * ARN.</p> <p>When a CMK isn't specified in <code>KmsKeyId</code>:</p> <ul> <li> 1444 * <p>If <code>ReplicationSourceIdentifier</code> identifies an encrypted source, 1445 * then Amazon RDS will use the CMK used to encrypt the source. Otherwise, Amazon 1446 * RDS will use your default CMK. </p> </li> <li> <p>If the 1447 * <code>StorageEncrypted</code> parameter is enabled and 1448 * <code>ReplicationSourceIdentifier</code> isn't specified, then Amazon RDS will 1449 * use your default CMK.</p> </li> </ul> <p>There is a default CMK for your Amazon 1450 * Web Services account. Your Amazon Web Services account has a different default 1451 * CMK for each Amazon Web Services Region.</p> <p>If you create a read replica of 1452 * an encrypted DB cluster in another Amazon Web Services Region, you must set 1453 * <code>KmsKeyId</code> to a Amazon Web Services KMS key identifier that is valid 1454 * in the destination Amazon Web Services Region. This CMK is used to encrypt the 1455 * read replica in that Amazon Web Services Region.</p> 1456 */ WithKmsKeyId(const char * value)1457 inline CreateDBClusterRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} 1458 1459 1460 /** 1461 * <p>A URL that contains a Signature Version 4 signed request for the 1462 * <code>CreateDBCluster</code> action to be called in the source Amazon Web 1463 * Services Region where the DB cluster is replicated from. You only need to 1464 * specify <code>PreSignedUrl</code> when you are performing cross-region 1465 * replication from an encrypted DB cluster.</p> <p>The pre-signed URL must be a 1466 * valid request for the <code>CreateDBCluster</code> API action that can be 1467 * executed in the source Amazon Web Services Region that contains the encrypted DB 1468 * cluster to be copied.</p> <p>The pre-signed URL request must contain the 1469 * following parameter values:</p> <ul> <li> <p> <code>KmsKeyId</code> - The Amazon 1470 * Web Services KMS key identifier for the key to use to encrypt the copy of the DB 1471 * cluster in the destination Amazon Web Services Region. This should refer to the 1472 * same Amazon Web Services KMS CMK for both the <code>CreateDBCluster</code> 1473 * action that is called in the destination Amazon Web Services Region, and the 1474 * action contained in the pre-signed URL.</p> </li> <li> <p> 1475 * <code>DestinationRegion</code> - The name of the Amazon Web Services Region that 1476 * Aurora read replica will be created in.</p> </li> <li> <p> 1477 * <code>ReplicationSourceIdentifier</code> - The DB cluster identifier for the 1478 * encrypted DB cluster to be copied. This identifier must be in the Amazon 1479 * Resource Name (ARN) format for the source Amazon Web Services Region. For 1480 * example, if you are copying an encrypted DB cluster from the us-west-2 Amazon 1481 * Web Services Region, then your <code>ReplicationSourceIdentifier</code> would 1482 * look like Example: 1483 * <code>arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1</code>.</p> 1484 * </li> </ul> <p>To learn how to generate a Signature Version 4 signed request, 1485 * see <a 1486 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html"> 1487 * Authenticating Requests: Using Query Parameters (Amazon Web Services Signature 1488 * Version 4)</a> and <a 1489 * href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"> 1490 * Signature Version 4 Signing Process</a>.</p> <p>If you are using an 1491 * Amazon Web Services SDK tool or the CLI, you can specify 1492 * <code>SourceRegion</code> (or <code>--source-region</code> for the CLI) instead 1493 * of specifying <code>PreSignedUrl</code> manually. Specifying 1494 * <code>SourceRegion</code> autogenerates a pre-signed URL that is a valid request 1495 * for the operation that can be executed in the source Amazon Web Services 1496 * Region.</p> 1497 */ GetPreSignedUrl()1498 inline const Aws::String& GetPreSignedUrl() const{ return m_preSignedUrl; } 1499 1500 /** 1501 * <p>A URL that contains a Signature Version 4 signed request for the 1502 * <code>CreateDBCluster</code> action to be called in the source Amazon Web 1503 * Services Region where the DB cluster is replicated from. You only need to 1504 * specify <code>PreSignedUrl</code> when you are performing cross-region 1505 * replication from an encrypted DB cluster.</p> <p>The pre-signed URL must be a 1506 * valid request for the <code>CreateDBCluster</code> API action that can be 1507 * executed in the source Amazon Web Services Region that contains the encrypted DB 1508 * cluster to be copied.</p> <p>The pre-signed URL request must contain the 1509 * following parameter values:</p> <ul> <li> <p> <code>KmsKeyId</code> - The Amazon 1510 * Web Services KMS key identifier for the key to use to encrypt the copy of the DB 1511 * cluster in the destination Amazon Web Services Region. This should refer to the 1512 * same Amazon Web Services KMS CMK for both the <code>CreateDBCluster</code> 1513 * action that is called in the destination Amazon Web Services Region, and the 1514 * action contained in the pre-signed URL.</p> </li> <li> <p> 1515 * <code>DestinationRegion</code> - The name of the Amazon Web Services Region that 1516 * Aurora read replica will be created in.</p> </li> <li> <p> 1517 * <code>ReplicationSourceIdentifier</code> - The DB cluster identifier for the 1518 * encrypted DB cluster to be copied. This identifier must be in the Amazon 1519 * Resource Name (ARN) format for the source Amazon Web Services Region. For 1520 * example, if you are copying an encrypted DB cluster from the us-west-2 Amazon 1521 * Web Services Region, then your <code>ReplicationSourceIdentifier</code> would 1522 * look like Example: 1523 * <code>arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1</code>.</p> 1524 * </li> </ul> <p>To learn how to generate a Signature Version 4 signed request, 1525 * see <a 1526 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html"> 1527 * Authenticating Requests: Using Query Parameters (Amazon Web Services Signature 1528 * Version 4)</a> and <a 1529 * href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"> 1530 * Signature Version 4 Signing Process</a>.</p> <p>If you are using an 1531 * Amazon Web Services SDK tool or the CLI, you can specify 1532 * <code>SourceRegion</code> (or <code>--source-region</code> for the CLI) instead 1533 * of specifying <code>PreSignedUrl</code> manually. Specifying 1534 * <code>SourceRegion</code> autogenerates a pre-signed URL that is a valid request 1535 * for the operation that can be executed in the source Amazon Web Services 1536 * Region.</p> 1537 */ PreSignedUrlHasBeenSet()1538 inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; } 1539 1540 /** 1541 * <p>A URL that contains a Signature Version 4 signed request for the 1542 * <code>CreateDBCluster</code> action to be called in the source Amazon Web 1543 * Services Region where the DB cluster is replicated from. You only need to 1544 * specify <code>PreSignedUrl</code> when you are performing cross-region 1545 * replication from an encrypted DB cluster.</p> <p>The pre-signed URL must be a 1546 * valid request for the <code>CreateDBCluster</code> API action that can be 1547 * executed in the source Amazon Web Services Region that contains the encrypted DB 1548 * cluster to be copied.</p> <p>The pre-signed URL request must contain the 1549 * following parameter values:</p> <ul> <li> <p> <code>KmsKeyId</code> - The Amazon 1550 * Web Services KMS key identifier for the key to use to encrypt the copy of the DB 1551 * cluster in the destination Amazon Web Services Region. This should refer to the 1552 * same Amazon Web Services KMS CMK for both the <code>CreateDBCluster</code> 1553 * action that is called in the destination Amazon Web Services Region, and the 1554 * action contained in the pre-signed URL.</p> </li> <li> <p> 1555 * <code>DestinationRegion</code> - The name of the Amazon Web Services Region that 1556 * Aurora read replica will be created in.</p> </li> <li> <p> 1557 * <code>ReplicationSourceIdentifier</code> - The DB cluster identifier for the 1558 * encrypted DB cluster to be copied. This identifier must be in the Amazon 1559 * Resource Name (ARN) format for the source Amazon Web Services Region. For 1560 * example, if you are copying an encrypted DB cluster from the us-west-2 Amazon 1561 * Web Services Region, then your <code>ReplicationSourceIdentifier</code> would 1562 * look like Example: 1563 * <code>arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1</code>.</p> 1564 * </li> </ul> <p>To learn how to generate a Signature Version 4 signed request, 1565 * see <a 1566 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html"> 1567 * Authenticating Requests: Using Query Parameters (Amazon Web Services Signature 1568 * Version 4)</a> and <a 1569 * href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"> 1570 * Signature Version 4 Signing Process</a>.</p> <p>If you are using an 1571 * Amazon Web Services SDK tool or the CLI, you can specify 1572 * <code>SourceRegion</code> (or <code>--source-region</code> for the CLI) instead 1573 * of specifying <code>PreSignedUrl</code> manually. Specifying 1574 * <code>SourceRegion</code> autogenerates a pre-signed URL that is a valid request 1575 * for the operation that can be executed in the source Amazon Web Services 1576 * Region.</p> 1577 */ SetPreSignedUrl(const Aws::String & value)1578 inline void SetPreSignedUrl(const Aws::String& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = value; } 1579 1580 /** 1581 * <p>A URL that contains a Signature Version 4 signed request for the 1582 * <code>CreateDBCluster</code> action to be called in the source Amazon Web 1583 * Services Region where the DB cluster is replicated from. You only need to 1584 * specify <code>PreSignedUrl</code> when you are performing cross-region 1585 * replication from an encrypted DB cluster.</p> <p>The pre-signed URL must be a 1586 * valid request for the <code>CreateDBCluster</code> API action that can be 1587 * executed in the source Amazon Web Services Region that contains the encrypted DB 1588 * cluster to be copied.</p> <p>The pre-signed URL request must contain the 1589 * following parameter values:</p> <ul> <li> <p> <code>KmsKeyId</code> - The Amazon 1590 * Web Services KMS key identifier for the key to use to encrypt the copy of the DB 1591 * cluster in the destination Amazon Web Services Region. This should refer to the 1592 * same Amazon Web Services KMS CMK for both the <code>CreateDBCluster</code> 1593 * action that is called in the destination Amazon Web Services Region, and the 1594 * action contained in the pre-signed URL.</p> </li> <li> <p> 1595 * <code>DestinationRegion</code> - The name of the Amazon Web Services Region that 1596 * Aurora read replica will be created in.</p> </li> <li> <p> 1597 * <code>ReplicationSourceIdentifier</code> - The DB cluster identifier for the 1598 * encrypted DB cluster to be copied. This identifier must be in the Amazon 1599 * Resource Name (ARN) format for the source Amazon Web Services Region. For 1600 * example, if you are copying an encrypted DB cluster from the us-west-2 Amazon 1601 * Web Services Region, then your <code>ReplicationSourceIdentifier</code> would 1602 * look like Example: 1603 * <code>arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1</code>.</p> 1604 * </li> </ul> <p>To learn how to generate a Signature Version 4 signed request, 1605 * see <a 1606 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html"> 1607 * Authenticating Requests: Using Query Parameters (Amazon Web Services Signature 1608 * Version 4)</a> and <a 1609 * href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"> 1610 * Signature Version 4 Signing Process</a>.</p> <p>If you are using an 1611 * Amazon Web Services SDK tool or the CLI, you can specify 1612 * <code>SourceRegion</code> (or <code>--source-region</code> for the CLI) instead 1613 * of specifying <code>PreSignedUrl</code> manually. Specifying 1614 * <code>SourceRegion</code> autogenerates a pre-signed URL that is a valid request 1615 * for the operation that can be executed in the source Amazon Web Services 1616 * Region.</p> 1617 */ SetPreSignedUrl(Aws::String && value)1618 inline void SetPreSignedUrl(Aws::String&& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = std::move(value); } 1619 1620 /** 1621 * <p>A URL that contains a Signature Version 4 signed request for the 1622 * <code>CreateDBCluster</code> action to be called in the source Amazon Web 1623 * Services Region where the DB cluster is replicated from. You only need to 1624 * specify <code>PreSignedUrl</code> when you are performing cross-region 1625 * replication from an encrypted DB cluster.</p> <p>The pre-signed URL must be a 1626 * valid request for the <code>CreateDBCluster</code> API action that can be 1627 * executed in the source Amazon Web Services Region that contains the encrypted DB 1628 * cluster to be copied.</p> <p>The pre-signed URL request must contain the 1629 * following parameter values:</p> <ul> <li> <p> <code>KmsKeyId</code> - The Amazon 1630 * Web Services KMS key identifier for the key to use to encrypt the copy of the DB 1631 * cluster in the destination Amazon Web Services Region. This should refer to the 1632 * same Amazon Web Services KMS CMK for both the <code>CreateDBCluster</code> 1633 * action that is called in the destination Amazon Web Services Region, and the 1634 * action contained in the pre-signed URL.</p> </li> <li> <p> 1635 * <code>DestinationRegion</code> - The name of the Amazon Web Services Region that 1636 * Aurora read replica will be created in.</p> </li> <li> <p> 1637 * <code>ReplicationSourceIdentifier</code> - The DB cluster identifier for the 1638 * encrypted DB cluster to be copied. This identifier must be in the Amazon 1639 * Resource Name (ARN) format for the source Amazon Web Services Region. For 1640 * example, if you are copying an encrypted DB cluster from the us-west-2 Amazon 1641 * Web Services Region, then your <code>ReplicationSourceIdentifier</code> would 1642 * look like Example: 1643 * <code>arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1</code>.</p> 1644 * </li> </ul> <p>To learn how to generate a Signature Version 4 signed request, 1645 * see <a 1646 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html"> 1647 * Authenticating Requests: Using Query Parameters (Amazon Web Services Signature 1648 * Version 4)</a> and <a 1649 * href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"> 1650 * Signature Version 4 Signing Process</a>.</p> <p>If you are using an 1651 * Amazon Web Services SDK tool or the CLI, you can specify 1652 * <code>SourceRegion</code> (or <code>--source-region</code> for the CLI) instead 1653 * of specifying <code>PreSignedUrl</code> manually. Specifying 1654 * <code>SourceRegion</code> autogenerates a pre-signed URL that is a valid request 1655 * for the operation that can be executed in the source Amazon Web Services 1656 * Region.</p> 1657 */ SetPreSignedUrl(const char * value)1658 inline void SetPreSignedUrl(const char* value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl.assign(value); } 1659 1660 /** 1661 * <p>A URL that contains a Signature Version 4 signed request for the 1662 * <code>CreateDBCluster</code> action to be called in the source Amazon Web 1663 * Services Region where the DB cluster is replicated from. You only need to 1664 * specify <code>PreSignedUrl</code> when you are performing cross-region 1665 * replication from an encrypted DB cluster.</p> <p>The pre-signed URL must be a 1666 * valid request for the <code>CreateDBCluster</code> API action that can be 1667 * executed in the source Amazon Web Services Region that contains the encrypted DB 1668 * cluster to be copied.</p> <p>The pre-signed URL request must contain the 1669 * following parameter values:</p> <ul> <li> <p> <code>KmsKeyId</code> - The Amazon 1670 * Web Services KMS key identifier for the key to use to encrypt the copy of the DB 1671 * cluster in the destination Amazon Web Services Region. This should refer to the 1672 * same Amazon Web Services KMS CMK for both the <code>CreateDBCluster</code> 1673 * action that is called in the destination Amazon Web Services Region, and the 1674 * action contained in the pre-signed URL.</p> </li> <li> <p> 1675 * <code>DestinationRegion</code> - The name of the Amazon Web Services Region that 1676 * Aurora read replica will be created in.</p> </li> <li> <p> 1677 * <code>ReplicationSourceIdentifier</code> - The DB cluster identifier for the 1678 * encrypted DB cluster to be copied. This identifier must be in the Amazon 1679 * Resource Name (ARN) format for the source Amazon Web Services Region. For 1680 * example, if you are copying an encrypted DB cluster from the us-west-2 Amazon 1681 * Web Services Region, then your <code>ReplicationSourceIdentifier</code> would 1682 * look like Example: 1683 * <code>arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1</code>.</p> 1684 * </li> </ul> <p>To learn how to generate a Signature Version 4 signed request, 1685 * see <a 1686 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html"> 1687 * Authenticating Requests: Using Query Parameters (Amazon Web Services Signature 1688 * Version 4)</a> and <a 1689 * href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"> 1690 * Signature Version 4 Signing Process</a>.</p> <p>If you are using an 1691 * Amazon Web Services SDK tool or the CLI, you can specify 1692 * <code>SourceRegion</code> (or <code>--source-region</code> for the CLI) instead 1693 * of specifying <code>PreSignedUrl</code> manually. Specifying 1694 * <code>SourceRegion</code> autogenerates a pre-signed URL that is a valid request 1695 * for the operation that can be executed in the source Amazon Web Services 1696 * Region.</p> 1697 */ WithPreSignedUrl(const Aws::String & value)1698 inline CreateDBClusterRequest& WithPreSignedUrl(const Aws::String& value) { SetPreSignedUrl(value); return *this;} 1699 1700 /** 1701 * <p>A URL that contains a Signature Version 4 signed request for the 1702 * <code>CreateDBCluster</code> action to be called in the source Amazon Web 1703 * Services Region where the DB cluster is replicated from. You only need to 1704 * specify <code>PreSignedUrl</code> when you are performing cross-region 1705 * replication from an encrypted DB cluster.</p> <p>The pre-signed URL must be a 1706 * valid request for the <code>CreateDBCluster</code> API action that can be 1707 * executed in the source Amazon Web Services Region that contains the encrypted DB 1708 * cluster to be copied.</p> <p>The pre-signed URL request must contain the 1709 * following parameter values:</p> <ul> <li> <p> <code>KmsKeyId</code> - The Amazon 1710 * Web Services KMS key identifier for the key to use to encrypt the copy of the DB 1711 * cluster in the destination Amazon Web Services Region. This should refer to the 1712 * same Amazon Web Services KMS CMK for both the <code>CreateDBCluster</code> 1713 * action that is called in the destination Amazon Web Services Region, and the 1714 * action contained in the pre-signed URL.</p> </li> <li> <p> 1715 * <code>DestinationRegion</code> - The name of the Amazon Web Services Region that 1716 * Aurora read replica will be created in.</p> </li> <li> <p> 1717 * <code>ReplicationSourceIdentifier</code> - The DB cluster identifier for the 1718 * encrypted DB cluster to be copied. This identifier must be in the Amazon 1719 * Resource Name (ARN) format for the source Amazon Web Services Region. For 1720 * example, if you are copying an encrypted DB cluster from the us-west-2 Amazon 1721 * Web Services Region, then your <code>ReplicationSourceIdentifier</code> would 1722 * look like Example: 1723 * <code>arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1</code>.</p> 1724 * </li> </ul> <p>To learn how to generate a Signature Version 4 signed request, 1725 * see <a 1726 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html"> 1727 * Authenticating Requests: Using Query Parameters (Amazon Web Services Signature 1728 * Version 4)</a> and <a 1729 * href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"> 1730 * Signature Version 4 Signing Process</a>.</p> <p>If you are using an 1731 * Amazon Web Services SDK tool or the CLI, you can specify 1732 * <code>SourceRegion</code> (or <code>--source-region</code> for the CLI) instead 1733 * of specifying <code>PreSignedUrl</code> manually. Specifying 1734 * <code>SourceRegion</code> autogenerates a pre-signed URL that is a valid request 1735 * for the operation that can be executed in the source Amazon Web Services 1736 * Region.</p> 1737 */ WithPreSignedUrl(Aws::String && value)1738 inline CreateDBClusterRequest& WithPreSignedUrl(Aws::String&& value) { SetPreSignedUrl(std::move(value)); return *this;} 1739 1740 /** 1741 * <p>A URL that contains a Signature Version 4 signed request for the 1742 * <code>CreateDBCluster</code> action to be called in the source Amazon Web 1743 * Services Region where the DB cluster is replicated from. You only need to 1744 * specify <code>PreSignedUrl</code> when you are performing cross-region 1745 * replication from an encrypted DB cluster.</p> <p>The pre-signed URL must be a 1746 * valid request for the <code>CreateDBCluster</code> API action that can be 1747 * executed in the source Amazon Web Services Region that contains the encrypted DB 1748 * cluster to be copied.</p> <p>The pre-signed URL request must contain the 1749 * following parameter values:</p> <ul> <li> <p> <code>KmsKeyId</code> - The Amazon 1750 * Web Services KMS key identifier for the key to use to encrypt the copy of the DB 1751 * cluster in the destination Amazon Web Services Region. This should refer to the 1752 * same Amazon Web Services KMS CMK for both the <code>CreateDBCluster</code> 1753 * action that is called in the destination Amazon Web Services Region, and the 1754 * action contained in the pre-signed URL.</p> </li> <li> <p> 1755 * <code>DestinationRegion</code> - The name of the Amazon Web Services Region that 1756 * Aurora read replica will be created in.</p> </li> <li> <p> 1757 * <code>ReplicationSourceIdentifier</code> - The DB cluster identifier for the 1758 * encrypted DB cluster to be copied. This identifier must be in the Amazon 1759 * Resource Name (ARN) format for the source Amazon Web Services Region. For 1760 * example, if you are copying an encrypted DB cluster from the us-west-2 Amazon 1761 * Web Services Region, then your <code>ReplicationSourceIdentifier</code> would 1762 * look like Example: 1763 * <code>arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1</code>.</p> 1764 * </li> </ul> <p>To learn how to generate a Signature Version 4 signed request, 1765 * see <a 1766 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html"> 1767 * Authenticating Requests: Using Query Parameters (Amazon Web Services Signature 1768 * Version 4)</a> and <a 1769 * href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"> 1770 * Signature Version 4 Signing Process</a>.</p> <p>If you are using an 1771 * Amazon Web Services SDK tool or the CLI, you can specify 1772 * <code>SourceRegion</code> (or <code>--source-region</code> for the CLI) instead 1773 * of specifying <code>PreSignedUrl</code> manually. Specifying 1774 * <code>SourceRegion</code> autogenerates a pre-signed URL that is a valid request 1775 * for the operation that can be executed in the source Amazon Web Services 1776 * Region.</p> 1777 */ WithPreSignedUrl(const char * value)1778 inline CreateDBClusterRequest& WithPreSignedUrl(const char* value) { SetPreSignedUrl(value); return *this;} 1779 1780 1781 /** 1782 * <p>A value that indicates whether to enable mapping of Amazon Web Services 1783 * Identity and Access Management (IAM) accounts to database accounts. By default, 1784 * mapping is disabled.</p> <p>For more information, see <a 1785 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html"> 1786 * IAM Database Authentication</a> in the <i>Amazon Aurora User Guide.</i> </p> 1787 */ GetEnableIAMDatabaseAuthentication()1788 inline bool GetEnableIAMDatabaseAuthentication() const{ return m_enableIAMDatabaseAuthentication; } 1789 1790 /** 1791 * <p>A value that indicates whether to enable mapping of Amazon Web Services 1792 * Identity and Access Management (IAM) accounts to database accounts. By default, 1793 * mapping is disabled.</p> <p>For more information, see <a 1794 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html"> 1795 * IAM Database Authentication</a> in the <i>Amazon Aurora User Guide.</i> </p> 1796 */ EnableIAMDatabaseAuthenticationHasBeenSet()1797 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; } 1798 1799 /** 1800 * <p>A value that indicates whether to enable mapping of Amazon Web Services 1801 * Identity and Access Management (IAM) accounts to database accounts. By default, 1802 * mapping is disabled.</p> <p>For more information, see <a 1803 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html"> 1804 * IAM Database Authentication</a> in the <i>Amazon Aurora User Guide.</i> </p> 1805 */ SetEnableIAMDatabaseAuthentication(bool value)1806 inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; } 1807 1808 /** 1809 * <p>A value that indicates whether to enable mapping of Amazon Web Services 1810 * Identity and Access Management (IAM) accounts to database accounts. By default, 1811 * mapping is disabled.</p> <p>For more information, see <a 1812 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html"> 1813 * IAM Database Authentication</a> in the <i>Amazon Aurora User Guide.</i> </p> 1814 */ WithEnableIAMDatabaseAuthentication(bool value)1815 inline CreateDBClusterRequest& WithEnableIAMDatabaseAuthentication(bool value) { SetEnableIAMDatabaseAuthentication(value); return *this;} 1816 1817 1818 /** 1819 * <p>The target backtrack window, in seconds. To disable backtracking, set this 1820 * value to 0. </p> <p>Currently, Backtrack is only supported for Aurora 1821 * MySQL DB clusters.</p> <p>Default: 0</p> <p>Constraints:</p> <ul> <li> 1822 * <p>If specified, this value must be set to a number from 0 to 259,200 (72 1823 * hours).</p> </li> </ul> 1824 */ GetBacktrackWindow()1825 inline long long GetBacktrackWindow() const{ return m_backtrackWindow; } 1826 1827 /** 1828 * <p>The target backtrack window, in seconds. To disable backtracking, set this 1829 * value to 0. </p> <p>Currently, Backtrack is only supported for Aurora 1830 * MySQL DB clusters.</p> <p>Default: 0</p> <p>Constraints:</p> <ul> <li> 1831 * <p>If specified, this value must be set to a number from 0 to 259,200 (72 1832 * hours).</p> </li> </ul> 1833 */ BacktrackWindowHasBeenSet()1834 inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; } 1835 1836 /** 1837 * <p>The target backtrack window, in seconds. To disable backtracking, set this 1838 * value to 0. </p> <p>Currently, Backtrack is only supported for Aurora 1839 * MySQL DB clusters.</p> <p>Default: 0</p> <p>Constraints:</p> <ul> <li> 1840 * <p>If specified, this value must be set to a number from 0 to 259,200 (72 1841 * hours).</p> </li> </ul> 1842 */ SetBacktrackWindow(long long value)1843 inline void SetBacktrackWindow(long long value) { m_backtrackWindowHasBeenSet = true; m_backtrackWindow = value; } 1844 1845 /** 1846 * <p>The target backtrack window, in seconds. To disable backtracking, set this 1847 * value to 0. </p> <p>Currently, Backtrack is only supported for Aurora 1848 * MySQL DB clusters.</p> <p>Default: 0</p> <p>Constraints:</p> <ul> <li> 1849 * <p>If specified, this value must be set to a number from 0 to 259,200 (72 1850 * hours).</p> </li> </ul> 1851 */ WithBacktrackWindow(long long value)1852 inline CreateDBClusterRequest& WithBacktrackWindow(long long value) { SetBacktrackWindow(value); return *this;} 1853 1854 1855 /** 1856 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1857 * Logs. The values in the list depend on the DB engine being used. For more 1858 * information, see <a 1859 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1860 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1861 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1862 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1863 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1864 * is <code>postgresql</code>. </p> 1865 */ GetEnableCloudwatchLogsExports()1866 inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const{ return m_enableCloudwatchLogsExports; } 1867 1868 /** 1869 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1870 * Logs. The values in the list depend on the DB engine being used. For more 1871 * information, see <a 1872 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1873 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1874 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1875 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1876 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1877 * is <code>postgresql</code>. </p> 1878 */ EnableCloudwatchLogsExportsHasBeenSet()1879 inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; } 1880 1881 /** 1882 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1883 * Logs. The values in the list depend on the DB engine being used. For more 1884 * information, see <a 1885 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1886 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1887 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1888 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1889 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1890 * is <code>postgresql</code>. </p> 1891 */ SetEnableCloudwatchLogsExports(const Aws::Vector<Aws::String> & value)1892 inline void SetEnableCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = value; } 1893 1894 /** 1895 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1896 * Logs. The values in the list depend on the DB engine being used. For more 1897 * information, see <a 1898 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1899 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1900 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1901 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1902 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1903 * is <code>postgresql</code>. </p> 1904 */ SetEnableCloudwatchLogsExports(Aws::Vector<Aws::String> && value)1905 inline void SetEnableCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = std::move(value); } 1906 1907 /** 1908 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1909 * Logs. The values in the list depend on the DB engine being used. For more 1910 * information, see <a 1911 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1912 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1913 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1914 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1915 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1916 * is <code>postgresql</code>. </p> 1917 */ WithEnableCloudwatchLogsExports(const Aws::Vector<Aws::String> & value)1918 inline CreateDBClusterRequest& WithEnableCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { SetEnableCloudwatchLogsExports(value); return *this;} 1919 1920 /** 1921 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1922 * Logs. The values in the list depend on the DB engine being used. For more 1923 * information, see <a 1924 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1925 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1926 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1927 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1928 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1929 * is <code>postgresql</code>. </p> 1930 */ WithEnableCloudwatchLogsExports(Aws::Vector<Aws::String> && value)1931 inline CreateDBClusterRequest& WithEnableCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { SetEnableCloudwatchLogsExports(std::move(value)); return *this;} 1932 1933 /** 1934 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1935 * Logs. The values in the list depend on the DB engine being used. For more 1936 * information, see <a 1937 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1938 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1939 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1940 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1941 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1942 * is <code>postgresql</code>. </p> 1943 */ AddEnableCloudwatchLogsExports(const Aws::String & value)1944 inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(const Aws::String& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; } 1945 1946 /** 1947 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1948 * Logs. The values in the list depend on the DB engine being used. For more 1949 * information, see <a 1950 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1951 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1952 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1953 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1954 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1955 * is <code>postgresql</code>. </p> 1956 */ AddEnableCloudwatchLogsExports(Aws::String && value)1957 inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(Aws::String&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(std::move(value)); return *this; } 1958 1959 /** 1960 * <p>The list of log types that need to be enabled for exporting to CloudWatch 1961 * Logs. The values in the list depend on the DB engine being used. For more 1962 * information, see <a 1963 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 1964 * Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User 1965 * Guide</i>.</p> <p> <b>Aurora MySQL</b> </p> <p>Possible values are 1966 * <code>audit</code>, <code>error</code>, <code>general</code>, and 1967 * <code>slowquery</code>. </p> <p> <b>Aurora PostgreSQL</b> </p> <p>Possible value 1968 * is <code>postgresql</code>. </p> 1969 */ AddEnableCloudwatchLogsExports(const char * value)1970 inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(const char* value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; } 1971 1972 1973 /** 1974 * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, 1975 * <code>serverless</code>, <code>parallelquery</code>, <code>global</code>, or 1976 * <code>multimaster</code>.</p> <p>The <code>parallelquery</code> engine mode 1977 * isn't required for Aurora MySQL version 1.23 and higher 1.x versions, and 1978 * version 2.09 and higher 2.x versions.</p> <p>The <code>global</code> engine mode 1979 * isn't required for Aurora MySQL version 1.22 and higher 1.x versions, and 1980 * <code>global</code> engine mode isn't required for any 2.x versions.</p> <p>The 1981 * <code>multimaster</code> engine mode only applies for DB clusters created with 1982 * Aurora MySQL version 5.6.10a.</p> <p>For Aurora PostgreSQL, the 1983 * <code>global</code> engine mode isn't required, and both the 1984 * <code>parallelquery</code> and the <code>multimaster</code> engine modes 1985 * currently aren't supported.</p> <p>Limitations and requirements apply to some DB 1986 * engine modes. For more information, see the following sections in the <i>Amazon 1987 * Aurora User Guide</i>:</p> <ul> <li> <p> <a 1988 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations"> 1989 * Limitations of Aurora Serverless</a> </p> </li> <li> <p> <a 1990 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations"> 1991 * Limitations of Parallel Query</a> </p> </li> <li> <p> <a 1992 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations"> 1993 * Limitations of Aurora Global Databases</a> </p> </li> <li> <p> <a 1994 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations"> 1995 * Limitations of Multi-Master Clusters</a> </p> </li> </ul> 1996 */ GetEngineMode()1997 inline const Aws::String& GetEngineMode() const{ return m_engineMode; } 1998 1999 /** 2000 * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, 2001 * <code>serverless</code>, <code>parallelquery</code>, <code>global</code>, or 2002 * <code>multimaster</code>.</p> <p>The <code>parallelquery</code> engine mode 2003 * isn't required for Aurora MySQL version 1.23 and higher 1.x versions, and 2004 * version 2.09 and higher 2.x versions.</p> <p>The <code>global</code> engine mode 2005 * isn't required for Aurora MySQL version 1.22 and higher 1.x versions, and 2006 * <code>global</code> engine mode isn't required for any 2.x versions.</p> <p>The 2007 * <code>multimaster</code> engine mode only applies for DB clusters created with 2008 * Aurora MySQL version 5.6.10a.</p> <p>For Aurora PostgreSQL, the 2009 * <code>global</code> engine mode isn't required, and both the 2010 * <code>parallelquery</code> and the <code>multimaster</code> engine modes 2011 * currently aren't supported.</p> <p>Limitations and requirements apply to some DB 2012 * engine modes. For more information, see the following sections in the <i>Amazon 2013 * Aurora User Guide</i>:</p> <ul> <li> <p> <a 2014 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations"> 2015 * Limitations of Aurora Serverless</a> </p> </li> <li> <p> <a 2016 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations"> 2017 * Limitations of Parallel Query</a> </p> </li> <li> <p> <a 2018 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations"> 2019 * Limitations of Aurora Global Databases</a> </p> </li> <li> <p> <a 2020 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations"> 2021 * Limitations of Multi-Master Clusters</a> </p> </li> </ul> 2022 */ EngineModeHasBeenSet()2023 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; } 2024 2025 /** 2026 * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, 2027 * <code>serverless</code>, <code>parallelquery</code>, <code>global</code>, or 2028 * <code>multimaster</code>.</p> <p>The <code>parallelquery</code> engine mode 2029 * isn't required for Aurora MySQL version 1.23 and higher 1.x versions, and 2030 * version 2.09 and higher 2.x versions.</p> <p>The <code>global</code> engine mode 2031 * isn't required for Aurora MySQL version 1.22 and higher 1.x versions, and 2032 * <code>global</code> engine mode isn't required for any 2.x versions.</p> <p>The 2033 * <code>multimaster</code> engine mode only applies for DB clusters created with 2034 * Aurora MySQL version 5.6.10a.</p> <p>For Aurora PostgreSQL, the 2035 * <code>global</code> engine mode isn't required, and both the 2036 * <code>parallelquery</code> and the <code>multimaster</code> engine modes 2037 * currently aren't supported.</p> <p>Limitations and requirements apply to some DB 2038 * engine modes. For more information, see the following sections in the <i>Amazon 2039 * Aurora User Guide</i>:</p> <ul> <li> <p> <a 2040 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations"> 2041 * Limitations of Aurora Serverless</a> </p> </li> <li> <p> <a 2042 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations"> 2043 * Limitations of Parallel Query</a> </p> </li> <li> <p> <a 2044 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations"> 2045 * Limitations of Aurora Global Databases</a> </p> </li> <li> <p> <a 2046 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations"> 2047 * Limitations of Multi-Master Clusters</a> </p> </li> </ul> 2048 */ SetEngineMode(const Aws::String & value)2049 inline void SetEngineMode(const Aws::String& value) { m_engineModeHasBeenSet = true; m_engineMode = value; } 2050 2051 /** 2052 * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, 2053 * <code>serverless</code>, <code>parallelquery</code>, <code>global</code>, or 2054 * <code>multimaster</code>.</p> <p>The <code>parallelquery</code> engine mode 2055 * isn't required for Aurora MySQL version 1.23 and higher 1.x versions, and 2056 * version 2.09 and higher 2.x versions.</p> <p>The <code>global</code> engine mode 2057 * isn't required for Aurora MySQL version 1.22 and higher 1.x versions, and 2058 * <code>global</code> engine mode isn't required for any 2.x versions.</p> <p>The 2059 * <code>multimaster</code> engine mode only applies for DB clusters created with 2060 * Aurora MySQL version 5.6.10a.</p> <p>For Aurora PostgreSQL, the 2061 * <code>global</code> engine mode isn't required, and both the 2062 * <code>parallelquery</code> and the <code>multimaster</code> engine modes 2063 * currently aren't supported.</p> <p>Limitations and requirements apply to some DB 2064 * engine modes. For more information, see the following sections in the <i>Amazon 2065 * Aurora User Guide</i>:</p> <ul> <li> <p> <a 2066 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations"> 2067 * Limitations of Aurora Serverless</a> </p> </li> <li> <p> <a 2068 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations"> 2069 * Limitations of Parallel Query</a> </p> </li> <li> <p> <a 2070 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations"> 2071 * Limitations of Aurora Global Databases</a> </p> </li> <li> <p> <a 2072 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations"> 2073 * Limitations of Multi-Master Clusters</a> </p> </li> </ul> 2074 */ SetEngineMode(Aws::String && value)2075 inline void SetEngineMode(Aws::String&& value) { m_engineModeHasBeenSet = true; m_engineMode = std::move(value); } 2076 2077 /** 2078 * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, 2079 * <code>serverless</code>, <code>parallelquery</code>, <code>global</code>, or 2080 * <code>multimaster</code>.</p> <p>The <code>parallelquery</code> engine mode 2081 * isn't required for Aurora MySQL version 1.23 and higher 1.x versions, and 2082 * version 2.09 and higher 2.x versions.</p> <p>The <code>global</code> engine mode 2083 * isn't required for Aurora MySQL version 1.22 and higher 1.x versions, and 2084 * <code>global</code> engine mode isn't required for any 2.x versions.</p> <p>The 2085 * <code>multimaster</code> engine mode only applies for DB clusters created with 2086 * Aurora MySQL version 5.6.10a.</p> <p>For Aurora PostgreSQL, the 2087 * <code>global</code> engine mode isn't required, and both the 2088 * <code>parallelquery</code> and the <code>multimaster</code> engine modes 2089 * currently aren't supported.</p> <p>Limitations and requirements apply to some DB 2090 * engine modes. For more information, see the following sections in the <i>Amazon 2091 * Aurora User Guide</i>:</p> <ul> <li> <p> <a 2092 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations"> 2093 * Limitations of Aurora Serverless</a> </p> </li> <li> <p> <a 2094 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations"> 2095 * Limitations of Parallel Query</a> </p> </li> <li> <p> <a 2096 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations"> 2097 * Limitations of Aurora Global Databases</a> </p> </li> <li> <p> <a 2098 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations"> 2099 * Limitations of Multi-Master Clusters</a> </p> </li> </ul> 2100 */ SetEngineMode(const char * value)2101 inline void SetEngineMode(const char* value) { m_engineModeHasBeenSet = true; m_engineMode.assign(value); } 2102 2103 /** 2104 * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, 2105 * <code>serverless</code>, <code>parallelquery</code>, <code>global</code>, or 2106 * <code>multimaster</code>.</p> <p>The <code>parallelquery</code> engine mode 2107 * isn't required for Aurora MySQL version 1.23 and higher 1.x versions, and 2108 * version 2.09 and higher 2.x versions.</p> <p>The <code>global</code> engine mode 2109 * isn't required for Aurora MySQL version 1.22 and higher 1.x versions, and 2110 * <code>global</code> engine mode isn't required for any 2.x versions.</p> <p>The 2111 * <code>multimaster</code> engine mode only applies for DB clusters created with 2112 * Aurora MySQL version 5.6.10a.</p> <p>For Aurora PostgreSQL, the 2113 * <code>global</code> engine mode isn't required, and both the 2114 * <code>parallelquery</code> and the <code>multimaster</code> engine modes 2115 * currently aren't supported.</p> <p>Limitations and requirements apply to some DB 2116 * engine modes. For more information, see the following sections in the <i>Amazon 2117 * Aurora User Guide</i>:</p> <ul> <li> <p> <a 2118 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations"> 2119 * Limitations of Aurora Serverless</a> </p> </li> <li> <p> <a 2120 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations"> 2121 * Limitations of Parallel Query</a> </p> </li> <li> <p> <a 2122 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations"> 2123 * Limitations of Aurora Global Databases</a> </p> </li> <li> <p> <a 2124 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations"> 2125 * Limitations of Multi-Master Clusters</a> </p> </li> </ul> 2126 */ WithEngineMode(const Aws::String & value)2127 inline CreateDBClusterRequest& WithEngineMode(const Aws::String& value) { SetEngineMode(value); return *this;} 2128 2129 /** 2130 * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, 2131 * <code>serverless</code>, <code>parallelquery</code>, <code>global</code>, or 2132 * <code>multimaster</code>.</p> <p>The <code>parallelquery</code> engine mode 2133 * isn't required for Aurora MySQL version 1.23 and higher 1.x versions, and 2134 * version 2.09 and higher 2.x versions.</p> <p>The <code>global</code> engine mode 2135 * isn't required for Aurora MySQL version 1.22 and higher 1.x versions, and 2136 * <code>global</code> engine mode isn't required for any 2.x versions.</p> <p>The 2137 * <code>multimaster</code> engine mode only applies for DB clusters created with 2138 * Aurora MySQL version 5.6.10a.</p> <p>For Aurora PostgreSQL, the 2139 * <code>global</code> engine mode isn't required, and both the 2140 * <code>parallelquery</code> and the <code>multimaster</code> engine modes 2141 * currently aren't supported.</p> <p>Limitations and requirements apply to some DB 2142 * engine modes. For more information, see the following sections in the <i>Amazon 2143 * Aurora User Guide</i>:</p> <ul> <li> <p> <a 2144 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations"> 2145 * Limitations of Aurora Serverless</a> </p> </li> <li> <p> <a 2146 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations"> 2147 * Limitations of Parallel Query</a> </p> </li> <li> <p> <a 2148 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations"> 2149 * Limitations of Aurora Global Databases</a> </p> </li> <li> <p> <a 2150 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations"> 2151 * Limitations of Multi-Master Clusters</a> </p> </li> </ul> 2152 */ WithEngineMode(Aws::String && value)2153 inline CreateDBClusterRequest& WithEngineMode(Aws::String&& value) { SetEngineMode(std::move(value)); return *this;} 2154 2155 /** 2156 * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, 2157 * <code>serverless</code>, <code>parallelquery</code>, <code>global</code>, or 2158 * <code>multimaster</code>.</p> <p>The <code>parallelquery</code> engine mode 2159 * isn't required for Aurora MySQL version 1.23 and higher 1.x versions, and 2160 * version 2.09 and higher 2.x versions.</p> <p>The <code>global</code> engine mode 2161 * isn't required for Aurora MySQL version 1.22 and higher 1.x versions, and 2162 * <code>global</code> engine mode isn't required for any 2.x versions.</p> <p>The 2163 * <code>multimaster</code> engine mode only applies for DB clusters created with 2164 * Aurora MySQL version 5.6.10a.</p> <p>For Aurora PostgreSQL, the 2165 * <code>global</code> engine mode isn't required, and both the 2166 * <code>parallelquery</code> and the <code>multimaster</code> engine modes 2167 * currently aren't supported.</p> <p>Limitations and requirements apply to some DB 2168 * engine modes. For more information, see the following sections in the <i>Amazon 2169 * Aurora User Guide</i>:</p> <ul> <li> <p> <a 2170 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations"> 2171 * Limitations of Aurora Serverless</a> </p> </li> <li> <p> <a 2172 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations"> 2173 * Limitations of Parallel Query</a> </p> </li> <li> <p> <a 2174 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations"> 2175 * Limitations of Aurora Global Databases</a> </p> </li> <li> <p> <a 2176 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations"> 2177 * Limitations of Multi-Master Clusters</a> </p> </li> </ul> 2178 */ WithEngineMode(const char * value)2179 inline CreateDBClusterRequest& WithEngineMode(const char* value) { SetEngineMode(value); return *this;} 2180 2181 2182 /** 2183 * <p>For DB clusters in <code>serverless</code> DB engine mode, the scaling 2184 * properties of the DB cluster.</p> 2185 */ GetScalingConfiguration()2186 inline const ScalingConfiguration& GetScalingConfiguration() const{ return m_scalingConfiguration; } 2187 2188 /** 2189 * <p>For DB clusters in <code>serverless</code> DB engine mode, the scaling 2190 * properties of the DB cluster.</p> 2191 */ ScalingConfigurationHasBeenSet()2192 inline bool ScalingConfigurationHasBeenSet() const { return m_scalingConfigurationHasBeenSet; } 2193 2194 /** 2195 * <p>For DB clusters in <code>serverless</code> DB engine mode, the scaling 2196 * properties of the DB cluster.</p> 2197 */ SetScalingConfiguration(const ScalingConfiguration & value)2198 inline void SetScalingConfiguration(const ScalingConfiguration& value) { m_scalingConfigurationHasBeenSet = true; m_scalingConfiguration = value; } 2199 2200 /** 2201 * <p>For DB clusters in <code>serverless</code> DB engine mode, the scaling 2202 * properties of the DB cluster.</p> 2203 */ SetScalingConfiguration(ScalingConfiguration && value)2204 inline void SetScalingConfiguration(ScalingConfiguration&& value) { m_scalingConfigurationHasBeenSet = true; m_scalingConfiguration = std::move(value); } 2205 2206 /** 2207 * <p>For DB clusters in <code>serverless</code> DB engine mode, the scaling 2208 * properties of the DB cluster.</p> 2209 */ WithScalingConfiguration(const ScalingConfiguration & value)2210 inline CreateDBClusterRequest& WithScalingConfiguration(const ScalingConfiguration& value) { SetScalingConfiguration(value); return *this;} 2211 2212 /** 2213 * <p>For DB clusters in <code>serverless</code> DB engine mode, the scaling 2214 * properties of the DB cluster.</p> 2215 */ WithScalingConfiguration(ScalingConfiguration && value)2216 inline CreateDBClusterRequest& WithScalingConfiguration(ScalingConfiguration&& value) { SetScalingConfiguration(std::move(value)); return *this;} 2217 2218 2219 /** 2220 * <p>A value that indicates whether the DB cluster has deletion protection 2221 * enabled. The database can't be deleted when deletion protection is enabled. By 2222 * default, deletion protection is disabled.</p> 2223 */ GetDeletionProtection()2224 inline bool GetDeletionProtection() const{ return m_deletionProtection; } 2225 2226 /** 2227 * <p>A value that indicates whether the DB cluster has deletion protection 2228 * enabled. The database can't be deleted when deletion protection is enabled. By 2229 * default, deletion protection is disabled.</p> 2230 */ DeletionProtectionHasBeenSet()2231 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; } 2232 2233 /** 2234 * <p>A value that indicates whether the DB cluster has deletion protection 2235 * enabled. The database can't be deleted when deletion protection is enabled. By 2236 * default, deletion protection is disabled.</p> 2237 */ SetDeletionProtection(bool value)2238 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; } 2239 2240 /** 2241 * <p>A value that indicates whether the DB cluster has deletion protection 2242 * enabled. The database can't be deleted when deletion protection is enabled. By 2243 * default, deletion protection is disabled.</p> 2244 */ WithDeletionProtection(bool value)2245 inline CreateDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} 2246 2247 2248 /** 2249 * <p> The global cluster ID of an Aurora cluster that becomes the primary cluster 2250 * in the new global database cluster. </p> 2251 */ GetGlobalClusterIdentifier()2252 inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; } 2253 2254 /** 2255 * <p> The global cluster ID of an Aurora cluster that becomes the primary cluster 2256 * in the new global database cluster. </p> 2257 */ GlobalClusterIdentifierHasBeenSet()2258 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; } 2259 2260 /** 2261 * <p> The global cluster ID of an Aurora cluster that becomes the primary cluster 2262 * in the new global database cluster. </p> 2263 */ SetGlobalClusterIdentifier(const Aws::String & value)2264 inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; } 2265 2266 /** 2267 * <p> The global cluster ID of an Aurora cluster that becomes the primary cluster 2268 * in the new global database cluster. </p> 2269 */ SetGlobalClusterIdentifier(Aws::String && value)2270 inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); } 2271 2272 /** 2273 * <p> The global cluster ID of an Aurora cluster that becomes the primary cluster 2274 * in the new global database cluster. </p> 2275 */ SetGlobalClusterIdentifier(const char * value)2276 inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); } 2277 2278 /** 2279 * <p> The global cluster ID of an Aurora cluster that becomes the primary cluster 2280 * in the new global database cluster. </p> 2281 */ WithGlobalClusterIdentifier(const Aws::String & value)2282 inline CreateDBClusterRequest& WithGlobalClusterIdentifier(const Aws::String& value) { SetGlobalClusterIdentifier(value); return *this;} 2283 2284 /** 2285 * <p> The global cluster ID of an Aurora cluster that becomes the primary cluster 2286 * in the new global database cluster. </p> 2287 */ WithGlobalClusterIdentifier(Aws::String && value)2288 inline CreateDBClusterRequest& WithGlobalClusterIdentifier(Aws::String&& value) { SetGlobalClusterIdentifier(std::move(value)); return *this;} 2289 2290 /** 2291 * <p> The global cluster ID of an Aurora cluster that becomes the primary cluster 2292 * in the new global database cluster. </p> 2293 */ WithGlobalClusterIdentifier(const char * value)2294 inline CreateDBClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;} 2295 2296 2297 /** 2298 * <p>A value that indicates whether to enable the HTTP endpoint for an Aurora 2299 * Serverless DB cluster. By default, the HTTP endpoint is disabled.</p> <p>When 2300 * enabled, the HTTP endpoint provides a connectionless web service API for running 2301 * SQL queries on the Aurora Serverless DB cluster. You can also query your 2302 * database from inside the RDS console with the query editor.</p> <p>For more 2303 * information, see <a 2304 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using 2305 * the Data API for Aurora Serverless</a> in the <i>Amazon Aurora User 2306 * Guide</i>.</p> 2307 */ GetEnableHttpEndpoint()2308 inline bool GetEnableHttpEndpoint() const{ return m_enableHttpEndpoint; } 2309 2310 /** 2311 * <p>A value that indicates whether to enable the HTTP endpoint for an Aurora 2312 * Serverless DB cluster. By default, the HTTP endpoint is disabled.</p> <p>When 2313 * enabled, the HTTP endpoint provides a connectionless web service API for running 2314 * SQL queries on the Aurora Serverless DB cluster. You can also query your 2315 * database from inside the RDS console with the query editor.</p> <p>For more 2316 * information, see <a 2317 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using 2318 * the Data API for Aurora Serverless</a> in the <i>Amazon Aurora User 2319 * Guide</i>.</p> 2320 */ EnableHttpEndpointHasBeenSet()2321 inline bool EnableHttpEndpointHasBeenSet() const { return m_enableHttpEndpointHasBeenSet; } 2322 2323 /** 2324 * <p>A value that indicates whether to enable the HTTP endpoint for an Aurora 2325 * Serverless DB cluster. By default, the HTTP endpoint is disabled.</p> <p>When 2326 * enabled, the HTTP endpoint provides a connectionless web service API for running 2327 * SQL queries on the Aurora Serverless DB cluster. You can also query your 2328 * database from inside the RDS console with the query editor.</p> <p>For more 2329 * information, see <a 2330 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using 2331 * the Data API for Aurora Serverless</a> in the <i>Amazon Aurora User 2332 * Guide</i>.</p> 2333 */ SetEnableHttpEndpoint(bool value)2334 inline void SetEnableHttpEndpoint(bool value) { m_enableHttpEndpointHasBeenSet = true; m_enableHttpEndpoint = value; } 2335 2336 /** 2337 * <p>A value that indicates whether to enable the HTTP endpoint for an Aurora 2338 * Serverless DB cluster. By default, the HTTP endpoint is disabled.</p> <p>When 2339 * enabled, the HTTP endpoint provides a connectionless web service API for running 2340 * SQL queries on the Aurora Serverless DB cluster. You can also query your 2341 * database from inside the RDS console with the query editor.</p> <p>For more 2342 * information, see <a 2343 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using 2344 * the Data API for Aurora Serverless</a> in the <i>Amazon Aurora User 2345 * Guide</i>.</p> 2346 */ WithEnableHttpEndpoint(bool value)2347 inline CreateDBClusterRequest& WithEnableHttpEndpoint(bool value) { SetEnableHttpEndpoint(value); return *this;} 2348 2349 2350 /** 2351 * <p>A value that indicates whether to copy all tags from the DB cluster to 2352 * snapshots of the DB cluster. The default is not to copy them.</p> 2353 */ GetCopyTagsToSnapshot()2354 inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; } 2355 2356 /** 2357 * <p>A value that indicates whether to copy all tags from the DB cluster to 2358 * snapshots of the DB cluster. The default is not to copy them.</p> 2359 */ CopyTagsToSnapshotHasBeenSet()2360 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; } 2361 2362 /** 2363 * <p>A value that indicates whether to copy all tags from the DB cluster to 2364 * snapshots of the DB cluster. The default is not to copy them.</p> 2365 */ SetCopyTagsToSnapshot(bool value)2366 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; } 2367 2368 /** 2369 * <p>A value that indicates whether to copy all tags from the DB cluster to 2370 * snapshots of the DB cluster. The default is not to copy them.</p> 2371 */ WithCopyTagsToSnapshot(bool value)2372 inline CreateDBClusterRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;} 2373 2374 2375 /** 2376 * <p>The Active Directory directory ID to create the DB cluster in.</p> <p> For 2377 * Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to 2378 * authenticate users that connect to the DB cluster. For more information, see <a 2379 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos 2380 * Authentication</a> in the <i>Amazon Aurora User Guide</i>. </p> 2381 */ GetDomain()2382 inline const Aws::String& GetDomain() const{ return m_domain; } 2383 2384 /** 2385 * <p>The Active Directory directory ID to create the DB cluster in.</p> <p> For 2386 * Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to 2387 * authenticate users that connect to the DB cluster. For more information, see <a 2388 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos 2389 * Authentication</a> in the <i>Amazon Aurora User Guide</i>. </p> 2390 */ DomainHasBeenSet()2391 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } 2392 2393 /** 2394 * <p>The Active Directory directory ID to create the DB cluster in.</p> <p> For 2395 * Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to 2396 * authenticate users that connect to the DB cluster. For more information, see <a 2397 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos 2398 * Authentication</a> in the <i>Amazon Aurora User Guide</i>. </p> 2399 */ SetDomain(const Aws::String & value)2400 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } 2401 2402 /** 2403 * <p>The Active Directory directory ID to create the DB cluster in.</p> <p> For 2404 * Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to 2405 * authenticate users that connect to the DB cluster. For more information, see <a 2406 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos 2407 * Authentication</a> in the <i>Amazon Aurora User Guide</i>. </p> 2408 */ SetDomain(Aws::String && value)2409 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } 2410 2411 /** 2412 * <p>The Active Directory directory ID to create the DB cluster in.</p> <p> For 2413 * Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to 2414 * authenticate users that connect to the DB cluster. For more information, see <a 2415 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos 2416 * Authentication</a> in the <i>Amazon Aurora User Guide</i>. </p> 2417 */ SetDomain(const char * value)2418 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } 2419 2420 /** 2421 * <p>The Active Directory directory ID to create the DB cluster in.</p> <p> For 2422 * Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to 2423 * authenticate users that connect to the DB cluster. For more information, see <a 2424 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos 2425 * Authentication</a> in the <i>Amazon Aurora User Guide</i>. </p> 2426 */ WithDomain(const Aws::String & value)2427 inline CreateDBClusterRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} 2428 2429 /** 2430 * <p>The Active Directory directory ID to create the DB cluster in.</p> <p> For 2431 * Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to 2432 * authenticate users that connect to the DB cluster. For more information, see <a 2433 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos 2434 * Authentication</a> in the <i>Amazon Aurora User Guide</i>. </p> 2435 */ WithDomain(Aws::String && value)2436 inline CreateDBClusterRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} 2437 2438 /** 2439 * <p>The Active Directory directory ID to create the DB cluster in.</p> <p> For 2440 * Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to 2441 * authenticate users that connect to the DB cluster. For more information, see <a 2442 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos 2443 * Authentication</a> in the <i>Amazon Aurora User Guide</i>. </p> 2444 */ WithDomain(const char * value)2445 inline CreateDBClusterRequest& WithDomain(const char* value) { SetDomain(value); return *this;} 2446 2447 2448 /** 2449 * <p>Specify the name of the IAM role to be used when making API calls to the 2450 * Directory Service.</p> 2451 */ GetDomainIAMRoleName()2452 inline const Aws::String& GetDomainIAMRoleName() const{ return m_domainIAMRoleName; } 2453 2454 /** 2455 * <p>Specify the name of the IAM role to be used when making API calls to the 2456 * Directory Service.</p> 2457 */ DomainIAMRoleNameHasBeenSet()2458 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; } 2459 2460 /** 2461 * <p>Specify the name of the IAM role to be used when making API calls to the 2462 * Directory Service.</p> 2463 */ SetDomainIAMRoleName(const Aws::String & value)2464 inline void SetDomainIAMRoleName(const Aws::String& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = value; } 2465 2466 /** 2467 * <p>Specify the name of the IAM role to be used when making API calls to the 2468 * Directory Service.</p> 2469 */ SetDomainIAMRoleName(Aws::String && value)2470 inline void SetDomainIAMRoleName(Aws::String&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::move(value); } 2471 2472 /** 2473 * <p>Specify the name of the IAM role to be used when making API calls to the 2474 * Directory Service.</p> 2475 */ SetDomainIAMRoleName(const char * value)2476 inline void SetDomainIAMRoleName(const char* value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName.assign(value); } 2477 2478 /** 2479 * <p>Specify the name of the IAM role to be used when making API calls to the 2480 * Directory Service.</p> 2481 */ WithDomainIAMRoleName(const Aws::String & value)2482 inline CreateDBClusterRequest& WithDomainIAMRoleName(const Aws::String& value) { SetDomainIAMRoleName(value); return *this;} 2483 2484 /** 2485 * <p>Specify the name of the IAM role to be used when making API calls to the 2486 * Directory Service.</p> 2487 */ WithDomainIAMRoleName(Aws::String && value)2488 inline CreateDBClusterRequest& WithDomainIAMRoleName(Aws::String&& value) { SetDomainIAMRoleName(std::move(value)); return *this;} 2489 2490 /** 2491 * <p>Specify the name of the IAM role to be used when making API calls to the 2492 * Directory Service.</p> 2493 */ WithDomainIAMRoleName(const char * value)2494 inline CreateDBClusterRequest& WithDomainIAMRoleName(const char* value) { SetDomainIAMRoleName(value); return *this;} 2495 2496 2497 /** 2498 * <p>A value that indicates whether to enable this DB cluster to forward write 2499 * operations to the primary cluster of an Aurora global database 2500 * (<a>GlobalCluster</a>). By default, write operations are not allowed on Aurora 2501 * DB clusters that are secondary clusters in an Aurora global database.</p> <p>You 2502 * can set this value only on Aurora DB clusters that are members of an Aurora 2503 * global database. With this parameter enabled, a secondary cluster can forward 2504 * writes to the current primary cluster and the resulting changes are replicated 2505 * back to this cluster. For the primary DB cluster of an Aurora global database, 2506 * this value is used immediately if the primary is demoted by the 2507 * <a>FailoverGlobalCluster</a> API operation, but it does nothing until then. </p> 2508 */ GetEnableGlobalWriteForwarding()2509 inline bool GetEnableGlobalWriteForwarding() const{ return m_enableGlobalWriteForwarding; } 2510 2511 /** 2512 * <p>A value that indicates whether to enable this DB cluster to forward write 2513 * operations to the primary cluster of an Aurora global database 2514 * (<a>GlobalCluster</a>). By default, write operations are not allowed on Aurora 2515 * DB clusters that are secondary clusters in an Aurora global database.</p> <p>You 2516 * can set this value only on Aurora DB clusters that are members of an Aurora 2517 * global database. With this parameter enabled, a secondary cluster can forward 2518 * writes to the current primary cluster and the resulting changes are replicated 2519 * back to this cluster. For the primary DB cluster of an Aurora global database, 2520 * this value is used immediately if the primary is demoted by the 2521 * <a>FailoverGlobalCluster</a> API operation, but it does nothing until then. </p> 2522 */ EnableGlobalWriteForwardingHasBeenSet()2523 inline bool EnableGlobalWriteForwardingHasBeenSet() const { return m_enableGlobalWriteForwardingHasBeenSet; } 2524 2525 /** 2526 * <p>A value that indicates whether to enable this DB cluster to forward write 2527 * operations to the primary cluster of an Aurora global database 2528 * (<a>GlobalCluster</a>). By default, write operations are not allowed on Aurora 2529 * DB clusters that are secondary clusters in an Aurora global database.</p> <p>You 2530 * can set this value only on Aurora DB clusters that are members of an Aurora 2531 * global database. With this parameter enabled, a secondary cluster can forward 2532 * writes to the current primary cluster and the resulting changes are replicated 2533 * back to this cluster. For the primary DB cluster of an Aurora global database, 2534 * this value is used immediately if the primary is demoted by the 2535 * <a>FailoverGlobalCluster</a> API operation, but it does nothing until then. </p> 2536 */ SetEnableGlobalWriteForwarding(bool value)2537 inline void SetEnableGlobalWriteForwarding(bool value) { m_enableGlobalWriteForwardingHasBeenSet = true; m_enableGlobalWriteForwarding = value; } 2538 2539 /** 2540 * <p>A value that indicates whether to enable this DB cluster to forward write 2541 * operations to the primary cluster of an Aurora global database 2542 * (<a>GlobalCluster</a>). By default, write operations are not allowed on Aurora 2543 * DB clusters that are secondary clusters in an Aurora global database.</p> <p>You 2544 * can set this value only on Aurora DB clusters that are members of an Aurora 2545 * global database. With this parameter enabled, a secondary cluster can forward 2546 * writes to the current primary cluster and the resulting changes are replicated 2547 * back to this cluster. For the primary DB cluster of an Aurora global database, 2548 * this value is used immediately if the primary is demoted by the 2549 * <a>FailoverGlobalCluster</a> API operation, but it does nothing until then. </p> 2550 */ WithEnableGlobalWriteForwarding(bool value)2551 inline CreateDBClusterRequest& WithEnableGlobalWriteForwarding(bool value) { SetEnableGlobalWriteForwarding(value); return *this;} 2552 2553 2554 /** 2555 * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. 2556 */ GetSourceRegion()2557 inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; } 2558 2559 /** 2560 * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. 2561 */ SourceRegionHasBeenSet()2562 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; } 2563 2564 /** 2565 * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. 2566 */ SetSourceRegion(const Aws::String & value)2567 inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; } 2568 2569 /** 2570 * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. 2571 */ SetSourceRegion(Aws::String && value)2572 inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); } 2573 2574 /** 2575 * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. 2576 */ SetSourceRegion(const char * value)2577 inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); } 2578 2579 /** 2580 * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. 2581 */ WithSourceRegion(const Aws::String & value)2582 inline CreateDBClusterRequest& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;} 2583 2584 /** 2585 * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. 2586 */ WithSourceRegion(Aws::String && value)2587 inline CreateDBClusterRequest& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;} 2588 2589 /** 2590 * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. 2591 */ WithSourceRegion(const char * value)2592 inline CreateDBClusterRequest& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;} 2593 2594 private: 2595 2596 Aws::Vector<Aws::String> m_availabilityZones; 2597 bool m_availabilityZonesHasBeenSet; 2598 2599 int m_backupRetentionPeriod; 2600 bool m_backupRetentionPeriodHasBeenSet; 2601 2602 Aws::String m_characterSetName; 2603 bool m_characterSetNameHasBeenSet; 2604 2605 Aws::String m_databaseName; 2606 bool m_databaseNameHasBeenSet; 2607 2608 Aws::String m_dBClusterIdentifier; 2609 bool m_dBClusterIdentifierHasBeenSet; 2610 2611 Aws::String m_dBClusterParameterGroupName; 2612 bool m_dBClusterParameterGroupNameHasBeenSet; 2613 2614 Aws::Vector<Aws::String> m_vpcSecurityGroupIds; 2615 bool m_vpcSecurityGroupIdsHasBeenSet; 2616 2617 Aws::String m_dBSubnetGroupName; 2618 bool m_dBSubnetGroupNameHasBeenSet; 2619 2620 Aws::String m_engine; 2621 bool m_engineHasBeenSet; 2622 2623 Aws::String m_engineVersion; 2624 bool m_engineVersionHasBeenSet; 2625 2626 int m_port; 2627 bool m_portHasBeenSet; 2628 2629 Aws::String m_masterUsername; 2630 bool m_masterUsernameHasBeenSet; 2631 2632 Aws::String m_masterUserPassword; 2633 bool m_masterUserPasswordHasBeenSet; 2634 2635 Aws::String m_optionGroupName; 2636 bool m_optionGroupNameHasBeenSet; 2637 2638 Aws::String m_preferredBackupWindow; 2639 bool m_preferredBackupWindowHasBeenSet; 2640 2641 Aws::String m_preferredMaintenanceWindow; 2642 bool m_preferredMaintenanceWindowHasBeenSet; 2643 2644 Aws::String m_replicationSourceIdentifier; 2645 bool m_replicationSourceIdentifierHasBeenSet; 2646 2647 Aws::Vector<Tag> m_tags; 2648 bool m_tagsHasBeenSet; 2649 2650 bool m_storageEncrypted; 2651 bool m_storageEncryptedHasBeenSet; 2652 2653 Aws::String m_kmsKeyId; 2654 bool m_kmsKeyIdHasBeenSet; 2655 2656 Aws::String m_preSignedUrl; 2657 bool m_preSignedUrlHasBeenSet; 2658 2659 bool m_enableIAMDatabaseAuthentication; 2660 bool m_enableIAMDatabaseAuthenticationHasBeenSet; 2661 2662 long long m_backtrackWindow; 2663 bool m_backtrackWindowHasBeenSet; 2664 2665 Aws::Vector<Aws::String> m_enableCloudwatchLogsExports; 2666 bool m_enableCloudwatchLogsExportsHasBeenSet; 2667 2668 Aws::String m_engineMode; 2669 bool m_engineModeHasBeenSet; 2670 2671 ScalingConfiguration m_scalingConfiguration; 2672 bool m_scalingConfigurationHasBeenSet; 2673 2674 bool m_deletionProtection; 2675 bool m_deletionProtectionHasBeenSet; 2676 2677 Aws::String m_globalClusterIdentifier; 2678 bool m_globalClusterIdentifierHasBeenSet; 2679 2680 bool m_enableHttpEndpoint; 2681 bool m_enableHttpEndpointHasBeenSet; 2682 2683 bool m_copyTagsToSnapshot; 2684 bool m_copyTagsToSnapshotHasBeenSet; 2685 2686 Aws::String m_domain; 2687 bool m_domainHasBeenSet; 2688 2689 Aws::String m_domainIAMRoleName; 2690 bool m_domainIAMRoleNameHasBeenSet; 2691 2692 bool m_enableGlobalWriteForwarding; 2693 bool m_enableGlobalWriteForwardingHasBeenSet; 2694 2695 Aws::String m_sourceRegion; 2696 bool m_sourceRegionHasBeenSet; 2697 }; 2698 2699 } // namespace Model 2700 } // namespace RDS 2701 } // namespace Aws 2702