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/AWSString.h> 10 #include <aws/core/utils/memory/stl/AWSVector.h> 11 #include <aws/rds/model/Tag.h> 12 #include <aws/rds/model/ProcessorFeature.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/CreateDBInstanceMessage">AWS 25 * API Reference</a></p> 26 */ 27 class AWS_RDS_API CreateDBInstanceRequest : public RDSRequest 28 { 29 public: 30 CreateDBInstanceRequest(); 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 "CreateDBInstance"; } 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>The meaning of this parameter differs according to the database engine you 47 * use.</p> <p> <b>MySQL</b> </p> <p>The name of the database to create when the DB 48 * instance is created. If this parameter isn't specified, no database is created 49 * in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 50 * letters or numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent 51 * characters can be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't 52 * be a word reserved by the specified database engine</p> </li> </ul> <p> 53 * <b>MariaDB</b> </p> <p>The name of the database to create when the DB instance 54 * is created. If this parameter isn't specified, no database is created in the DB 55 * instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 letters or 56 * numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent characters can 57 * be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't be a word 58 * reserved by the specified database engine</p> </li> </ul> <p> <b>PostgreSQL</b> 59 * </p> <p>The name of the database to create when the DB instance is created. If 60 * this parameter isn't specified, a database named <code>postgres</code> is 61 * created in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 62 * to 63 letters, numbers, or underscores.</p> </li> <li> <p>Must begin with a 63 * letter. Subsequent characters can be letters, underscores, or digits (0-9).</p> 64 * </li> <li> <p>Can't be a word reserved by the specified database engine</p> 65 * </li> </ul> <p> <b>Oracle</b> </p> <p>The Oracle System ID (SID) of the created 66 * DB instance. If you specify <code>null</code>, the default value 67 * <code>ORCL</code> is used. You can't specify the string NULL, or any other 68 * reserved word, for <code>DBName</code>. </p> <p>Default: <code>ORCL</code> </p> 69 * <p>Constraints:</p> <ul> <li> <p>Can't be longer than 8 characters</p> </li> 70 * </ul> <p> <b>SQL Server</b> </p> <p>Not applicable. Must be null.</p> <p> 71 * <b>Amazon Aurora MySQL</b> </p> <p>The name of the database to create when the 72 * primary DB instance of the Aurora MySQL DB cluster is created. If this parameter 73 * isn't specified for an Aurora MySQL DB cluster, no database is created in the DB 74 * cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 64 75 * alphanumeric characters.</p> </li> <li> <p>It can't be a word reserved by the 76 * database engine.</p> </li> </ul> <p> <b>Amazon Aurora PostgreSQL</b> </p> <p>The 77 * name of the database to create when the primary DB instance of the Aurora 78 * PostgreSQL DB cluster is created. If this parameter isn't specified for an 79 * Aurora PostgreSQL DB cluster, a database named <code>postgres</code> is created 80 * in the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 63 81 * alphanumeric characters.</p> </li> <li> <p>It must begin with a letter or an 82 * underscore. Subsequent characters can be letters, underscores, or digits (0 to 83 * 9).</p> </li> <li> <p>It can't be a word reserved by the database engine.</p> 84 * </li> </ul> 85 */ GetDBName()86 inline const Aws::String& GetDBName() const{ return m_dBName; } 87 88 /** 89 * <p>The meaning of this parameter differs according to the database engine you 90 * use.</p> <p> <b>MySQL</b> </p> <p>The name of the database to create when the DB 91 * instance is created. If this parameter isn't specified, no database is created 92 * in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 93 * letters or numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent 94 * characters can be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't 95 * be a word reserved by the specified database engine</p> </li> </ul> <p> 96 * <b>MariaDB</b> </p> <p>The name of the database to create when the DB instance 97 * is created. If this parameter isn't specified, no database is created in the DB 98 * instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 letters or 99 * numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent characters can 100 * be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't be a word 101 * reserved by the specified database engine</p> </li> </ul> <p> <b>PostgreSQL</b> 102 * </p> <p>The name of the database to create when the DB instance is created. If 103 * this parameter isn't specified, a database named <code>postgres</code> is 104 * created in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 105 * to 63 letters, numbers, or underscores.</p> </li> <li> <p>Must begin with a 106 * letter. Subsequent characters can be letters, underscores, or digits (0-9).</p> 107 * </li> <li> <p>Can't be a word reserved by the specified database engine</p> 108 * </li> </ul> <p> <b>Oracle</b> </p> <p>The Oracle System ID (SID) of the created 109 * DB instance. If you specify <code>null</code>, the default value 110 * <code>ORCL</code> is used. You can't specify the string NULL, or any other 111 * reserved word, for <code>DBName</code>. </p> <p>Default: <code>ORCL</code> </p> 112 * <p>Constraints:</p> <ul> <li> <p>Can't be longer than 8 characters</p> </li> 113 * </ul> <p> <b>SQL Server</b> </p> <p>Not applicable. Must be null.</p> <p> 114 * <b>Amazon Aurora MySQL</b> </p> <p>The name of the database to create when the 115 * primary DB instance of the Aurora MySQL DB cluster is created. If this parameter 116 * isn't specified for an Aurora MySQL DB cluster, no database is created in the DB 117 * cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 64 118 * alphanumeric characters.</p> </li> <li> <p>It can't be a word reserved by the 119 * database engine.</p> </li> </ul> <p> <b>Amazon Aurora PostgreSQL</b> </p> <p>The 120 * name of the database to create when the primary DB instance of the Aurora 121 * PostgreSQL DB cluster is created. If this parameter isn't specified for an 122 * Aurora PostgreSQL DB cluster, a database named <code>postgres</code> is created 123 * in the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 63 124 * alphanumeric characters.</p> </li> <li> <p>It must begin with a letter or an 125 * underscore. Subsequent characters can be letters, underscores, or digits (0 to 126 * 9).</p> </li> <li> <p>It can't be a word reserved by the database engine.</p> 127 * </li> </ul> 128 */ DBNameHasBeenSet()129 inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; } 130 131 /** 132 * <p>The meaning of this parameter differs according to the database engine you 133 * use.</p> <p> <b>MySQL</b> </p> <p>The name of the database to create when the DB 134 * instance is created. If this parameter isn't specified, no database is created 135 * in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 136 * letters or numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent 137 * characters can be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't 138 * be a word reserved by the specified database engine</p> </li> </ul> <p> 139 * <b>MariaDB</b> </p> <p>The name of the database to create when the DB instance 140 * is created. If this parameter isn't specified, no database is created in the DB 141 * instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 letters or 142 * numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent characters can 143 * be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't be a word 144 * reserved by the specified database engine</p> </li> </ul> <p> <b>PostgreSQL</b> 145 * </p> <p>The name of the database to create when the DB instance is created. If 146 * this parameter isn't specified, a database named <code>postgres</code> is 147 * created in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 148 * to 63 letters, numbers, or underscores.</p> </li> <li> <p>Must begin with a 149 * letter. Subsequent characters can be letters, underscores, or digits (0-9).</p> 150 * </li> <li> <p>Can't be a word reserved by the specified database engine</p> 151 * </li> </ul> <p> <b>Oracle</b> </p> <p>The Oracle System ID (SID) of the created 152 * DB instance. If you specify <code>null</code>, the default value 153 * <code>ORCL</code> is used. You can't specify the string NULL, or any other 154 * reserved word, for <code>DBName</code>. </p> <p>Default: <code>ORCL</code> </p> 155 * <p>Constraints:</p> <ul> <li> <p>Can't be longer than 8 characters</p> </li> 156 * </ul> <p> <b>SQL Server</b> </p> <p>Not applicable. Must be null.</p> <p> 157 * <b>Amazon Aurora MySQL</b> </p> <p>The name of the database to create when the 158 * primary DB instance of the Aurora MySQL DB cluster is created. If this parameter 159 * isn't specified for an Aurora MySQL DB cluster, no database is created in the DB 160 * cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 64 161 * alphanumeric characters.</p> </li> <li> <p>It can't be a word reserved by the 162 * database engine.</p> </li> </ul> <p> <b>Amazon Aurora PostgreSQL</b> </p> <p>The 163 * name of the database to create when the primary DB instance of the Aurora 164 * PostgreSQL DB cluster is created. If this parameter isn't specified for an 165 * Aurora PostgreSQL DB cluster, a database named <code>postgres</code> is created 166 * in the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 63 167 * alphanumeric characters.</p> </li> <li> <p>It must begin with a letter or an 168 * underscore. Subsequent characters can be letters, underscores, or digits (0 to 169 * 9).</p> </li> <li> <p>It can't be a word reserved by the database engine.</p> 170 * </li> </ul> 171 */ SetDBName(const Aws::String & value)172 inline void SetDBName(const Aws::String& value) { m_dBNameHasBeenSet = true; m_dBName = value; } 173 174 /** 175 * <p>The meaning of this parameter differs according to the database engine you 176 * use.</p> <p> <b>MySQL</b> </p> <p>The name of the database to create when the DB 177 * instance is created. If this parameter isn't specified, no database is created 178 * in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 179 * letters or numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent 180 * characters can be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't 181 * be a word reserved by the specified database engine</p> </li> </ul> <p> 182 * <b>MariaDB</b> </p> <p>The name of the database to create when the DB instance 183 * is created. If this parameter isn't specified, no database is created in the DB 184 * instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 letters or 185 * numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent characters can 186 * be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't be a word 187 * reserved by the specified database engine</p> </li> </ul> <p> <b>PostgreSQL</b> 188 * </p> <p>The name of the database to create when the DB instance is created. If 189 * this parameter isn't specified, a database named <code>postgres</code> is 190 * created in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 191 * to 63 letters, numbers, or underscores.</p> </li> <li> <p>Must begin with a 192 * letter. Subsequent characters can be letters, underscores, or digits (0-9).</p> 193 * </li> <li> <p>Can't be a word reserved by the specified database engine</p> 194 * </li> </ul> <p> <b>Oracle</b> </p> <p>The Oracle System ID (SID) of the created 195 * DB instance. If you specify <code>null</code>, the default value 196 * <code>ORCL</code> is used. You can't specify the string NULL, or any other 197 * reserved word, for <code>DBName</code>. </p> <p>Default: <code>ORCL</code> </p> 198 * <p>Constraints:</p> <ul> <li> <p>Can't be longer than 8 characters</p> </li> 199 * </ul> <p> <b>SQL Server</b> </p> <p>Not applicable. Must be null.</p> <p> 200 * <b>Amazon Aurora MySQL</b> </p> <p>The name of the database to create when the 201 * primary DB instance of the Aurora MySQL DB cluster is created. If this parameter 202 * isn't specified for an Aurora MySQL DB cluster, no database is created in the DB 203 * cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 64 204 * alphanumeric characters.</p> </li> <li> <p>It can't be a word reserved by the 205 * database engine.</p> </li> </ul> <p> <b>Amazon Aurora PostgreSQL</b> </p> <p>The 206 * name of the database to create when the primary DB instance of the Aurora 207 * PostgreSQL DB cluster is created. If this parameter isn't specified for an 208 * Aurora PostgreSQL DB cluster, a database named <code>postgres</code> is created 209 * in the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 63 210 * alphanumeric characters.</p> </li> <li> <p>It must begin with a letter or an 211 * underscore. Subsequent characters can be letters, underscores, or digits (0 to 212 * 9).</p> </li> <li> <p>It can't be a word reserved by the database engine.</p> 213 * </li> </ul> 214 */ SetDBName(Aws::String && value)215 inline void SetDBName(Aws::String&& value) { m_dBNameHasBeenSet = true; m_dBName = std::move(value); } 216 217 /** 218 * <p>The meaning of this parameter differs according to the database engine you 219 * use.</p> <p> <b>MySQL</b> </p> <p>The name of the database to create when the DB 220 * instance is created. If this parameter isn't specified, no database is created 221 * in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 222 * letters or numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent 223 * characters can be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't 224 * be a word reserved by the specified database engine</p> </li> </ul> <p> 225 * <b>MariaDB</b> </p> <p>The name of the database to create when the DB instance 226 * is created. If this parameter isn't specified, no database is created in the DB 227 * instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 letters or 228 * numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent characters can 229 * be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't be a word 230 * reserved by the specified database engine</p> </li> </ul> <p> <b>PostgreSQL</b> 231 * </p> <p>The name of the database to create when the DB instance is created. If 232 * this parameter isn't specified, a database named <code>postgres</code> is 233 * created in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 234 * to 63 letters, numbers, or underscores.</p> </li> <li> <p>Must begin with a 235 * letter. Subsequent characters can be letters, underscores, or digits (0-9).</p> 236 * </li> <li> <p>Can't be a word reserved by the specified database engine</p> 237 * </li> </ul> <p> <b>Oracle</b> </p> <p>The Oracle System ID (SID) of the created 238 * DB instance. If you specify <code>null</code>, the default value 239 * <code>ORCL</code> is used. You can't specify the string NULL, or any other 240 * reserved word, for <code>DBName</code>. </p> <p>Default: <code>ORCL</code> </p> 241 * <p>Constraints:</p> <ul> <li> <p>Can't be longer than 8 characters</p> </li> 242 * </ul> <p> <b>SQL Server</b> </p> <p>Not applicable. Must be null.</p> <p> 243 * <b>Amazon Aurora MySQL</b> </p> <p>The name of the database to create when the 244 * primary DB instance of the Aurora MySQL DB cluster is created. If this parameter 245 * isn't specified for an Aurora MySQL DB cluster, no database is created in the DB 246 * cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 64 247 * alphanumeric characters.</p> </li> <li> <p>It can't be a word reserved by the 248 * database engine.</p> </li> </ul> <p> <b>Amazon Aurora PostgreSQL</b> </p> <p>The 249 * name of the database to create when the primary DB instance of the Aurora 250 * PostgreSQL DB cluster is created. If this parameter isn't specified for an 251 * Aurora PostgreSQL DB cluster, a database named <code>postgres</code> is created 252 * in the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 63 253 * alphanumeric characters.</p> </li> <li> <p>It must begin with a letter or an 254 * underscore. Subsequent characters can be letters, underscores, or digits (0 to 255 * 9).</p> </li> <li> <p>It can't be a word reserved by the database engine.</p> 256 * </li> </ul> 257 */ SetDBName(const char * value)258 inline void SetDBName(const char* value) { m_dBNameHasBeenSet = true; m_dBName.assign(value); } 259 260 /** 261 * <p>The meaning of this parameter differs according to the database engine you 262 * use.</p> <p> <b>MySQL</b> </p> <p>The name of the database to create when the DB 263 * instance is created. If this parameter isn't specified, no database is created 264 * in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 265 * letters or numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent 266 * characters can be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't 267 * be a word reserved by the specified database engine</p> </li> </ul> <p> 268 * <b>MariaDB</b> </p> <p>The name of the database to create when the DB instance 269 * is created. If this parameter isn't specified, no database is created in the DB 270 * instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 letters or 271 * numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent characters can 272 * be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't be a word 273 * reserved by the specified database engine</p> </li> </ul> <p> <b>PostgreSQL</b> 274 * </p> <p>The name of the database to create when the DB instance is created. If 275 * this parameter isn't specified, a database named <code>postgres</code> is 276 * created in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 277 * to 63 letters, numbers, or underscores.</p> </li> <li> <p>Must begin with a 278 * letter. Subsequent characters can be letters, underscores, or digits (0-9).</p> 279 * </li> <li> <p>Can't be a word reserved by the specified database engine</p> 280 * </li> </ul> <p> <b>Oracle</b> </p> <p>The Oracle System ID (SID) of the created 281 * DB instance. If you specify <code>null</code>, the default value 282 * <code>ORCL</code> is used. You can't specify the string NULL, or any other 283 * reserved word, for <code>DBName</code>. </p> <p>Default: <code>ORCL</code> </p> 284 * <p>Constraints:</p> <ul> <li> <p>Can't be longer than 8 characters</p> </li> 285 * </ul> <p> <b>SQL Server</b> </p> <p>Not applicable. Must be null.</p> <p> 286 * <b>Amazon Aurora MySQL</b> </p> <p>The name of the database to create when the 287 * primary DB instance of the Aurora MySQL DB cluster is created. If this parameter 288 * isn't specified for an Aurora MySQL DB cluster, no database is created in the DB 289 * cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 64 290 * alphanumeric characters.</p> </li> <li> <p>It can't be a word reserved by the 291 * database engine.</p> </li> </ul> <p> <b>Amazon Aurora PostgreSQL</b> </p> <p>The 292 * name of the database to create when the primary DB instance of the Aurora 293 * PostgreSQL DB cluster is created. If this parameter isn't specified for an 294 * Aurora PostgreSQL DB cluster, a database named <code>postgres</code> is created 295 * in the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 63 296 * alphanumeric characters.</p> </li> <li> <p>It must begin with a letter or an 297 * underscore. Subsequent characters can be letters, underscores, or digits (0 to 298 * 9).</p> </li> <li> <p>It can't be a word reserved by the database engine.</p> 299 * </li> </ul> 300 */ WithDBName(const Aws::String & value)301 inline CreateDBInstanceRequest& WithDBName(const Aws::String& value) { SetDBName(value); return *this;} 302 303 /** 304 * <p>The meaning of this parameter differs according to the database engine you 305 * use.</p> <p> <b>MySQL</b> </p> <p>The name of the database to create when the DB 306 * instance is created. If this parameter isn't specified, no database is created 307 * in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 308 * letters or numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent 309 * characters can be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't 310 * be a word reserved by the specified database engine</p> </li> </ul> <p> 311 * <b>MariaDB</b> </p> <p>The name of the database to create when the DB instance 312 * is created. If this parameter isn't specified, no database is created in the DB 313 * instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 letters or 314 * numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent characters can 315 * be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't be a word 316 * reserved by the specified database engine</p> </li> </ul> <p> <b>PostgreSQL</b> 317 * </p> <p>The name of the database to create when the DB instance is created. If 318 * this parameter isn't specified, a database named <code>postgres</code> is 319 * created in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 320 * to 63 letters, numbers, or underscores.</p> </li> <li> <p>Must begin with a 321 * letter. Subsequent characters can be letters, underscores, or digits (0-9).</p> 322 * </li> <li> <p>Can't be a word reserved by the specified database engine</p> 323 * </li> </ul> <p> <b>Oracle</b> </p> <p>The Oracle System ID (SID) of the created 324 * DB instance. If you specify <code>null</code>, the default value 325 * <code>ORCL</code> is used. You can't specify the string NULL, or any other 326 * reserved word, for <code>DBName</code>. </p> <p>Default: <code>ORCL</code> </p> 327 * <p>Constraints:</p> <ul> <li> <p>Can't be longer than 8 characters</p> </li> 328 * </ul> <p> <b>SQL Server</b> </p> <p>Not applicable. Must be null.</p> <p> 329 * <b>Amazon Aurora MySQL</b> </p> <p>The name of the database to create when the 330 * primary DB instance of the Aurora MySQL DB cluster is created. If this parameter 331 * isn't specified for an Aurora MySQL DB cluster, no database is created in the DB 332 * cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 64 333 * alphanumeric characters.</p> </li> <li> <p>It can't be a word reserved by the 334 * database engine.</p> </li> </ul> <p> <b>Amazon Aurora PostgreSQL</b> </p> <p>The 335 * name of the database to create when the primary DB instance of the Aurora 336 * PostgreSQL DB cluster is created. If this parameter isn't specified for an 337 * Aurora PostgreSQL DB cluster, a database named <code>postgres</code> is created 338 * in the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 63 339 * alphanumeric characters.</p> </li> <li> <p>It must begin with a letter or an 340 * underscore. Subsequent characters can be letters, underscores, or digits (0 to 341 * 9).</p> </li> <li> <p>It can't be a word reserved by the database engine.</p> 342 * </li> </ul> 343 */ WithDBName(Aws::String && value)344 inline CreateDBInstanceRequest& WithDBName(Aws::String&& value) { SetDBName(std::move(value)); return *this;} 345 346 /** 347 * <p>The meaning of this parameter differs according to the database engine you 348 * use.</p> <p> <b>MySQL</b> </p> <p>The name of the database to create when the DB 349 * instance is created. If this parameter isn't specified, no database is created 350 * in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 351 * letters or numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent 352 * characters can be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't 353 * be a word reserved by the specified database engine</p> </li> </ul> <p> 354 * <b>MariaDB</b> </p> <p>The name of the database to create when the DB instance 355 * is created. If this parameter isn't specified, no database is created in the DB 356 * instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 to 64 letters or 357 * numbers.</p> </li> <li> <p>Must begin with a letter. Subsequent characters can 358 * be letters, underscores, or digits (0-9).</p> </li> <li> <p>Can't be a word 359 * reserved by the specified database engine</p> </li> </ul> <p> <b>PostgreSQL</b> 360 * </p> <p>The name of the database to create when the DB instance is created. If 361 * this parameter isn't specified, a database named <code>postgres</code> is 362 * created in the DB instance.</p> <p>Constraints:</p> <ul> <li> <p>Must contain 1 363 * to 63 letters, numbers, or underscores.</p> </li> <li> <p>Must begin with a 364 * letter. Subsequent characters can be letters, underscores, or digits (0-9).</p> 365 * </li> <li> <p>Can't be a word reserved by the specified database engine</p> 366 * </li> </ul> <p> <b>Oracle</b> </p> <p>The Oracle System ID (SID) of the created 367 * DB instance. If you specify <code>null</code>, the default value 368 * <code>ORCL</code> is used. You can't specify the string NULL, or any other 369 * reserved word, for <code>DBName</code>. </p> <p>Default: <code>ORCL</code> </p> 370 * <p>Constraints:</p> <ul> <li> <p>Can't be longer than 8 characters</p> </li> 371 * </ul> <p> <b>SQL Server</b> </p> <p>Not applicable. Must be null.</p> <p> 372 * <b>Amazon Aurora MySQL</b> </p> <p>The name of the database to create when the 373 * primary DB instance of the Aurora MySQL DB cluster is created. If this parameter 374 * isn't specified for an Aurora MySQL DB cluster, no database is created in the DB 375 * cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 64 376 * alphanumeric characters.</p> </li> <li> <p>It can't be a word reserved by the 377 * database engine.</p> </li> </ul> <p> <b>Amazon Aurora PostgreSQL</b> </p> <p>The 378 * name of the database to create when the primary DB instance of the Aurora 379 * PostgreSQL DB cluster is created. If this parameter isn't specified for an 380 * Aurora PostgreSQL DB cluster, a database named <code>postgres</code> is created 381 * in the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>It must contain 1 to 63 382 * alphanumeric characters.</p> </li> <li> <p>It must begin with a letter or an 383 * underscore. Subsequent characters can be letters, underscores, or digits (0 to 384 * 9).</p> </li> <li> <p>It can't be a word reserved by the database engine.</p> 385 * </li> </ul> 386 */ WithDBName(const char * value)387 inline CreateDBInstanceRequest& WithDBName(const char* value) { SetDBName(value); return *this;} 388 389 390 /** 391 * <p>The DB instance identifier. This parameter is stored as a lowercase 392 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 393 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 394 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 395 * </li> </ul> <p>Example: <code>mydbinstance</code> </p> 396 */ GetDBInstanceIdentifier()397 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; } 398 399 /** 400 * <p>The DB instance identifier. This parameter is stored as a lowercase 401 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 402 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 403 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 404 * </li> </ul> <p>Example: <code>mydbinstance</code> </p> 405 */ DBInstanceIdentifierHasBeenSet()406 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; } 407 408 /** 409 * <p>The DB instance identifier. This parameter is stored as a lowercase 410 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 411 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 412 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 413 * </li> </ul> <p>Example: <code>mydbinstance</code> </p> 414 */ SetDBInstanceIdentifier(const Aws::String & value)415 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; } 416 417 /** 418 * <p>The DB instance identifier. This parameter is stored as a lowercase 419 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 420 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 421 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 422 * </li> </ul> <p>Example: <code>mydbinstance</code> </p> 423 */ SetDBInstanceIdentifier(Aws::String && value)424 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); } 425 426 /** 427 * <p>The DB instance identifier. This parameter is stored as a lowercase 428 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 429 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 430 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 431 * </li> </ul> <p>Example: <code>mydbinstance</code> </p> 432 */ SetDBInstanceIdentifier(const char * value)433 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); } 434 435 /** 436 * <p>The DB instance identifier. This parameter is stored as a lowercase 437 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 438 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 439 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 440 * </li> </ul> <p>Example: <code>mydbinstance</code> </p> 441 */ WithDBInstanceIdentifier(const Aws::String & value)442 inline CreateDBInstanceRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;} 443 444 /** 445 * <p>The DB instance identifier. This parameter is stored as a lowercase 446 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 447 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 448 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 449 * </li> </ul> <p>Example: <code>mydbinstance</code> </p> 450 */ WithDBInstanceIdentifier(Aws::String && value)451 inline CreateDBInstanceRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;} 452 453 /** 454 * <p>The DB instance identifier. This parameter is stored as a lowercase 455 * string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, 456 * numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> 457 * </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> 458 * </li> </ul> <p>Example: <code>mydbinstance</code> </p> 459 */ WithDBInstanceIdentifier(const char * value)460 inline CreateDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;} 461 462 463 /** 464 * <p>The amount of storage in gibibytes (GiB) to allocate for the DB instance.</p> 465 * <p>Type: Integer</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. Aurora 466 * cluster volumes automatically grow as the amount of data in your database 467 * increases, though you are only charged for the space that you use in an Aurora 468 * cluster volume.</p> <p> <b>MySQL</b> </p> <p>Constraints to the amount of 469 * storage for each storage type are the following: </p> <ul> <li> <p>General 470 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 471 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 472 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 473 * 3072.</p> </li> </ul> <p> <b>MariaDB</b> </p> <p>Constraints to the amount of 474 * storage for each storage type are the following: </p> <ul> <li> <p>General 475 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 476 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 477 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 478 * 3072.</p> </li> </ul> <p> <b>PostgreSQL</b> </p> <p>Constraints to the amount of 479 * storage for each storage type are the following: </p> <ul> <li> <p>General 480 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 481 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 482 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 483 * 3072.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints to the amount of 484 * storage for each storage type are the following: </p> <ul> <li> <p>General 485 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 486 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 487 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 10 to 488 * 3072.</p> </li> </ul> <p> <b>SQL Server</b> </p> <p>Constraints to the amount of 489 * storage for each storage type are the following: </p> <ul> <li> <p>General 490 * Purpose (SSD) storage (gp2):</p> <ul> <li> <p>Enterprise and Standard editions: 491 * Must be an integer from 200 to 16384.</p> </li> <li> <p>Web and Express 492 * editions: Must be an integer from 20 to 16384.</p> </li> </ul> </li> <li> 493 * <p>Provisioned IOPS storage (io1):</p> <ul> <li> <p>Enterprise and Standard 494 * editions: Must be an integer from 200 to 16384.</p> </li> <li> <p>Web and 495 * Express editions: Must be an integer from 100 to 16384.</p> </li> </ul> </li> 496 * <li> <p>Magnetic storage (standard):</p> <ul> <li> <p>Enterprise and Standard 497 * editions: Must be an integer from 200 to 1024.</p> </li> <li> <p>Web and Express 498 * editions: Must be an integer from 20 to 1024.</p> </li> </ul> </li> </ul> 499 */ GetAllocatedStorage()500 inline int GetAllocatedStorage() const{ return m_allocatedStorage; } 501 502 /** 503 * <p>The amount of storage in gibibytes (GiB) to allocate for the DB instance.</p> 504 * <p>Type: Integer</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. Aurora 505 * cluster volumes automatically grow as the amount of data in your database 506 * increases, though you are only charged for the space that you use in an Aurora 507 * cluster volume.</p> <p> <b>MySQL</b> </p> <p>Constraints to the amount of 508 * storage for each storage type are the following: </p> <ul> <li> <p>General 509 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 510 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 511 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 512 * 3072.</p> </li> </ul> <p> <b>MariaDB</b> </p> <p>Constraints to the amount of 513 * storage for each storage type are the following: </p> <ul> <li> <p>General 514 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 515 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 516 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 517 * 3072.</p> </li> </ul> <p> <b>PostgreSQL</b> </p> <p>Constraints to the amount of 518 * storage for each storage type are the following: </p> <ul> <li> <p>General 519 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 520 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 521 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 522 * 3072.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints to the amount of 523 * storage for each storage type are the following: </p> <ul> <li> <p>General 524 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 525 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 526 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 10 to 527 * 3072.</p> </li> </ul> <p> <b>SQL Server</b> </p> <p>Constraints to the amount of 528 * storage for each storage type are the following: </p> <ul> <li> <p>General 529 * Purpose (SSD) storage (gp2):</p> <ul> <li> <p>Enterprise and Standard editions: 530 * Must be an integer from 200 to 16384.</p> </li> <li> <p>Web and Express 531 * editions: Must be an integer from 20 to 16384.</p> </li> </ul> </li> <li> 532 * <p>Provisioned IOPS storage (io1):</p> <ul> <li> <p>Enterprise and Standard 533 * editions: Must be an integer from 200 to 16384.</p> </li> <li> <p>Web and 534 * Express editions: Must be an integer from 100 to 16384.</p> </li> </ul> </li> 535 * <li> <p>Magnetic storage (standard):</p> <ul> <li> <p>Enterprise and Standard 536 * editions: Must be an integer from 200 to 1024.</p> </li> <li> <p>Web and Express 537 * editions: Must be an integer from 20 to 1024.</p> </li> </ul> </li> </ul> 538 */ AllocatedStorageHasBeenSet()539 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } 540 541 /** 542 * <p>The amount of storage in gibibytes (GiB) to allocate for the DB instance.</p> 543 * <p>Type: Integer</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. Aurora 544 * cluster volumes automatically grow as the amount of data in your database 545 * increases, though you are only charged for the space that you use in an Aurora 546 * cluster volume.</p> <p> <b>MySQL</b> </p> <p>Constraints to the amount of 547 * storage for each storage type are the following: </p> <ul> <li> <p>General 548 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 549 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 550 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 551 * 3072.</p> </li> </ul> <p> <b>MariaDB</b> </p> <p>Constraints to the amount of 552 * storage for each storage type are the following: </p> <ul> <li> <p>General 553 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 554 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 555 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 556 * 3072.</p> </li> </ul> <p> <b>PostgreSQL</b> </p> <p>Constraints to the amount of 557 * storage for each storage type are the following: </p> <ul> <li> <p>General 558 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 559 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 560 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 561 * 3072.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints to the amount of 562 * storage for each storage type are the following: </p> <ul> <li> <p>General 563 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 564 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 565 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 10 to 566 * 3072.</p> </li> </ul> <p> <b>SQL Server</b> </p> <p>Constraints to the amount of 567 * storage for each storage type are the following: </p> <ul> <li> <p>General 568 * Purpose (SSD) storage (gp2):</p> <ul> <li> <p>Enterprise and Standard editions: 569 * Must be an integer from 200 to 16384.</p> </li> <li> <p>Web and Express 570 * editions: Must be an integer from 20 to 16384.</p> </li> </ul> </li> <li> 571 * <p>Provisioned IOPS storage (io1):</p> <ul> <li> <p>Enterprise and Standard 572 * editions: Must be an integer from 200 to 16384.</p> </li> <li> <p>Web and 573 * Express editions: Must be an integer from 100 to 16384.</p> </li> </ul> </li> 574 * <li> <p>Magnetic storage (standard):</p> <ul> <li> <p>Enterprise and Standard 575 * editions: Must be an integer from 200 to 1024.</p> </li> <li> <p>Web and Express 576 * editions: Must be an integer from 20 to 1024.</p> </li> </ul> </li> </ul> 577 */ SetAllocatedStorage(int value)578 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } 579 580 /** 581 * <p>The amount of storage in gibibytes (GiB) to allocate for the DB instance.</p> 582 * <p>Type: Integer</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. Aurora 583 * cluster volumes automatically grow as the amount of data in your database 584 * increases, though you are only charged for the space that you use in an Aurora 585 * cluster volume.</p> <p> <b>MySQL</b> </p> <p>Constraints to the amount of 586 * storage for each storage type are the following: </p> <ul> <li> <p>General 587 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 588 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 589 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 590 * 3072.</p> </li> </ul> <p> <b>MariaDB</b> </p> <p>Constraints to the amount of 591 * storage for each storage type are the following: </p> <ul> <li> <p>General 592 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 593 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 594 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 595 * 3072.</p> </li> </ul> <p> <b>PostgreSQL</b> </p> <p>Constraints to the amount of 596 * storage for each storage type are the following: </p> <ul> <li> <p>General 597 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 598 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 599 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 5 to 600 * 3072.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints to the amount of 601 * storage for each storage type are the following: </p> <ul> <li> <p>General 602 * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p> </li> <li> 603 * <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p> 604 * </li> <li> <p>Magnetic storage (standard): Must be an integer from 10 to 605 * 3072.</p> </li> </ul> <p> <b>SQL Server</b> </p> <p>Constraints to the amount of 606 * storage for each storage type are the following: </p> <ul> <li> <p>General 607 * Purpose (SSD) storage (gp2):</p> <ul> <li> <p>Enterprise and Standard editions: 608 * Must be an integer from 200 to 16384.</p> </li> <li> <p>Web and Express 609 * editions: Must be an integer from 20 to 16384.</p> </li> </ul> </li> <li> 610 * <p>Provisioned IOPS storage (io1):</p> <ul> <li> <p>Enterprise and Standard 611 * editions: Must be an integer from 200 to 16384.</p> </li> <li> <p>Web and 612 * Express editions: Must be an integer from 100 to 16384.</p> </li> </ul> </li> 613 * <li> <p>Magnetic storage (standard):</p> <ul> <li> <p>Enterprise and Standard 614 * editions: Must be an integer from 200 to 1024.</p> </li> <li> <p>Web and Express 615 * editions: Must be an integer from 20 to 1024.</p> </li> </ul> </li> </ul> 616 */ WithAllocatedStorage(int value)617 inline CreateDBInstanceRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} 618 619 620 /** 621 * <p>The compute and memory capacity of the DB instance, for example, 622 * <code>db.m4.large</code>. Not all DB instance classes are available in all 623 * Amazon Web Services Regions, or for all database engines. For the full list of 624 * DB instance classes, and availability for your engine, see <a 625 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB 626 * Instance Class</a> in the <i>Amazon RDS User Guide.</i> </p> 627 */ GetDBInstanceClass()628 inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; } 629 630 /** 631 * <p>The compute and memory capacity of the DB instance, for example, 632 * <code>db.m4.large</code>. Not all DB instance classes are available in all 633 * Amazon Web Services Regions, or for all database engines. For the full list of 634 * DB instance classes, and availability for your engine, see <a 635 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB 636 * Instance Class</a> in the <i>Amazon RDS User Guide.</i> </p> 637 */ DBInstanceClassHasBeenSet()638 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; } 639 640 /** 641 * <p>The compute and memory capacity of the DB instance, for example, 642 * <code>db.m4.large</code>. Not all DB instance classes are available in all 643 * Amazon Web Services Regions, or for all database engines. For the full list of 644 * DB instance classes, and availability for your engine, see <a 645 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB 646 * Instance Class</a> in the <i>Amazon RDS User Guide.</i> </p> 647 */ SetDBInstanceClass(const Aws::String & value)648 inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; } 649 650 /** 651 * <p>The compute and memory capacity of the DB instance, for example, 652 * <code>db.m4.large</code>. Not all DB instance classes are available in all 653 * Amazon Web Services Regions, or for all database engines. For the full list of 654 * DB instance classes, and availability for your engine, see <a 655 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB 656 * Instance Class</a> in the <i>Amazon RDS User Guide.</i> </p> 657 */ SetDBInstanceClass(Aws::String && value)658 inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); } 659 660 /** 661 * <p>The compute and memory capacity of the DB instance, for example, 662 * <code>db.m4.large</code>. Not all DB instance classes are available in all 663 * Amazon Web Services Regions, or for all database engines. For the full list of 664 * DB instance classes, and availability for your engine, see <a 665 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB 666 * Instance Class</a> in the <i>Amazon RDS User Guide.</i> </p> 667 */ SetDBInstanceClass(const char * value)668 inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); } 669 670 /** 671 * <p>The compute and memory capacity of the DB instance, for example, 672 * <code>db.m4.large</code>. Not all DB instance classes are available in all 673 * Amazon Web Services Regions, or for all database engines. For the full list of 674 * DB instance classes, and availability for your engine, see <a 675 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB 676 * Instance Class</a> in the <i>Amazon RDS User Guide.</i> </p> 677 */ WithDBInstanceClass(const Aws::String & value)678 inline CreateDBInstanceRequest& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;} 679 680 /** 681 * <p>The compute and memory capacity of the DB instance, for example, 682 * <code>db.m4.large</code>. Not all DB instance classes are available in all 683 * Amazon Web Services Regions, or for all database engines. For the full list of 684 * DB instance classes, and availability for your engine, see <a 685 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB 686 * Instance Class</a> in the <i>Amazon RDS User Guide.</i> </p> 687 */ WithDBInstanceClass(Aws::String && value)688 inline CreateDBInstanceRequest& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;} 689 690 /** 691 * <p>The compute and memory capacity of the DB instance, for example, 692 * <code>db.m4.large</code>. Not all DB instance classes are available in all 693 * Amazon Web Services Regions, or for all database engines. For the full list of 694 * DB instance classes, and availability for your engine, see <a 695 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB 696 * Instance Class</a> in the <i>Amazon RDS User Guide.</i> </p> 697 */ WithDBInstanceClass(const char * value)698 inline CreateDBInstanceRequest& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;} 699 700 701 /** 702 * <p>The name of the database engine to be used for this instance. </p> <p>Not 703 * every database engine is available for every Amazon Web Services Region. </p> 704 * <p>Valid Values: </p> <ul> <li> <p> <code>aurora</code> (for MySQL 705 * 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 706 * 5.7-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> 707 * </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> 708 * </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> 709 * <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> 710 * </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> 711 * <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> 712 * <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> 713 * </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul> 714 */ GetEngine()715 inline const Aws::String& GetEngine() const{ return m_engine; } 716 717 /** 718 * <p>The name of the database engine to be used for this instance. </p> <p>Not 719 * every database engine is available for every Amazon Web Services Region. </p> 720 * <p>Valid Values: </p> <ul> <li> <p> <code>aurora</code> (for MySQL 721 * 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 722 * 5.7-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> 723 * </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> 724 * </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> 725 * <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> 726 * </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> 727 * <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> 728 * <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> 729 * </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul> 730 */ EngineHasBeenSet()731 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } 732 733 /** 734 * <p>The name of the database engine to be used for this instance. </p> <p>Not 735 * every database engine is available for every Amazon Web Services Region. </p> 736 * <p>Valid Values: </p> <ul> <li> <p> <code>aurora</code> (for MySQL 737 * 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 738 * 5.7-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> 739 * </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> 740 * </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> 741 * <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> 742 * </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> 743 * <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> 744 * <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> 745 * </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul> 746 */ SetEngine(const Aws::String & value)747 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } 748 749 /** 750 * <p>The name of the database engine to be used for this instance. </p> <p>Not 751 * every database engine is available for every Amazon Web Services Region. </p> 752 * <p>Valid Values: </p> <ul> <li> <p> <code>aurora</code> (for MySQL 753 * 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 754 * 5.7-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> 755 * </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> 756 * </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> 757 * <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> 758 * </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> 759 * <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> 760 * <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> 761 * </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul> 762 */ SetEngine(Aws::String && value)763 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } 764 765 /** 766 * <p>The name of the database engine to be used for this instance. </p> <p>Not 767 * every database engine is available for every Amazon Web Services Region. </p> 768 * <p>Valid Values: </p> <ul> <li> <p> <code>aurora</code> (for MySQL 769 * 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 770 * 5.7-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> 771 * </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> 772 * </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> 773 * <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> 774 * </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> 775 * <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> 776 * <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> 777 * </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul> 778 */ SetEngine(const char * value)779 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } 780 781 /** 782 * <p>The name of the database engine to be used for this instance. </p> <p>Not 783 * every database engine is available for every Amazon Web Services Region. </p> 784 * <p>Valid Values: </p> <ul> <li> <p> <code>aurora</code> (for MySQL 785 * 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 786 * 5.7-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> 787 * </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> 788 * </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> 789 * <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> 790 * </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> 791 * <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> 792 * <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> 793 * </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul> 794 */ WithEngine(const Aws::String & value)795 inline CreateDBInstanceRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} 796 797 /** 798 * <p>The name of the database engine to be used for this instance. </p> <p>Not 799 * every database engine is available for every Amazon Web Services Region. </p> 800 * <p>Valid Values: </p> <ul> <li> <p> <code>aurora</code> (for MySQL 801 * 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 802 * 5.7-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> 803 * </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> 804 * </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> 805 * <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> 806 * </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> 807 * <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> 808 * <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> 809 * </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul> 810 */ WithEngine(Aws::String && value)811 inline CreateDBInstanceRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} 812 813 /** 814 * <p>The name of the database engine to be used for this instance. </p> <p>Not 815 * every database engine is available for every Amazon Web Services Region. </p> 816 * <p>Valid Values: </p> <ul> <li> <p> <code>aurora</code> (for MySQL 817 * 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 818 * 5.7-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> 819 * </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> 820 * </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> 821 * <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> 822 * </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> 823 * <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> 824 * <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> 825 * </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul> 826 */ WithEngine(const char * value)827 inline CreateDBInstanceRequest& WithEngine(const char* value) { SetEngine(value); return *this;} 828 829 830 /** 831 * <p>The name for the master user.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 832 * applicable. The name for the master user is managed by the DB cluster. </p> <p> 833 * <b>MariaDB</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for MariaDB.</p> 834 * </li> <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>Can't be a 835 * reserved word for the chosen database engine.</p> </li> </ul> <p> <b>Microsoft 836 * SQL Server</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for SQL 837 * Server.</p> </li> <li> <p>Must be 1 to 128 letters or numbers.</p> </li> <li> 838 * <p>The first character must be a letter.</p> </li> <li> <p>Can't be a reserved 839 * word for the chosen database engine.</p> </li> </ul> <p> <b>MySQL</b> </p> 840 * <p>Constraints:</p> <ul> <li> <p>Required for MySQL.</p> </li> <li> <p>Must be 1 841 * to 16 letters or numbers.</p> </li> <li> <p>First character must be a 842 * letter.</p> </li> <li> <p>Can't be a reserved word for the chosen database 843 * engine.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints:</p> <ul> <li> 844 * <p>Required for Oracle.</p> </li> <li> <p>Must be 1 to 30 letters or 845 * numbers.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> 846 * <p>Can't be a reserved word for the chosen database engine.</p> </li> </ul> <p> 847 * <b>PostgreSQL</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for 848 * PostgreSQL.</p> </li> <li> <p>Must be 1 to 63 letters or numbers.</p> </li> <li> 849 * <p>First character must be a letter.</p> </li> <li> <p>Can't be a reserved word 850 * for the chosen database engine.</p> </li> </ul> 851 */ GetMasterUsername()852 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; } 853 854 /** 855 * <p>The name for the master user.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 856 * applicable. The name for the master user is managed by the DB cluster. </p> <p> 857 * <b>MariaDB</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for MariaDB.</p> 858 * </li> <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>Can't be a 859 * reserved word for the chosen database engine.</p> </li> </ul> <p> <b>Microsoft 860 * SQL Server</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for SQL 861 * Server.</p> </li> <li> <p>Must be 1 to 128 letters or numbers.</p> </li> <li> 862 * <p>The first character must be a letter.</p> </li> <li> <p>Can't be a reserved 863 * word for the chosen database engine.</p> </li> </ul> <p> <b>MySQL</b> </p> 864 * <p>Constraints:</p> <ul> <li> <p>Required for MySQL.</p> </li> <li> <p>Must be 1 865 * to 16 letters or numbers.</p> </li> <li> <p>First character must be a 866 * letter.</p> </li> <li> <p>Can't be a reserved word for the chosen database 867 * engine.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints:</p> <ul> <li> 868 * <p>Required for Oracle.</p> </li> <li> <p>Must be 1 to 30 letters or 869 * numbers.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> 870 * <p>Can't be a reserved word for the chosen database engine.</p> </li> </ul> <p> 871 * <b>PostgreSQL</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for 872 * PostgreSQL.</p> </li> <li> <p>Must be 1 to 63 letters or numbers.</p> </li> <li> 873 * <p>First character must be a letter.</p> </li> <li> <p>Can't be a reserved word 874 * for the chosen database engine.</p> </li> </ul> 875 */ MasterUsernameHasBeenSet()876 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; } 877 878 /** 879 * <p>The name for the master user.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 880 * applicable. The name for the master user is managed by the DB cluster. </p> <p> 881 * <b>MariaDB</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for MariaDB.</p> 882 * </li> <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>Can't be a 883 * reserved word for the chosen database engine.</p> </li> </ul> <p> <b>Microsoft 884 * SQL Server</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for SQL 885 * Server.</p> </li> <li> <p>Must be 1 to 128 letters or numbers.</p> </li> <li> 886 * <p>The first character must be a letter.</p> </li> <li> <p>Can't be a reserved 887 * word for the chosen database engine.</p> </li> </ul> <p> <b>MySQL</b> </p> 888 * <p>Constraints:</p> <ul> <li> <p>Required for MySQL.</p> </li> <li> <p>Must be 1 889 * to 16 letters or numbers.</p> </li> <li> <p>First character must be a 890 * letter.</p> </li> <li> <p>Can't be a reserved word for the chosen database 891 * engine.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints:</p> <ul> <li> 892 * <p>Required for Oracle.</p> </li> <li> <p>Must be 1 to 30 letters or 893 * numbers.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> 894 * <p>Can't be a reserved word for the chosen database engine.</p> </li> </ul> <p> 895 * <b>PostgreSQL</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for 896 * PostgreSQL.</p> </li> <li> <p>Must be 1 to 63 letters or numbers.</p> </li> <li> 897 * <p>First character must be a letter.</p> </li> <li> <p>Can't be a reserved word 898 * for the chosen database engine.</p> </li> </ul> 899 */ SetMasterUsername(const Aws::String & value)900 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; } 901 902 /** 903 * <p>The name for the master user.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 904 * applicable. The name for the master user is managed by the DB cluster. </p> <p> 905 * <b>MariaDB</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for MariaDB.</p> 906 * </li> <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>Can't be a 907 * reserved word for the chosen database engine.</p> </li> </ul> <p> <b>Microsoft 908 * SQL Server</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for SQL 909 * Server.</p> </li> <li> <p>Must be 1 to 128 letters or numbers.</p> </li> <li> 910 * <p>The first character must be a letter.</p> </li> <li> <p>Can't be a reserved 911 * word for the chosen database engine.</p> </li> </ul> <p> <b>MySQL</b> </p> 912 * <p>Constraints:</p> <ul> <li> <p>Required for MySQL.</p> </li> <li> <p>Must be 1 913 * to 16 letters or numbers.</p> </li> <li> <p>First character must be a 914 * letter.</p> </li> <li> <p>Can't be a reserved word for the chosen database 915 * engine.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints:</p> <ul> <li> 916 * <p>Required for Oracle.</p> </li> <li> <p>Must be 1 to 30 letters or 917 * numbers.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> 918 * <p>Can't be a reserved word for the chosen database engine.</p> </li> </ul> <p> 919 * <b>PostgreSQL</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for 920 * PostgreSQL.</p> </li> <li> <p>Must be 1 to 63 letters or numbers.</p> </li> <li> 921 * <p>First character must be a letter.</p> </li> <li> <p>Can't be a reserved word 922 * for the chosen database engine.</p> </li> </ul> 923 */ SetMasterUsername(Aws::String && value)924 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); } 925 926 /** 927 * <p>The name for the master user.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 928 * applicable. The name for the master user is managed by the DB cluster. </p> <p> 929 * <b>MariaDB</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for MariaDB.</p> 930 * </li> <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>Can't be a 931 * reserved word for the chosen database engine.</p> </li> </ul> <p> <b>Microsoft 932 * SQL Server</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for SQL 933 * Server.</p> </li> <li> <p>Must be 1 to 128 letters or numbers.</p> </li> <li> 934 * <p>The first character must be a letter.</p> </li> <li> <p>Can't be a reserved 935 * word for the chosen database engine.</p> </li> </ul> <p> <b>MySQL</b> </p> 936 * <p>Constraints:</p> <ul> <li> <p>Required for MySQL.</p> </li> <li> <p>Must be 1 937 * to 16 letters or numbers.</p> </li> <li> <p>First character must be a 938 * letter.</p> </li> <li> <p>Can't be a reserved word for the chosen database 939 * engine.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints:</p> <ul> <li> 940 * <p>Required for Oracle.</p> </li> <li> <p>Must be 1 to 30 letters or 941 * numbers.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> 942 * <p>Can't be a reserved word for the chosen database engine.</p> </li> </ul> <p> 943 * <b>PostgreSQL</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for 944 * PostgreSQL.</p> </li> <li> <p>Must be 1 to 63 letters or numbers.</p> </li> <li> 945 * <p>First character must be a letter.</p> </li> <li> <p>Can't be a reserved word 946 * for the chosen database engine.</p> </li> </ul> 947 */ SetMasterUsername(const char * value)948 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); } 949 950 /** 951 * <p>The name for the master user.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 952 * applicable. The name for the master user is managed by the DB cluster. </p> <p> 953 * <b>MariaDB</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for MariaDB.</p> 954 * </li> <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>Can't be a 955 * reserved word for the chosen database engine.</p> </li> </ul> <p> <b>Microsoft 956 * SQL Server</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for SQL 957 * Server.</p> </li> <li> <p>Must be 1 to 128 letters or numbers.</p> </li> <li> 958 * <p>The first character must be a letter.</p> </li> <li> <p>Can't be a reserved 959 * word for the chosen database engine.</p> </li> </ul> <p> <b>MySQL</b> </p> 960 * <p>Constraints:</p> <ul> <li> <p>Required for MySQL.</p> </li> <li> <p>Must be 1 961 * to 16 letters or numbers.</p> </li> <li> <p>First character must be a 962 * letter.</p> </li> <li> <p>Can't be a reserved word for the chosen database 963 * engine.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints:</p> <ul> <li> 964 * <p>Required for Oracle.</p> </li> <li> <p>Must be 1 to 30 letters or 965 * numbers.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> 966 * <p>Can't be a reserved word for the chosen database engine.</p> </li> </ul> <p> 967 * <b>PostgreSQL</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for 968 * PostgreSQL.</p> </li> <li> <p>Must be 1 to 63 letters or numbers.</p> </li> <li> 969 * <p>First character must be a letter.</p> </li> <li> <p>Can't be a reserved word 970 * for the chosen database engine.</p> </li> </ul> 971 */ WithMasterUsername(const Aws::String & value)972 inline CreateDBInstanceRequest& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;} 973 974 /** 975 * <p>The name for the master user.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 976 * applicable. The name for the master user is managed by the DB cluster. </p> <p> 977 * <b>MariaDB</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for MariaDB.</p> 978 * </li> <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>Can't be a 979 * reserved word for the chosen database engine.</p> </li> </ul> <p> <b>Microsoft 980 * SQL Server</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for SQL 981 * Server.</p> </li> <li> <p>Must be 1 to 128 letters or numbers.</p> </li> <li> 982 * <p>The first character must be a letter.</p> </li> <li> <p>Can't be a reserved 983 * word for the chosen database engine.</p> </li> </ul> <p> <b>MySQL</b> </p> 984 * <p>Constraints:</p> <ul> <li> <p>Required for MySQL.</p> </li> <li> <p>Must be 1 985 * to 16 letters or numbers.</p> </li> <li> <p>First character must be a 986 * letter.</p> </li> <li> <p>Can't be a reserved word for the chosen database 987 * engine.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints:</p> <ul> <li> 988 * <p>Required for Oracle.</p> </li> <li> <p>Must be 1 to 30 letters or 989 * numbers.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> 990 * <p>Can't be a reserved word for the chosen database engine.</p> </li> </ul> <p> 991 * <b>PostgreSQL</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for 992 * PostgreSQL.</p> </li> <li> <p>Must be 1 to 63 letters or numbers.</p> </li> <li> 993 * <p>First character must be a letter.</p> </li> <li> <p>Can't be a reserved word 994 * for the chosen database engine.</p> </li> </ul> 995 */ WithMasterUsername(Aws::String && value)996 inline CreateDBInstanceRequest& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;} 997 998 /** 999 * <p>The name for the master user.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 1000 * applicable. The name for the master user is managed by the DB cluster. </p> <p> 1001 * <b>MariaDB</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for MariaDB.</p> 1002 * </li> <li> <p>Must be 1 to 16 letters or numbers.</p> </li> <li> <p>Can't be a 1003 * reserved word for the chosen database engine.</p> </li> </ul> <p> <b>Microsoft 1004 * SQL Server</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for SQL 1005 * Server.</p> </li> <li> <p>Must be 1 to 128 letters or numbers.</p> </li> <li> 1006 * <p>The first character must be a letter.</p> </li> <li> <p>Can't be a reserved 1007 * word for the chosen database engine.</p> </li> </ul> <p> <b>MySQL</b> </p> 1008 * <p>Constraints:</p> <ul> <li> <p>Required for MySQL.</p> </li> <li> <p>Must be 1 1009 * to 16 letters or numbers.</p> </li> <li> <p>First character must be a 1010 * letter.</p> </li> <li> <p>Can't be a reserved word for the chosen database 1011 * engine.</p> </li> </ul> <p> <b>Oracle</b> </p> <p>Constraints:</p> <ul> <li> 1012 * <p>Required for Oracle.</p> </li> <li> <p>Must be 1 to 30 letters or 1013 * numbers.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> 1014 * <p>Can't be a reserved word for the chosen database engine.</p> </li> </ul> <p> 1015 * <b>PostgreSQL</b> </p> <p>Constraints:</p> <ul> <li> <p>Required for 1016 * PostgreSQL.</p> </li> <li> <p>Must be 1 to 63 letters or numbers.</p> </li> <li> 1017 * <p>First character must be a letter.</p> </li> <li> <p>Can't be a reserved word 1018 * for the chosen database engine.</p> </li> </ul> 1019 */ WithMasterUsername(const char * value)1020 inline CreateDBInstanceRequest& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;} 1021 1022 1023 /** 1024 * <p>The password for the master user. The password can include any printable 1025 * ASCII character except "/", """, or "@".</p> <p> <b>Amazon Aurora</b> </p> 1026 * <p>Not applicable. The password for the master user is managed by the DB 1027 * cluster.</p> <p> <b>MariaDB</b> </p> <p>Constraints: Must contain from 8 to 41 1028 * characters.</p> <p> <b>Microsoft SQL Server</b> </p> <p>Constraints: Must 1029 * contain from 8 to 128 characters.</p> <p> <b>MySQL</b> </p> <p>Constraints: Must 1030 * contain from 8 to 41 characters.</p> <p> <b>Oracle</b> </p> <p>Constraints: Must 1031 * contain from 8 to 30 characters.</p> <p> <b>PostgreSQL</b> </p> <p>Constraints: 1032 * Must contain from 8 to 128 characters.</p> 1033 */ GetMasterUserPassword()1034 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } 1035 1036 /** 1037 * <p>The password for the master user. The password can include any printable 1038 * ASCII character except "/", """, or "@".</p> <p> <b>Amazon Aurora</b> </p> 1039 * <p>Not applicable. The password for the master user is managed by the DB 1040 * cluster.</p> <p> <b>MariaDB</b> </p> <p>Constraints: Must contain from 8 to 41 1041 * characters.</p> <p> <b>Microsoft SQL Server</b> </p> <p>Constraints: Must 1042 * contain from 8 to 128 characters.</p> <p> <b>MySQL</b> </p> <p>Constraints: Must 1043 * contain from 8 to 41 characters.</p> <p> <b>Oracle</b> </p> <p>Constraints: Must 1044 * contain from 8 to 30 characters.</p> <p> <b>PostgreSQL</b> </p> <p>Constraints: 1045 * Must contain from 8 to 128 characters.</p> 1046 */ MasterUserPasswordHasBeenSet()1047 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } 1048 1049 /** 1050 * <p>The password for the master user. The password can include any printable 1051 * ASCII character except "/", """, or "@".</p> <p> <b>Amazon Aurora</b> </p> 1052 * <p>Not applicable. The password for the master user is managed by the DB 1053 * cluster.</p> <p> <b>MariaDB</b> </p> <p>Constraints: Must contain from 8 to 41 1054 * characters.</p> <p> <b>Microsoft SQL Server</b> </p> <p>Constraints: Must 1055 * contain from 8 to 128 characters.</p> <p> <b>MySQL</b> </p> <p>Constraints: Must 1056 * contain from 8 to 41 characters.</p> <p> <b>Oracle</b> </p> <p>Constraints: Must 1057 * contain from 8 to 30 characters.</p> <p> <b>PostgreSQL</b> </p> <p>Constraints: 1058 * Must contain from 8 to 128 characters.</p> 1059 */ SetMasterUserPassword(const Aws::String & value)1060 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } 1061 1062 /** 1063 * <p>The password for the master user. The password can include any printable 1064 * ASCII character except "/", """, or "@".</p> <p> <b>Amazon Aurora</b> </p> 1065 * <p>Not applicable. The password for the master user is managed by the DB 1066 * cluster.</p> <p> <b>MariaDB</b> </p> <p>Constraints: Must contain from 8 to 41 1067 * characters.</p> <p> <b>Microsoft SQL Server</b> </p> <p>Constraints: Must 1068 * contain from 8 to 128 characters.</p> <p> <b>MySQL</b> </p> <p>Constraints: Must 1069 * contain from 8 to 41 characters.</p> <p> <b>Oracle</b> </p> <p>Constraints: Must 1070 * contain from 8 to 30 characters.</p> <p> <b>PostgreSQL</b> </p> <p>Constraints: 1071 * Must contain from 8 to 128 characters.</p> 1072 */ SetMasterUserPassword(Aws::String && value)1073 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } 1074 1075 /** 1076 * <p>The password for the master user. The password can include any printable 1077 * ASCII character except "/", """, or "@".</p> <p> <b>Amazon Aurora</b> </p> 1078 * <p>Not applicable. The password for the master user is managed by the DB 1079 * cluster.</p> <p> <b>MariaDB</b> </p> <p>Constraints: Must contain from 8 to 41 1080 * characters.</p> <p> <b>Microsoft SQL Server</b> </p> <p>Constraints: Must 1081 * contain from 8 to 128 characters.</p> <p> <b>MySQL</b> </p> <p>Constraints: Must 1082 * contain from 8 to 41 characters.</p> <p> <b>Oracle</b> </p> <p>Constraints: Must 1083 * contain from 8 to 30 characters.</p> <p> <b>PostgreSQL</b> </p> <p>Constraints: 1084 * Must contain from 8 to 128 characters.</p> 1085 */ SetMasterUserPassword(const char * value)1086 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } 1087 1088 /** 1089 * <p>The password for the master user. The password can include any printable 1090 * ASCII character except "/", """, or "@".</p> <p> <b>Amazon Aurora</b> </p> 1091 * <p>Not applicable. The password for the master user is managed by the DB 1092 * cluster.</p> <p> <b>MariaDB</b> </p> <p>Constraints: Must contain from 8 to 41 1093 * characters.</p> <p> <b>Microsoft SQL Server</b> </p> <p>Constraints: Must 1094 * contain from 8 to 128 characters.</p> <p> <b>MySQL</b> </p> <p>Constraints: Must 1095 * contain from 8 to 41 characters.</p> <p> <b>Oracle</b> </p> <p>Constraints: Must 1096 * contain from 8 to 30 characters.</p> <p> <b>PostgreSQL</b> </p> <p>Constraints: 1097 * Must contain from 8 to 128 characters.</p> 1098 */ WithMasterUserPassword(const Aws::String & value)1099 inline CreateDBInstanceRequest& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} 1100 1101 /** 1102 * <p>The password for the master user. The password can include any printable 1103 * ASCII character except "/", """, or "@".</p> <p> <b>Amazon Aurora</b> </p> 1104 * <p>Not applicable. The password for the master user is managed by the DB 1105 * cluster.</p> <p> <b>MariaDB</b> </p> <p>Constraints: Must contain from 8 to 41 1106 * characters.</p> <p> <b>Microsoft SQL Server</b> </p> <p>Constraints: Must 1107 * contain from 8 to 128 characters.</p> <p> <b>MySQL</b> </p> <p>Constraints: Must 1108 * contain from 8 to 41 characters.</p> <p> <b>Oracle</b> </p> <p>Constraints: Must 1109 * contain from 8 to 30 characters.</p> <p> <b>PostgreSQL</b> </p> <p>Constraints: 1110 * Must contain from 8 to 128 characters.</p> 1111 */ WithMasterUserPassword(Aws::String && value)1112 inline CreateDBInstanceRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} 1113 1114 /** 1115 * <p>The password for the master user. The password can include any printable 1116 * ASCII character except "/", """, or "@".</p> <p> <b>Amazon Aurora</b> </p> 1117 * <p>Not applicable. The password for the master user is managed by the DB 1118 * cluster.</p> <p> <b>MariaDB</b> </p> <p>Constraints: Must contain from 8 to 41 1119 * characters.</p> <p> <b>Microsoft SQL Server</b> </p> <p>Constraints: Must 1120 * contain from 8 to 128 characters.</p> <p> <b>MySQL</b> </p> <p>Constraints: Must 1121 * contain from 8 to 41 characters.</p> <p> <b>Oracle</b> </p> <p>Constraints: Must 1122 * contain from 8 to 30 characters.</p> <p> <b>PostgreSQL</b> </p> <p>Constraints: 1123 * Must contain from 8 to 128 characters.</p> 1124 */ WithMasterUserPassword(const char * value)1125 inline CreateDBInstanceRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} 1126 1127 1128 /** 1129 * <p>A list of DB security groups to associate with this DB instance.</p> 1130 * <p>Default: The default DB security group for the database engine.</p> 1131 */ GetDBSecurityGroups()1132 inline const Aws::Vector<Aws::String>& GetDBSecurityGroups() const{ return m_dBSecurityGroups; } 1133 1134 /** 1135 * <p>A list of DB security groups to associate with this DB instance.</p> 1136 * <p>Default: The default DB security group for the database engine.</p> 1137 */ DBSecurityGroupsHasBeenSet()1138 inline bool DBSecurityGroupsHasBeenSet() const { return m_dBSecurityGroupsHasBeenSet; } 1139 1140 /** 1141 * <p>A list of DB security groups to associate with this DB instance.</p> 1142 * <p>Default: The default DB security group for the database engine.</p> 1143 */ SetDBSecurityGroups(const Aws::Vector<Aws::String> & value)1144 inline void SetDBSecurityGroups(const Aws::Vector<Aws::String>& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups = value; } 1145 1146 /** 1147 * <p>A list of DB security groups to associate with this DB instance.</p> 1148 * <p>Default: The default DB security group for the database engine.</p> 1149 */ SetDBSecurityGroups(Aws::Vector<Aws::String> && value)1150 inline void SetDBSecurityGroups(Aws::Vector<Aws::String>&& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups = std::move(value); } 1151 1152 /** 1153 * <p>A list of DB security groups to associate with this DB instance.</p> 1154 * <p>Default: The default DB security group for the database engine.</p> 1155 */ WithDBSecurityGroups(const Aws::Vector<Aws::String> & value)1156 inline CreateDBInstanceRequest& WithDBSecurityGroups(const Aws::Vector<Aws::String>& value) { SetDBSecurityGroups(value); return *this;} 1157 1158 /** 1159 * <p>A list of DB security groups to associate with this DB instance.</p> 1160 * <p>Default: The default DB security group for the database engine.</p> 1161 */ WithDBSecurityGroups(Aws::Vector<Aws::String> && value)1162 inline CreateDBInstanceRequest& WithDBSecurityGroups(Aws::Vector<Aws::String>&& value) { SetDBSecurityGroups(std::move(value)); return *this;} 1163 1164 /** 1165 * <p>A list of DB security groups to associate with this DB instance.</p> 1166 * <p>Default: The default DB security group for the database engine.</p> 1167 */ AddDBSecurityGroups(const Aws::String & value)1168 inline CreateDBInstanceRequest& AddDBSecurityGroups(const Aws::String& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(value); return *this; } 1169 1170 /** 1171 * <p>A list of DB security groups to associate with this DB instance.</p> 1172 * <p>Default: The default DB security group for the database engine.</p> 1173 */ AddDBSecurityGroups(Aws::String && value)1174 inline CreateDBInstanceRequest& AddDBSecurityGroups(Aws::String&& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(std::move(value)); return *this; } 1175 1176 /** 1177 * <p>A list of DB security groups to associate with this DB instance.</p> 1178 * <p>Default: The default DB security group for the database engine.</p> 1179 */ AddDBSecurityGroups(const char * value)1180 inline CreateDBInstanceRequest& AddDBSecurityGroups(const char* value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(value); return *this; } 1181 1182 1183 /** 1184 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1185 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1186 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1187 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1188 */ GetVpcSecurityGroupIds()1189 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } 1190 1191 /** 1192 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1193 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1194 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1195 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1196 */ VpcSecurityGroupIdsHasBeenSet()1197 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } 1198 1199 /** 1200 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1201 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1202 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1203 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1204 */ SetVpcSecurityGroupIds(const Aws::Vector<Aws::String> & value)1205 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } 1206 1207 /** 1208 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1209 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1210 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1211 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1212 */ SetVpcSecurityGroupIds(Aws::Vector<Aws::String> && value)1213 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } 1214 1215 /** 1216 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1217 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1218 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1219 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1220 */ WithVpcSecurityGroupIds(const Aws::Vector<Aws::String> & value)1221 inline CreateDBInstanceRequest& WithVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetVpcSecurityGroupIds(value); return *this;} 1222 1223 /** 1224 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1225 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1226 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1227 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1228 */ WithVpcSecurityGroupIds(Aws::Vector<Aws::String> && value)1229 inline CreateDBInstanceRequest& WithVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} 1230 1231 /** 1232 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1233 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1234 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1235 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1236 */ AddVpcSecurityGroupIds(const Aws::String & value)1237 inline CreateDBInstanceRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } 1238 1239 /** 1240 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1241 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1242 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1243 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1244 */ AddVpcSecurityGroupIds(Aws::String && value)1245 inline CreateDBInstanceRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } 1246 1247 /** 1248 * <p>A list of Amazon EC2 VPC security groups to associate with this DB 1249 * instance.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The associated 1250 * list of EC2 VPC security groups is managed by the DB cluster.</p> <p>Default: 1251 * The default EC2 VPC security group for the DB subnet group's VPC.</p> 1252 */ AddVpcSecurityGroupIds(const char * value)1253 inline CreateDBInstanceRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } 1254 1255 1256 /** 1257 * <p> The Availability Zone (AZ) where the database will be created. For 1258 * information on Amazon Web Services Regions and Availability Zones, see <a 1259 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions 1260 * and Availability Zones</a>. </p> <p>Default: A random, system-chosen 1261 * Availability Zone in the endpoint's Amazon Web Services Region.</p> <p> Example: 1262 * <code>us-east-1d</code> </p> <p> Constraint: The <code>AvailabilityZone</code> 1263 * parameter can't be specified if the DB instance is a Multi-AZ deployment. The 1264 * specified Availability Zone must be in the same Amazon Web Services Region as 1265 * the current endpoint. </p> <p>If you're creating a DB instance in an RDS 1266 * on VMware environment, specify the identifier of the custom Availability Zone to 1267 * create the DB instance in.</p> <p>For more information about RDS on VMware, see 1268 * the <a 1269 * href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html"> 1270 * RDS on VMware User Guide.</a> </p> 1271 */ GetAvailabilityZone()1272 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } 1273 1274 /** 1275 * <p> The Availability Zone (AZ) where the database will be created. For 1276 * information on Amazon Web Services Regions and Availability Zones, see <a 1277 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions 1278 * and Availability Zones</a>. </p> <p>Default: A random, system-chosen 1279 * Availability Zone in the endpoint's Amazon Web Services Region.</p> <p> Example: 1280 * <code>us-east-1d</code> </p> <p> Constraint: The <code>AvailabilityZone</code> 1281 * parameter can't be specified if the DB instance is a Multi-AZ deployment. The 1282 * specified Availability Zone must be in the same Amazon Web Services Region as 1283 * the current endpoint. </p> <p>If you're creating a DB instance in an RDS 1284 * on VMware environment, specify the identifier of the custom Availability Zone to 1285 * create the DB instance in.</p> <p>For more information about RDS on VMware, see 1286 * the <a 1287 * href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html"> 1288 * RDS on VMware User Guide.</a> </p> 1289 */ AvailabilityZoneHasBeenSet()1290 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } 1291 1292 /** 1293 * <p> The Availability Zone (AZ) where the database will be created. For 1294 * information on Amazon Web Services Regions and Availability Zones, see <a 1295 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions 1296 * and Availability Zones</a>. </p> <p>Default: A random, system-chosen 1297 * Availability Zone in the endpoint's Amazon Web Services Region.</p> <p> Example: 1298 * <code>us-east-1d</code> </p> <p> Constraint: The <code>AvailabilityZone</code> 1299 * parameter can't be specified if the DB instance is a Multi-AZ deployment. The 1300 * specified Availability Zone must be in the same Amazon Web Services Region as 1301 * the current endpoint. </p> <p>If you're creating a DB instance in an RDS 1302 * on VMware environment, specify the identifier of the custom Availability Zone to 1303 * create the DB instance in.</p> <p>For more information about RDS on VMware, see 1304 * the <a 1305 * href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html"> 1306 * RDS on VMware User Guide.</a> </p> 1307 */ SetAvailabilityZone(const Aws::String & value)1308 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } 1309 1310 /** 1311 * <p> The Availability Zone (AZ) where the database will be created. For 1312 * information on Amazon Web Services Regions and Availability Zones, see <a 1313 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions 1314 * and Availability Zones</a>. </p> <p>Default: A random, system-chosen 1315 * Availability Zone in the endpoint's Amazon Web Services Region.</p> <p> Example: 1316 * <code>us-east-1d</code> </p> <p> Constraint: The <code>AvailabilityZone</code> 1317 * parameter can't be specified if the DB instance is a Multi-AZ deployment. The 1318 * specified Availability Zone must be in the same Amazon Web Services Region as 1319 * the current endpoint. </p> <p>If you're creating a DB instance in an RDS 1320 * on VMware environment, specify the identifier of the custom Availability Zone to 1321 * create the DB instance in.</p> <p>For more information about RDS on VMware, see 1322 * the <a 1323 * href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html"> 1324 * RDS on VMware User Guide.</a> </p> 1325 */ SetAvailabilityZone(Aws::String && value)1326 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } 1327 1328 /** 1329 * <p> The Availability Zone (AZ) where the database will be created. For 1330 * information on Amazon Web Services Regions and Availability Zones, see <a 1331 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions 1332 * and Availability Zones</a>. </p> <p>Default: A random, system-chosen 1333 * Availability Zone in the endpoint's Amazon Web Services Region.</p> <p> Example: 1334 * <code>us-east-1d</code> </p> <p> Constraint: The <code>AvailabilityZone</code> 1335 * parameter can't be specified if the DB instance is a Multi-AZ deployment. The 1336 * specified Availability Zone must be in the same Amazon Web Services Region as 1337 * the current endpoint. </p> <p>If you're creating a DB instance in an RDS 1338 * on VMware environment, specify the identifier of the custom Availability Zone to 1339 * create the DB instance in.</p> <p>For more information about RDS on VMware, see 1340 * the <a 1341 * href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html"> 1342 * RDS on VMware User Guide.</a> </p> 1343 */ SetAvailabilityZone(const char * value)1344 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } 1345 1346 /** 1347 * <p> The Availability Zone (AZ) where the database will be created. For 1348 * information on Amazon Web Services Regions and Availability Zones, see <a 1349 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions 1350 * and Availability Zones</a>. </p> <p>Default: A random, system-chosen 1351 * Availability Zone in the endpoint's Amazon Web Services Region.</p> <p> Example: 1352 * <code>us-east-1d</code> </p> <p> Constraint: The <code>AvailabilityZone</code> 1353 * parameter can't be specified if the DB instance is a Multi-AZ deployment. The 1354 * specified Availability Zone must be in the same Amazon Web Services Region as 1355 * the current endpoint. </p> <p>If you're creating a DB instance in an RDS 1356 * on VMware environment, specify the identifier of the custom Availability Zone to 1357 * create the DB instance in.</p> <p>For more information about RDS on VMware, see 1358 * the <a 1359 * href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html"> 1360 * RDS on VMware User Guide.</a> </p> 1361 */ WithAvailabilityZone(const Aws::String & value)1362 inline CreateDBInstanceRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} 1363 1364 /** 1365 * <p> The Availability Zone (AZ) where the database will be created. For 1366 * information on Amazon Web Services Regions and Availability Zones, see <a 1367 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions 1368 * and Availability Zones</a>. </p> <p>Default: A random, system-chosen 1369 * Availability Zone in the endpoint's Amazon Web Services Region.</p> <p> Example: 1370 * <code>us-east-1d</code> </p> <p> Constraint: The <code>AvailabilityZone</code> 1371 * parameter can't be specified if the DB instance is a Multi-AZ deployment. The 1372 * specified Availability Zone must be in the same Amazon Web Services Region as 1373 * the current endpoint. </p> <p>If you're creating a DB instance in an RDS 1374 * on VMware environment, specify the identifier of the custom Availability Zone to 1375 * create the DB instance in.</p> <p>For more information about RDS on VMware, see 1376 * the <a 1377 * href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html"> 1378 * RDS on VMware User Guide.</a> </p> 1379 */ WithAvailabilityZone(Aws::String && value)1380 inline CreateDBInstanceRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} 1381 1382 /** 1383 * <p> The Availability Zone (AZ) where the database will be created. For 1384 * information on Amazon Web Services Regions and Availability Zones, see <a 1385 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions 1386 * and Availability Zones</a>. </p> <p>Default: A random, system-chosen 1387 * Availability Zone in the endpoint's Amazon Web Services Region.</p> <p> Example: 1388 * <code>us-east-1d</code> </p> <p> Constraint: The <code>AvailabilityZone</code> 1389 * parameter can't be specified if the DB instance is a Multi-AZ deployment. The 1390 * specified Availability Zone must be in the same Amazon Web Services Region as 1391 * the current endpoint. </p> <p>If you're creating a DB instance in an RDS 1392 * on VMware environment, specify the identifier of the custom Availability Zone to 1393 * create the DB instance in.</p> <p>For more information about RDS on VMware, see 1394 * the <a 1395 * href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html"> 1396 * RDS on VMware User Guide.</a> </p> 1397 */ WithAvailabilityZone(const char * value)1398 inline CreateDBInstanceRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} 1399 1400 1401 /** 1402 * <p>A DB subnet group to associate with this DB instance.</p> <p>If there is no 1403 * DB subnet group, then it is a non-VPC DB instance.</p> 1404 */ GetDBSubnetGroupName()1405 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; } 1406 1407 /** 1408 * <p>A DB subnet group to associate with this DB instance.</p> <p>If there is no 1409 * DB subnet group, then it is a non-VPC DB instance.</p> 1410 */ DBSubnetGroupNameHasBeenSet()1411 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; } 1412 1413 /** 1414 * <p>A DB subnet group to associate with this DB instance.</p> <p>If there is no 1415 * DB subnet group, then it is a non-VPC DB instance.</p> 1416 */ SetDBSubnetGroupName(const Aws::String & value)1417 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; } 1418 1419 /** 1420 * <p>A DB subnet group to associate with this DB instance.</p> <p>If there is no 1421 * DB subnet group, then it is a non-VPC DB instance.</p> 1422 */ SetDBSubnetGroupName(Aws::String && value)1423 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); } 1424 1425 /** 1426 * <p>A DB subnet group to associate with this DB instance.</p> <p>If there is no 1427 * DB subnet group, then it is a non-VPC DB instance.</p> 1428 */ SetDBSubnetGroupName(const char * value)1429 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); } 1430 1431 /** 1432 * <p>A DB subnet group to associate with this DB instance.</p> <p>If there is no 1433 * DB subnet group, then it is a non-VPC DB instance.</p> 1434 */ WithDBSubnetGroupName(const Aws::String & value)1435 inline CreateDBInstanceRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;} 1436 1437 /** 1438 * <p>A DB subnet group to associate with this DB instance.</p> <p>If there is no 1439 * DB subnet group, then it is a non-VPC DB instance.</p> 1440 */ WithDBSubnetGroupName(Aws::String && value)1441 inline CreateDBInstanceRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;} 1442 1443 /** 1444 * <p>A DB subnet group to associate with this DB instance.</p> <p>If there is no 1445 * DB subnet group, then it is a non-VPC DB instance.</p> 1446 */ WithDBSubnetGroupName(const char * value)1447 inline CreateDBInstanceRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;} 1448 1449 1450 /** 1451 * <p>The time range each week during which system maintenance can occur, in 1452 * Universal Coordinated Time (UTC). For more information, see <a 1453 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon 1454 * RDS Maintenance Window</a>. </p> <p> Format: 1455 * <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>The default is a 30-minute window 1456 * selected at random from an 8-hour block of time for each Amazon Web Services 1457 * Region, occurring on a random day of the week. </p> <p>Valid Days: Mon, Tue, 1458 * Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1459 */ GetPreferredMaintenanceWindow()1460 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } 1461 1462 /** 1463 * <p>The time range each week during which system maintenance can occur, in 1464 * Universal Coordinated Time (UTC). For more information, see <a 1465 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon 1466 * RDS Maintenance Window</a>. </p> <p> Format: 1467 * <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>The default is a 30-minute window 1468 * selected at random from an 8-hour block of time for each Amazon Web Services 1469 * Region, occurring on a random day of the week. </p> <p>Valid Days: Mon, Tue, 1470 * Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1471 */ PreferredMaintenanceWindowHasBeenSet()1472 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } 1473 1474 /** 1475 * <p>The time range each week during which system maintenance can occur, in 1476 * Universal Coordinated Time (UTC). For more information, see <a 1477 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon 1478 * RDS Maintenance Window</a>. </p> <p> Format: 1479 * <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>The default is a 30-minute window 1480 * selected at random from an 8-hour block of time for each Amazon Web Services 1481 * Region, occurring on a random day of the week. </p> <p>Valid Days: Mon, Tue, 1482 * Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1483 */ SetPreferredMaintenanceWindow(const Aws::String & value)1484 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } 1485 1486 /** 1487 * <p>The time range each week during which system maintenance can occur, in 1488 * Universal Coordinated Time (UTC). For more information, see <a 1489 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon 1490 * RDS Maintenance Window</a>. </p> <p> Format: 1491 * <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>The default is a 30-minute window 1492 * selected at random from an 8-hour block of time for each Amazon Web Services 1493 * Region, occurring on a random day of the week. </p> <p>Valid Days: Mon, Tue, 1494 * Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1495 */ SetPreferredMaintenanceWindow(Aws::String && value)1496 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } 1497 1498 /** 1499 * <p>The time range each week during which system maintenance can occur, in 1500 * Universal Coordinated Time (UTC). For more information, see <a 1501 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon 1502 * RDS Maintenance Window</a>. </p> <p> Format: 1503 * <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>The default is a 30-minute window 1504 * selected at random from an 8-hour block of time for each Amazon Web Services 1505 * Region, occurring on a random day of the week. </p> <p>Valid Days: Mon, Tue, 1506 * Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1507 */ SetPreferredMaintenanceWindow(const char * value)1508 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } 1509 1510 /** 1511 * <p>The time range each week during which system maintenance can occur, in 1512 * Universal Coordinated Time (UTC). For more information, see <a 1513 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon 1514 * RDS Maintenance Window</a>. </p> <p> Format: 1515 * <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>The default is a 30-minute window 1516 * selected at random from an 8-hour block of time for each Amazon Web Services 1517 * Region, occurring on a random day of the week. </p> <p>Valid Days: Mon, Tue, 1518 * Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1519 */ WithPreferredMaintenanceWindow(const Aws::String & value)1520 inline CreateDBInstanceRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} 1521 1522 /** 1523 * <p>The time range each week during which system maintenance can occur, in 1524 * Universal Coordinated Time (UTC). For more information, see <a 1525 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon 1526 * RDS Maintenance Window</a>. </p> <p> Format: 1527 * <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>The default is a 30-minute window 1528 * selected at random from an 8-hour block of time for each Amazon Web Services 1529 * Region, occurring on a random day of the week. </p> <p>Valid Days: Mon, Tue, 1530 * Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1531 */ WithPreferredMaintenanceWindow(Aws::String && value)1532 inline CreateDBInstanceRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} 1533 1534 /** 1535 * <p>The time range each week during which system maintenance can occur, in 1536 * Universal Coordinated Time (UTC). For more information, see <a 1537 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon 1538 * RDS Maintenance Window</a>. </p> <p> Format: 1539 * <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>The default is a 30-minute window 1540 * selected at random from an 8-hour block of time for each Amazon Web Services 1541 * Region, occurring on a random day of the week. </p> <p>Valid Days: Mon, Tue, 1542 * Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p> 1543 */ WithPreferredMaintenanceWindow(const char * value)1544 inline CreateDBInstanceRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} 1545 1546 1547 /** 1548 * <p>The name of the DB parameter group to associate with this DB instance. If you 1549 * do not specify a value, then the default DB parameter group for the specified DB 1550 * engine and version is used.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 1551 * 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a 1552 * letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 1553 * hyphens</p> </li> </ul> 1554 */ GetDBParameterGroupName()1555 inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; } 1556 1557 /** 1558 * <p>The name of the DB parameter group to associate with this DB instance. If you 1559 * do not specify a value, then the default DB parameter group for the specified DB 1560 * engine and version is used.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 1561 * 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a 1562 * letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 1563 * hyphens</p> </li> </ul> 1564 */ DBParameterGroupNameHasBeenSet()1565 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; } 1566 1567 /** 1568 * <p>The name of the DB parameter group to associate with this DB instance. If you 1569 * do not specify a value, then the default DB parameter group for the specified DB 1570 * engine and version is used.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 1571 * 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a 1572 * letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 1573 * hyphens</p> </li> </ul> 1574 */ SetDBParameterGroupName(const Aws::String & value)1575 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; } 1576 1577 /** 1578 * <p>The name of the DB parameter group to associate with this DB instance. If you 1579 * do not specify a value, then the default DB parameter group for the specified DB 1580 * engine and version is used.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 1581 * 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a 1582 * letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 1583 * hyphens</p> </li> </ul> 1584 */ SetDBParameterGroupName(Aws::String && value)1585 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); } 1586 1587 /** 1588 * <p>The name of the DB parameter group to associate with this DB instance. If you 1589 * do not specify a value, then the default DB parameter group for the specified DB 1590 * engine and version is used.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 1591 * 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a 1592 * letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 1593 * hyphens</p> </li> </ul> 1594 */ SetDBParameterGroupName(const char * value)1595 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); } 1596 1597 /** 1598 * <p>The name of the DB parameter group to associate with this DB instance. If you 1599 * do not specify a value, then the default DB parameter group for the specified DB 1600 * engine and version is used.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 1601 * 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a 1602 * letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 1603 * hyphens</p> </li> </ul> 1604 */ WithDBParameterGroupName(const Aws::String & value)1605 inline CreateDBInstanceRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;} 1606 1607 /** 1608 * <p>The name of the DB parameter group to associate with this DB instance. If you 1609 * do not specify a value, then the default DB parameter group for the specified DB 1610 * engine and version is used.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 1611 * 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a 1612 * letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 1613 * hyphens</p> </li> </ul> 1614 */ WithDBParameterGroupName(Aws::String && value)1615 inline CreateDBInstanceRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;} 1616 1617 /** 1618 * <p>The name of the DB parameter group to associate with this DB instance. If you 1619 * do not specify a value, then the default DB parameter group for the specified DB 1620 * engine and version is used.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 1621 * 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a 1622 * letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 1623 * hyphens</p> </li> </ul> 1624 */ WithDBParameterGroupName(const char * value)1625 inline CreateDBInstanceRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;} 1626 1627 1628 /** 1629 * <p>The number of days for which automated backups are retained. Setting this 1630 * parameter to a positive number enables backups. Setting this parameter to 0 1631 * disables automated backups.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. 1632 * The retention period for automated backups is managed by the DB cluster.</p> 1633 * <p>Default: 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 0 to 1634 * 35</p> </li> <li> <p>Can't be set to 0 if the DB instance is a source to read 1635 * replicas</p> </li> </ul> 1636 */ GetBackupRetentionPeriod()1637 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } 1638 1639 /** 1640 * <p>The number of days for which automated backups are retained. Setting this 1641 * parameter to a positive number enables backups. Setting this parameter to 0 1642 * disables automated backups.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. 1643 * The retention period for automated backups is managed by the DB cluster.</p> 1644 * <p>Default: 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 0 to 1645 * 35</p> </li> <li> <p>Can't be set to 0 if the DB instance is a source to read 1646 * replicas</p> </li> </ul> 1647 */ BackupRetentionPeriodHasBeenSet()1648 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } 1649 1650 /** 1651 * <p>The number of days for which automated backups are retained. Setting this 1652 * parameter to a positive number enables backups. Setting this parameter to 0 1653 * disables automated backups.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. 1654 * The retention period for automated backups is managed by the DB cluster.</p> 1655 * <p>Default: 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 0 to 1656 * 35</p> </li> <li> <p>Can't be set to 0 if the DB instance is a source to read 1657 * replicas</p> </li> </ul> 1658 */ SetBackupRetentionPeriod(int value)1659 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } 1660 1661 /** 1662 * <p>The number of days for which automated backups are retained. Setting this 1663 * parameter to a positive number enables backups. Setting this parameter to 0 1664 * disables automated backups.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. 1665 * The retention period for automated backups is managed by the DB cluster.</p> 1666 * <p>Default: 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 0 to 1667 * 35</p> </li> <li> <p>Can't be set to 0 if the DB instance is a source to read 1668 * replicas</p> </li> </ul> 1669 */ WithBackupRetentionPeriod(int value)1670 inline CreateDBInstanceRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} 1671 1672 1673 /** 1674 * <p> The daily time range during which automated backups are created if automated 1675 * backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The 1676 * default is a 30-minute window selected at random from an 8-hour block of time 1677 * for each Amazon Web Services Region. For more information, see <a 1678 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup 1679 * window</a> in the <i>Amazon RDS User Guide</i>. </p> <p> <b>Amazon Aurora</b> 1680 * </p> <p>Not applicable. The daily time range for creating automated backups is 1681 * managed by the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the 1682 * format <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal 1683 * Coordinated Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred 1684 * maintenance window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> 1685 * </ul> 1686 */ GetPreferredBackupWindow()1687 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } 1688 1689 /** 1690 * <p> The daily time range during which automated backups are created if automated 1691 * backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The 1692 * default is a 30-minute window selected at random from an 8-hour block of time 1693 * for each Amazon Web Services Region. For more information, see <a 1694 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup 1695 * window</a> in the <i>Amazon RDS User Guide</i>. </p> <p> <b>Amazon Aurora</b> 1696 * </p> <p>Not applicable. The daily time range for creating automated backups is 1697 * managed by the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the 1698 * format <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal 1699 * Coordinated Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred 1700 * maintenance window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> 1701 * </ul> 1702 */ PreferredBackupWindowHasBeenSet()1703 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } 1704 1705 /** 1706 * <p> The daily time range during which automated backups are created if automated 1707 * backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The 1708 * default is a 30-minute window selected at random from an 8-hour block of time 1709 * for each Amazon Web Services Region. For more information, see <a 1710 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup 1711 * window</a> in the <i>Amazon RDS User Guide</i>. </p> <p> <b>Amazon Aurora</b> 1712 * </p> <p>Not applicable. The daily time range for creating automated backups is 1713 * managed by the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the 1714 * format <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal 1715 * Coordinated Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred 1716 * maintenance window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> 1717 * </ul> 1718 */ SetPreferredBackupWindow(const Aws::String & value)1719 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } 1720 1721 /** 1722 * <p> The daily time range during which automated backups are created if automated 1723 * backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The 1724 * default is a 30-minute window selected at random from an 8-hour block of time 1725 * for each Amazon Web Services Region. For more information, see <a 1726 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup 1727 * window</a> in the <i>Amazon RDS User Guide</i>. </p> <p> <b>Amazon Aurora</b> 1728 * </p> <p>Not applicable. The daily time range for creating automated backups is 1729 * managed by the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the 1730 * format <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal 1731 * Coordinated Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred 1732 * maintenance window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> 1733 * </ul> 1734 */ SetPreferredBackupWindow(Aws::String && value)1735 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } 1736 1737 /** 1738 * <p> The daily time range during which automated backups are created if automated 1739 * backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The 1740 * default is a 30-minute window selected at random from an 8-hour block of time 1741 * for each Amazon Web Services Region. For more information, see <a 1742 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup 1743 * window</a> in the <i>Amazon RDS User Guide</i>. </p> <p> <b>Amazon Aurora</b> 1744 * </p> <p>Not applicable. The daily time range for creating automated backups is 1745 * managed by the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the 1746 * format <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal 1747 * Coordinated Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred 1748 * maintenance window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> 1749 * </ul> 1750 */ SetPreferredBackupWindow(const char * value)1751 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } 1752 1753 /** 1754 * <p> The daily time range during which automated backups are created if automated 1755 * backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The 1756 * default is a 30-minute window selected at random from an 8-hour block of time 1757 * for each Amazon Web Services Region. For more information, see <a 1758 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup 1759 * window</a> in the <i>Amazon RDS User Guide</i>. </p> <p> <b>Amazon Aurora</b> 1760 * </p> <p>Not applicable. The daily time range for creating automated backups is 1761 * managed by the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the 1762 * format <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal 1763 * Coordinated Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred 1764 * maintenance window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> 1765 * </ul> 1766 */ WithPreferredBackupWindow(const Aws::String & value)1767 inline CreateDBInstanceRequest& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} 1768 1769 /** 1770 * <p> The daily time range during which automated backups are created if automated 1771 * backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The 1772 * default is a 30-minute window selected at random from an 8-hour block of time 1773 * for each Amazon Web Services Region. For more information, see <a 1774 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup 1775 * window</a> in the <i>Amazon RDS User Guide</i>. </p> <p> <b>Amazon Aurora</b> 1776 * </p> <p>Not applicable. The daily time range for creating automated backups is 1777 * managed by the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the 1778 * format <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal 1779 * Coordinated Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred 1780 * maintenance window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> 1781 * </ul> 1782 */ WithPreferredBackupWindow(Aws::String && value)1783 inline CreateDBInstanceRequest& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} 1784 1785 /** 1786 * <p> The daily time range during which automated backups are created if automated 1787 * backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The 1788 * default is a 30-minute window selected at random from an 8-hour block of time 1789 * for each Amazon Web Services Region. For more information, see <a 1790 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup 1791 * window</a> in the <i>Amazon RDS User Guide</i>. </p> <p> <b>Amazon Aurora</b> 1792 * </p> <p>Not applicable. The daily time range for creating automated backups is 1793 * managed by the DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the 1794 * format <code>hh24:mi-hh24:mi</code>.</p> </li> <li> <p>Must be in Universal 1795 * Coordinated Time (UTC).</p> </li> <li> <p>Must not conflict with the preferred 1796 * maintenance window.</p> </li> <li> <p>Must be at least 30 minutes.</p> </li> 1797 * </ul> 1798 */ WithPreferredBackupWindow(const char * value)1799 inline CreateDBInstanceRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} 1800 1801 1802 /** 1803 * <p>The port number on which the database accepts connections.</p> <p> 1804 * <b>MySQL</b> </p> <p> Default: <code>3306</code> </p> <p> Valid values: 1805 * <code>1150-65535</code> </p> <p>Type: Integer</p> <p> <b>MariaDB</b> </p> <p> 1806 * Default: <code>3306</code> </p> <p> Valid values: <code>1150-65535</code> </p> 1807 * <p>Type: Integer</p> <p> <b>PostgreSQL</b> </p> <p> Default: <code>5432</code> 1808 * </p> <p> Valid values: <code>1150-65535</code> </p> <p>Type: Integer</p> <p> 1809 * <b>Oracle</b> </p> <p> Default: <code>1521</code> </p> <p> Valid values: 1810 * <code>1150-65535</code> </p> <p> <b>SQL Server</b> </p> <p> Default: 1811 * <code>1433</code> </p> <p> Valid values: <code>1150-65535</code> except 1812 * <code>1234</code>, <code>1434</code>, <code>3260</code>, <code>3343</code>, 1813 * <code>3389</code>, <code>47001</code>, and <code>49152-49156</code>.</p> <p> 1814 * <b>Amazon Aurora</b> </p> <p> Default: <code>3306</code> </p> <p> Valid values: 1815 * <code>1150-65535</code> </p> <p>Type: Integer</p> 1816 */ GetPort()1817 inline int GetPort() const{ return m_port; } 1818 1819 /** 1820 * <p>The port number on which the database accepts connections.</p> <p> 1821 * <b>MySQL</b> </p> <p> Default: <code>3306</code> </p> <p> Valid values: 1822 * <code>1150-65535</code> </p> <p>Type: Integer</p> <p> <b>MariaDB</b> </p> <p> 1823 * Default: <code>3306</code> </p> <p> Valid values: <code>1150-65535</code> </p> 1824 * <p>Type: Integer</p> <p> <b>PostgreSQL</b> </p> <p> Default: <code>5432</code> 1825 * </p> <p> Valid values: <code>1150-65535</code> </p> <p>Type: Integer</p> <p> 1826 * <b>Oracle</b> </p> <p> Default: <code>1521</code> </p> <p> Valid values: 1827 * <code>1150-65535</code> </p> <p> <b>SQL Server</b> </p> <p> Default: 1828 * <code>1433</code> </p> <p> Valid values: <code>1150-65535</code> except 1829 * <code>1234</code>, <code>1434</code>, <code>3260</code>, <code>3343</code>, 1830 * <code>3389</code>, <code>47001</code>, and <code>49152-49156</code>.</p> <p> 1831 * <b>Amazon Aurora</b> </p> <p> Default: <code>3306</code> </p> <p> Valid values: 1832 * <code>1150-65535</code> </p> <p>Type: Integer</p> 1833 */ PortHasBeenSet()1834 inline bool PortHasBeenSet() const { return m_portHasBeenSet; } 1835 1836 /** 1837 * <p>The port number on which the database accepts connections.</p> <p> 1838 * <b>MySQL</b> </p> <p> Default: <code>3306</code> </p> <p> Valid values: 1839 * <code>1150-65535</code> </p> <p>Type: Integer</p> <p> <b>MariaDB</b> </p> <p> 1840 * Default: <code>3306</code> </p> <p> Valid values: <code>1150-65535</code> </p> 1841 * <p>Type: Integer</p> <p> <b>PostgreSQL</b> </p> <p> Default: <code>5432</code> 1842 * </p> <p> Valid values: <code>1150-65535</code> </p> <p>Type: Integer</p> <p> 1843 * <b>Oracle</b> </p> <p> Default: <code>1521</code> </p> <p> Valid values: 1844 * <code>1150-65535</code> </p> <p> <b>SQL Server</b> </p> <p> Default: 1845 * <code>1433</code> </p> <p> Valid values: <code>1150-65535</code> except 1846 * <code>1234</code>, <code>1434</code>, <code>3260</code>, <code>3343</code>, 1847 * <code>3389</code>, <code>47001</code>, and <code>49152-49156</code>.</p> <p> 1848 * <b>Amazon Aurora</b> </p> <p> Default: <code>3306</code> </p> <p> Valid values: 1849 * <code>1150-65535</code> </p> <p>Type: Integer</p> 1850 */ SetPort(int value)1851 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } 1852 1853 /** 1854 * <p>The port number on which the database accepts connections.</p> <p> 1855 * <b>MySQL</b> </p> <p> Default: <code>3306</code> </p> <p> Valid values: 1856 * <code>1150-65535</code> </p> <p>Type: Integer</p> <p> <b>MariaDB</b> </p> <p> 1857 * Default: <code>3306</code> </p> <p> Valid values: <code>1150-65535</code> </p> 1858 * <p>Type: Integer</p> <p> <b>PostgreSQL</b> </p> <p> Default: <code>5432</code> 1859 * </p> <p> Valid values: <code>1150-65535</code> </p> <p>Type: Integer</p> <p> 1860 * <b>Oracle</b> </p> <p> Default: <code>1521</code> </p> <p> Valid values: 1861 * <code>1150-65535</code> </p> <p> <b>SQL Server</b> </p> <p> Default: 1862 * <code>1433</code> </p> <p> Valid values: <code>1150-65535</code> except 1863 * <code>1234</code>, <code>1434</code>, <code>3260</code>, <code>3343</code>, 1864 * <code>3389</code>, <code>47001</code>, and <code>49152-49156</code>.</p> <p> 1865 * <b>Amazon Aurora</b> </p> <p> Default: <code>3306</code> </p> <p> Valid values: 1866 * <code>1150-65535</code> </p> <p>Type: Integer</p> 1867 */ WithPort(int value)1868 inline CreateDBInstanceRequest& WithPort(int value) { SetPort(value); return *this;} 1869 1870 1871 /** 1872 * <p>A value that indicates whether the DB instance is a Multi-AZ deployment. You 1873 * can't set the <code>AvailabilityZone</code> parameter if the DB instance is a 1874 * Multi-AZ deployment.</p> 1875 */ GetMultiAZ()1876 inline bool GetMultiAZ() const{ return m_multiAZ; } 1877 1878 /** 1879 * <p>A value that indicates whether the DB instance is a Multi-AZ deployment. You 1880 * can't set the <code>AvailabilityZone</code> parameter if the DB instance is a 1881 * Multi-AZ deployment.</p> 1882 */ MultiAZHasBeenSet()1883 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; } 1884 1885 /** 1886 * <p>A value that indicates whether the DB instance is a Multi-AZ deployment. You 1887 * can't set the <code>AvailabilityZone</code> parameter if the DB instance is a 1888 * Multi-AZ deployment.</p> 1889 */ SetMultiAZ(bool value)1890 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; } 1891 1892 /** 1893 * <p>A value that indicates whether the DB instance is a Multi-AZ deployment. You 1894 * can't set the <code>AvailabilityZone</code> parameter if the DB instance is a 1895 * Multi-AZ deployment.</p> 1896 */ WithMultiAZ(bool value)1897 inline CreateDBInstanceRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;} 1898 1899 1900 /** 1901 * <p>The version number of the database engine to use.</p> <p>For a list of valid 1902 * engine versions, use the <code>DescribeDBEngineVersions</code> action.</p> 1903 * <p>The following are the database engines and links to information about the 1904 * major and minor versions that are available with Amazon RDS. Not every database 1905 * engine is available for every Amazon Web Services Region.</p> <p> <b>Amazon 1906 * Aurora</b> </p> <p>Not applicable. The version number of the database engine to 1907 * be used by the DB instance is managed by the DB cluster.</p> <p> <b>MariaDB</b> 1908 * </p> <p>See <a 1909 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB 1910 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1911 * <b>Microsoft SQL Server</b> </p> <p>See <a 1912 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft 1913 * SQL Server Versions on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> </p> 1914 * <p> <b>MySQL</b> </p> <p>See <a 1915 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL 1916 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1917 * <b>Oracle</b> </p> <p>See <a 1918 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle 1919 * Database Engine Release Notes</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1920 * <b>PostgreSQL</b> </p> <p>See <a 1921 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon 1922 * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User 1923 * Guide.</i> </p> 1924 */ GetEngineVersion()1925 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } 1926 1927 /** 1928 * <p>The version number of the database engine to use.</p> <p>For a list of valid 1929 * engine versions, use the <code>DescribeDBEngineVersions</code> action.</p> 1930 * <p>The following are the database engines and links to information about the 1931 * major and minor versions that are available with Amazon RDS. Not every database 1932 * engine is available for every Amazon Web Services Region.</p> <p> <b>Amazon 1933 * Aurora</b> </p> <p>Not applicable. The version number of the database engine to 1934 * be used by the DB instance is managed by the DB cluster.</p> <p> <b>MariaDB</b> 1935 * </p> <p>See <a 1936 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB 1937 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1938 * <b>Microsoft SQL Server</b> </p> <p>See <a 1939 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft 1940 * SQL Server Versions on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> </p> 1941 * <p> <b>MySQL</b> </p> <p>See <a 1942 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL 1943 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1944 * <b>Oracle</b> </p> <p>See <a 1945 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle 1946 * Database Engine Release Notes</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1947 * <b>PostgreSQL</b> </p> <p>See <a 1948 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon 1949 * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User 1950 * Guide.</i> </p> 1951 */ EngineVersionHasBeenSet()1952 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } 1953 1954 /** 1955 * <p>The version number of the database engine to use.</p> <p>For a list of valid 1956 * engine versions, use the <code>DescribeDBEngineVersions</code> action.</p> 1957 * <p>The following are the database engines and links to information about the 1958 * major and minor versions that are available with Amazon RDS. Not every database 1959 * engine is available for every Amazon Web Services Region.</p> <p> <b>Amazon 1960 * Aurora</b> </p> <p>Not applicable. The version number of the database engine to 1961 * be used by the DB instance is managed by the DB cluster.</p> <p> <b>MariaDB</b> 1962 * </p> <p>See <a 1963 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB 1964 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1965 * <b>Microsoft SQL Server</b> </p> <p>See <a 1966 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft 1967 * SQL Server Versions on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> </p> 1968 * <p> <b>MySQL</b> </p> <p>See <a 1969 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL 1970 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1971 * <b>Oracle</b> </p> <p>See <a 1972 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle 1973 * Database Engine Release Notes</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1974 * <b>PostgreSQL</b> </p> <p>See <a 1975 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon 1976 * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User 1977 * Guide.</i> </p> 1978 */ SetEngineVersion(const Aws::String & value)1979 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } 1980 1981 /** 1982 * <p>The version number of the database engine to use.</p> <p>For a list of valid 1983 * engine versions, use the <code>DescribeDBEngineVersions</code> action.</p> 1984 * <p>The following are the database engines and links to information about the 1985 * major and minor versions that are available with Amazon RDS. Not every database 1986 * engine is available for every Amazon Web Services Region.</p> <p> <b>Amazon 1987 * Aurora</b> </p> <p>Not applicable. The version number of the database engine to 1988 * be used by the DB instance is managed by the DB cluster.</p> <p> <b>MariaDB</b> 1989 * </p> <p>See <a 1990 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB 1991 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1992 * <b>Microsoft SQL Server</b> </p> <p>See <a 1993 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft 1994 * SQL Server Versions on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> </p> 1995 * <p> <b>MySQL</b> </p> <p>See <a 1996 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL 1997 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 1998 * <b>Oracle</b> </p> <p>See <a 1999 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle 2000 * Database Engine Release Notes</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2001 * <b>PostgreSQL</b> </p> <p>See <a 2002 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon 2003 * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User 2004 * Guide.</i> </p> 2005 */ SetEngineVersion(Aws::String && value)2006 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } 2007 2008 /** 2009 * <p>The version number of the database engine to use.</p> <p>For a list of valid 2010 * engine versions, use the <code>DescribeDBEngineVersions</code> action.</p> 2011 * <p>The following are the database engines and links to information about the 2012 * major and minor versions that are available with Amazon RDS. Not every database 2013 * engine is available for every Amazon Web Services Region.</p> <p> <b>Amazon 2014 * Aurora</b> </p> <p>Not applicable. The version number of the database engine to 2015 * be used by the DB instance is managed by the DB cluster.</p> <p> <b>MariaDB</b> 2016 * </p> <p>See <a 2017 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB 2018 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2019 * <b>Microsoft SQL Server</b> </p> <p>See <a 2020 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft 2021 * SQL Server Versions on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> </p> 2022 * <p> <b>MySQL</b> </p> <p>See <a 2023 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL 2024 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2025 * <b>Oracle</b> </p> <p>See <a 2026 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle 2027 * Database Engine Release Notes</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2028 * <b>PostgreSQL</b> </p> <p>See <a 2029 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon 2030 * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User 2031 * Guide.</i> </p> 2032 */ SetEngineVersion(const char * value)2033 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } 2034 2035 /** 2036 * <p>The version number of the database engine to use.</p> <p>For a list of valid 2037 * engine versions, use the <code>DescribeDBEngineVersions</code> action.</p> 2038 * <p>The following are the database engines and links to information about the 2039 * major and minor versions that are available with Amazon RDS. Not every database 2040 * engine is available for every Amazon Web Services Region.</p> <p> <b>Amazon 2041 * Aurora</b> </p> <p>Not applicable. The version number of the database engine to 2042 * be used by the DB instance is managed by the DB cluster.</p> <p> <b>MariaDB</b> 2043 * </p> <p>See <a 2044 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB 2045 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2046 * <b>Microsoft SQL Server</b> </p> <p>See <a 2047 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft 2048 * SQL Server Versions on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> </p> 2049 * <p> <b>MySQL</b> </p> <p>See <a 2050 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL 2051 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2052 * <b>Oracle</b> </p> <p>See <a 2053 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle 2054 * Database Engine Release Notes</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2055 * <b>PostgreSQL</b> </p> <p>See <a 2056 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon 2057 * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User 2058 * Guide.</i> </p> 2059 */ WithEngineVersion(const Aws::String & value)2060 inline CreateDBInstanceRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} 2061 2062 /** 2063 * <p>The version number of the database engine to use.</p> <p>For a list of valid 2064 * engine versions, use the <code>DescribeDBEngineVersions</code> action.</p> 2065 * <p>The following are the database engines and links to information about the 2066 * major and minor versions that are available with Amazon RDS. Not every database 2067 * engine is available for every Amazon Web Services Region.</p> <p> <b>Amazon 2068 * Aurora</b> </p> <p>Not applicable. The version number of the database engine to 2069 * be used by the DB instance is managed by the DB cluster.</p> <p> <b>MariaDB</b> 2070 * </p> <p>See <a 2071 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB 2072 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2073 * <b>Microsoft SQL Server</b> </p> <p>See <a 2074 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft 2075 * SQL Server Versions on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> </p> 2076 * <p> <b>MySQL</b> </p> <p>See <a 2077 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL 2078 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2079 * <b>Oracle</b> </p> <p>See <a 2080 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle 2081 * Database Engine Release Notes</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2082 * <b>PostgreSQL</b> </p> <p>See <a 2083 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon 2084 * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User 2085 * Guide.</i> </p> 2086 */ WithEngineVersion(Aws::String && value)2087 inline CreateDBInstanceRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} 2088 2089 /** 2090 * <p>The version number of the database engine to use.</p> <p>For a list of valid 2091 * engine versions, use the <code>DescribeDBEngineVersions</code> action.</p> 2092 * <p>The following are the database engines and links to information about the 2093 * major and minor versions that are available with Amazon RDS. Not every database 2094 * engine is available for every Amazon Web Services Region.</p> <p> <b>Amazon 2095 * Aurora</b> </p> <p>Not applicable. The version number of the database engine to 2096 * be used by the DB instance is managed by the DB cluster.</p> <p> <b>MariaDB</b> 2097 * </p> <p>See <a 2098 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB 2099 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2100 * <b>Microsoft SQL Server</b> </p> <p>See <a 2101 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft 2102 * SQL Server Versions on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> </p> 2103 * <p> <b>MySQL</b> </p> <p>See <a 2104 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL 2105 * on Amazon RDS Versions</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2106 * <b>Oracle</b> </p> <p>See <a 2107 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle 2108 * Database Engine Release Notes</a> in the <i>Amazon RDS User Guide.</i> </p> <p> 2109 * <b>PostgreSQL</b> </p> <p>See <a 2110 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon 2111 * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User 2112 * Guide.</i> </p> 2113 */ WithEngineVersion(const char * value)2114 inline CreateDBInstanceRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} 2115 2116 2117 /** 2118 * <p>A value that indicates whether minor engine upgrades are applied 2119 * automatically to the DB instance during the maintenance window. By default, 2120 * minor engine upgrades are applied automatically.</p> 2121 */ GetAutoMinorVersionUpgrade()2122 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; } 2123 2124 /** 2125 * <p>A value that indicates whether minor engine upgrades are applied 2126 * automatically to the DB instance during the maintenance window. By default, 2127 * minor engine upgrades are applied automatically.</p> 2128 */ AutoMinorVersionUpgradeHasBeenSet()2129 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; } 2130 2131 /** 2132 * <p>A value that indicates whether minor engine upgrades are applied 2133 * automatically to the DB instance during the maintenance window. By default, 2134 * minor engine upgrades are applied automatically.</p> 2135 */ SetAutoMinorVersionUpgrade(bool value)2136 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; } 2137 2138 /** 2139 * <p>A value that indicates whether minor engine upgrades are applied 2140 * automatically to the DB instance during the maintenance window. By default, 2141 * minor engine upgrades are applied automatically.</p> 2142 */ WithAutoMinorVersionUpgrade(bool value)2143 inline CreateDBInstanceRequest& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;} 2144 2145 2146 /** 2147 * <p>License model information for this DB instance.</p> <p> Valid values: 2148 * <code>license-included</code> | <code>bring-your-own-license</code> | 2149 * <code>general-public-license</code> </p> 2150 */ GetLicenseModel()2151 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; } 2152 2153 /** 2154 * <p>License model information for this DB instance.</p> <p> Valid values: 2155 * <code>license-included</code> | <code>bring-your-own-license</code> | 2156 * <code>general-public-license</code> </p> 2157 */ LicenseModelHasBeenSet()2158 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; } 2159 2160 /** 2161 * <p>License model information for this DB instance.</p> <p> Valid values: 2162 * <code>license-included</code> | <code>bring-your-own-license</code> | 2163 * <code>general-public-license</code> </p> 2164 */ SetLicenseModel(const Aws::String & value)2165 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; } 2166 2167 /** 2168 * <p>License model information for this DB instance.</p> <p> Valid values: 2169 * <code>license-included</code> | <code>bring-your-own-license</code> | 2170 * <code>general-public-license</code> </p> 2171 */ SetLicenseModel(Aws::String && value)2172 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); } 2173 2174 /** 2175 * <p>License model information for this DB instance.</p> <p> Valid values: 2176 * <code>license-included</code> | <code>bring-your-own-license</code> | 2177 * <code>general-public-license</code> </p> 2178 */ SetLicenseModel(const char * value)2179 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); } 2180 2181 /** 2182 * <p>License model information for this DB instance.</p> <p> Valid values: 2183 * <code>license-included</code> | <code>bring-your-own-license</code> | 2184 * <code>general-public-license</code> </p> 2185 */ WithLicenseModel(const Aws::String & value)2186 inline CreateDBInstanceRequest& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;} 2187 2188 /** 2189 * <p>License model information for this DB instance.</p> <p> Valid values: 2190 * <code>license-included</code> | <code>bring-your-own-license</code> | 2191 * <code>general-public-license</code> </p> 2192 */ WithLicenseModel(Aws::String && value)2193 inline CreateDBInstanceRequest& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;} 2194 2195 /** 2196 * <p>License model information for this DB instance.</p> <p> Valid values: 2197 * <code>license-included</code> | <code>bring-your-own-license</code> | 2198 * <code>general-public-license</code> </p> 2199 */ WithLicenseModel(const char * value)2200 inline CreateDBInstanceRequest& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;} 2201 2202 2203 /** 2204 * <p>The amount of Provisioned IOPS (input/output operations per second) to be 2205 * initially allocated for the DB instance. For information about valid Iops 2206 * values, see <a 2207 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon 2208 * RDS Provisioned IOPS Storage to Improve Performance</a> in the <i>Amazon RDS 2209 * User Guide</i>. </p> <p>Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL 2210 * DB instances, must be a multiple between .5 and 50 of the storage amount for the 2211 * DB instance. For SQL Server DB instances, must be a multiple between 1 and 50 of 2212 * the storage amount for the DB instance. </p> 2213 */ GetIops()2214 inline int GetIops() const{ return m_iops; } 2215 2216 /** 2217 * <p>The amount of Provisioned IOPS (input/output operations per second) to be 2218 * initially allocated for the DB instance. For information about valid Iops 2219 * values, see <a 2220 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon 2221 * RDS Provisioned IOPS Storage to Improve Performance</a> in the <i>Amazon RDS 2222 * User Guide</i>. </p> <p>Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL 2223 * DB instances, must be a multiple between .5 and 50 of the storage amount for the 2224 * DB instance. For SQL Server DB instances, must be a multiple between 1 and 50 of 2225 * the storage amount for the DB instance. </p> 2226 */ IopsHasBeenSet()2227 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } 2228 2229 /** 2230 * <p>The amount of Provisioned IOPS (input/output operations per second) to be 2231 * initially allocated for the DB instance. For information about valid Iops 2232 * values, see <a 2233 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon 2234 * RDS Provisioned IOPS Storage to Improve Performance</a> in the <i>Amazon RDS 2235 * User Guide</i>. </p> <p>Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL 2236 * DB instances, must be a multiple between .5 and 50 of the storage amount for the 2237 * DB instance. For SQL Server DB instances, must be a multiple between 1 and 50 of 2238 * the storage amount for the DB instance. </p> 2239 */ SetIops(int value)2240 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } 2241 2242 /** 2243 * <p>The amount of Provisioned IOPS (input/output operations per second) to be 2244 * initially allocated for the DB instance. For information about valid Iops 2245 * values, see <a 2246 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon 2247 * RDS Provisioned IOPS Storage to Improve Performance</a> in the <i>Amazon RDS 2248 * User Guide</i>. </p> <p>Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL 2249 * DB instances, must be a multiple between .5 and 50 of the storage amount for the 2250 * DB instance. For SQL Server DB instances, must be a multiple between 1 and 50 of 2251 * the storage amount for the DB instance. </p> 2252 */ WithIops(int value)2253 inline CreateDBInstanceRequest& WithIops(int value) { SetIops(value); return *this;} 2254 2255 2256 /** 2257 * <p>A value that indicates that the DB instance should be associated with the 2258 * specified option group.</p> <p>Permanent options, such as the TDE option for 2259 * Oracle Advanced Security TDE, can't be removed from an option group. Also, that 2260 * option group can't be removed from a DB instance once it is associated with a DB 2261 * instance</p> 2262 */ GetOptionGroupName()2263 inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; } 2264 2265 /** 2266 * <p>A value that indicates that the DB instance should be associated with the 2267 * specified option group.</p> <p>Permanent options, such as the TDE option for 2268 * Oracle Advanced Security TDE, can't be removed from an option group. Also, that 2269 * option group can't be removed from a DB instance once it is associated with a DB 2270 * instance</p> 2271 */ OptionGroupNameHasBeenSet()2272 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; } 2273 2274 /** 2275 * <p>A value that indicates that the DB instance should be associated with the 2276 * specified option group.</p> <p>Permanent options, such as the TDE option for 2277 * Oracle Advanced Security TDE, can't be removed from an option group. Also, that 2278 * option group can't be removed from a DB instance once it is associated with a DB 2279 * instance</p> 2280 */ SetOptionGroupName(const Aws::String & value)2281 inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; } 2282 2283 /** 2284 * <p>A value that indicates that the DB instance should be associated with the 2285 * specified option group.</p> <p>Permanent options, such as the TDE option for 2286 * Oracle Advanced Security TDE, can't be removed from an option group. Also, that 2287 * option group can't be removed from a DB instance once it is associated with a DB 2288 * instance</p> 2289 */ SetOptionGroupName(Aws::String && value)2290 inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); } 2291 2292 /** 2293 * <p>A value that indicates that the DB instance should be associated with the 2294 * specified option group.</p> <p>Permanent options, such as the TDE option for 2295 * Oracle Advanced Security TDE, can't be removed from an option group. Also, that 2296 * option group can't be removed from a DB instance once it is associated with a DB 2297 * instance</p> 2298 */ SetOptionGroupName(const char * value)2299 inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); } 2300 2301 /** 2302 * <p>A value that indicates that the DB instance should be associated with the 2303 * specified option group.</p> <p>Permanent options, such as the TDE option for 2304 * Oracle Advanced Security TDE, can't be removed from an option group. Also, that 2305 * option group can't be removed from a DB instance once it is associated with a DB 2306 * instance</p> 2307 */ WithOptionGroupName(const Aws::String & value)2308 inline CreateDBInstanceRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} 2309 2310 /** 2311 * <p>A value that indicates that the DB instance should be associated with the 2312 * specified option group.</p> <p>Permanent options, such as the TDE option for 2313 * Oracle Advanced Security TDE, can't be removed from an option group. Also, that 2314 * option group can't be removed from a DB instance once it is associated with a DB 2315 * instance</p> 2316 */ WithOptionGroupName(Aws::String && value)2317 inline CreateDBInstanceRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;} 2318 2319 /** 2320 * <p>A value that indicates that the DB instance should be associated with the 2321 * specified option group.</p> <p>Permanent options, such as the TDE option for 2322 * Oracle Advanced Security TDE, can't be removed from an option group. Also, that 2323 * option group can't be removed from a DB instance once it is associated with a DB 2324 * instance</p> 2325 */ WithOptionGroupName(const char * value)2326 inline CreateDBInstanceRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;} 2327 2328 2329 /** 2330 * <p>For supported engines, indicates that the DB instance should be associated 2331 * with the specified CharacterSet.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 2332 * applicable. The character set is managed by the DB cluster. For more 2333 * information, see <code>CreateDBCluster</code>.</p> 2334 */ GetCharacterSetName()2335 inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; } 2336 2337 /** 2338 * <p>For supported engines, indicates that the DB instance should be associated 2339 * with the specified CharacterSet.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 2340 * applicable. The character set is managed by the DB cluster. For more 2341 * information, see <code>CreateDBCluster</code>.</p> 2342 */ CharacterSetNameHasBeenSet()2343 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; } 2344 2345 /** 2346 * <p>For supported engines, indicates that the DB instance should be associated 2347 * with the specified CharacterSet.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 2348 * applicable. The character set is managed by the DB cluster. For more 2349 * information, see <code>CreateDBCluster</code>.</p> 2350 */ SetCharacterSetName(const Aws::String & value)2351 inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; } 2352 2353 /** 2354 * <p>For supported engines, indicates that the DB instance should be associated 2355 * with the specified CharacterSet.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 2356 * applicable. The character set is managed by the DB cluster. For more 2357 * information, see <code>CreateDBCluster</code>.</p> 2358 */ SetCharacterSetName(Aws::String && value)2359 inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); } 2360 2361 /** 2362 * <p>For supported engines, indicates that the DB instance should be associated 2363 * with the specified CharacterSet.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 2364 * applicable. The character set is managed by the DB cluster. For more 2365 * information, see <code>CreateDBCluster</code>.</p> 2366 */ SetCharacterSetName(const char * value)2367 inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); } 2368 2369 /** 2370 * <p>For supported engines, indicates that the DB instance should be associated 2371 * with the specified CharacterSet.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 2372 * applicable. The character set is managed by the DB cluster. For more 2373 * information, see <code>CreateDBCluster</code>.</p> 2374 */ WithCharacterSetName(const Aws::String & value)2375 inline CreateDBInstanceRequest& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;} 2376 2377 /** 2378 * <p>For supported engines, indicates that the DB instance should be associated 2379 * with the specified CharacterSet.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 2380 * applicable. The character set is managed by the DB cluster. For more 2381 * information, see <code>CreateDBCluster</code>.</p> 2382 */ WithCharacterSetName(Aws::String && value)2383 inline CreateDBInstanceRequest& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;} 2384 2385 /** 2386 * <p>For supported engines, indicates that the DB instance should be associated 2387 * with the specified CharacterSet.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 2388 * applicable. The character set is managed by the DB cluster. For more 2389 * information, see <code>CreateDBCluster</code>.</p> 2390 */ WithCharacterSetName(const char * value)2391 inline CreateDBInstanceRequest& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;} 2392 2393 2394 /** 2395 * <p>The name of the NCHAR character set for the Oracle DB instance.</p> 2396 */ GetNcharCharacterSetName()2397 inline const Aws::String& GetNcharCharacterSetName() const{ return m_ncharCharacterSetName; } 2398 2399 /** 2400 * <p>The name of the NCHAR character set for the Oracle DB instance.</p> 2401 */ NcharCharacterSetNameHasBeenSet()2402 inline bool NcharCharacterSetNameHasBeenSet() const { return m_ncharCharacterSetNameHasBeenSet; } 2403 2404 /** 2405 * <p>The name of the NCHAR character set for the Oracle DB instance.</p> 2406 */ SetNcharCharacterSetName(const Aws::String & value)2407 inline void SetNcharCharacterSetName(const Aws::String& value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName = value; } 2408 2409 /** 2410 * <p>The name of the NCHAR character set for the Oracle DB instance.</p> 2411 */ SetNcharCharacterSetName(Aws::String && value)2412 inline void SetNcharCharacterSetName(Aws::String&& value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName = std::move(value); } 2413 2414 /** 2415 * <p>The name of the NCHAR character set for the Oracle DB instance.</p> 2416 */ SetNcharCharacterSetName(const char * value)2417 inline void SetNcharCharacterSetName(const char* value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName.assign(value); } 2418 2419 /** 2420 * <p>The name of the NCHAR character set for the Oracle DB instance.</p> 2421 */ WithNcharCharacterSetName(const Aws::String & value)2422 inline CreateDBInstanceRequest& WithNcharCharacterSetName(const Aws::String& value) { SetNcharCharacterSetName(value); return *this;} 2423 2424 /** 2425 * <p>The name of the NCHAR character set for the Oracle DB instance.</p> 2426 */ WithNcharCharacterSetName(Aws::String && value)2427 inline CreateDBInstanceRequest& WithNcharCharacterSetName(Aws::String&& value) { SetNcharCharacterSetName(std::move(value)); return *this;} 2428 2429 /** 2430 * <p>The name of the NCHAR character set for the Oracle DB instance.</p> 2431 */ WithNcharCharacterSetName(const char * value)2432 inline CreateDBInstanceRequest& WithNcharCharacterSetName(const char* value) { SetNcharCharacterSetName(value); return *this;} 2433 2434 2435 /** 2436 * <p>A value that indicates whether the DB instance is publicly accessible.</p> 2437 * <p>When the DB instance is publicly accessible, its DNS endpoint resolves to the 2438 * private IP address from within the DB instance's VPC, and to the public IP 2439 * address from outside of the DB instance's VPC. Access to the DB instance is 2440 * ultimately controlled by the security group it uses, and that public access is 2441 * not permitted if the security group assigned to the DB instance doesn't permit 2442 * it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB 2443 * instance with a DNS name that resolves to a private IP address.</p> <p>Default: 2444 * The default behavior varies depending on whether <code>DBSubnetGroupName</code> 2445 * is specified.</p> <p>If <code>DBSubnetGroupName</code> isn't specified, and 2446 * <code>PubliclyAccessible</code> isn't specified, the following applies:</p> <ul> 2447 * <li> <p>If the default VPC in the target region doesn’t have an Internet gateway 2448 * attached to it, the DB instance is private.</p> </li> <li> <p>If the default VPC 2449 * in the target region has an Internet gateway attached to it, the DB instance is 2450 * public.</p> </li> </ul> <p>If <code>DBSubnetGroupName</code> is specified, and 2451 * <code>PubliclyAccessible</code> isn't specified, the following applies:</p> <ul> 2452 * <li> <p>If the subnets are part of a VPC that doesn’t have an Internet gateway 2453 * attached to it, the DB instance is private.</p> </li> <li> <p>If the subnets are 2454 * part of a VPC that has an Internet gateway attached to it, the DB instance is 2455 * public.</p> </li> </ul> 2456 */ GetPubliclyAccessible()2457 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } 2458 2459 /** 2460 * <p>A value that indicates whether the DB instance is publicly accessible.</p> 2461 * <p>When the DB instance is publicly accessible, its DNS endpoint resolves to the 2462 * private IP address from within the DB instance's VPC, and to the public IP 2463 * address from outside of the DB instance's VPC. Access to the DB instance is 2464 * ultimately controlled by the security group it uses, and that public access is 2465 * not permitted if the security group assigned to the DB instance doesn't permit 2466 * it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB 2467 * instance with a DNS name that resolves to a private IP address.</p> <p>Default: 2468 * The default behavior varies depending on whether <code>DBSubnetGroupName</code> 2469 * is specified.</p> <p>If <code>DBSubnetGroupName</code> isn't specified, and 2470 * <code>PubliclyAccessible</code> isn't specified, the following applies:</p> <ul> 2471 * <li> <p>If the default VPC in the target region doesn’t have an Internet gateway 2472 * attached to it, the DB instance is private.</p> </li> <li> <p>If the default VPC 2473 * in the target region has an Internet gateway attached to it, the DB instance is 2474 * public.</p> </li> </ul> <p>If <code>DBSubnetGroupName</code> is specified, and 2475 * <code>PubliclyAccessible</code> isn't specified, the following applies:</p> <ul> 2476 * <li> <p>If the subnets are part of a VPC that doesn’t have an Internet gateway 2477 * attached to it, the DB instance is private.</p> </li> <li> <p>If the subnets are 2478 * part of a VPC that has an Internet gateway attached to it, the DB instance is 2479 * public.</p> </li> </ul> 2480 */ PubliclyAccessibleHasBeenSet()2481 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; } 2482 2483 /** 2484 * <p>A value that indicates whether the DB instance is publicly accessible.</p> 2485 * <p>When the DB instance is publicly accessible, its DNS endpoint resolves to the 2486 * private IP address from within the DB instance's VPC, and to the public IP 2487 * address from outside of the DB instance's VPC. Access to the DB instance is 2488 * ultimately controlled by the security group it uses, and that public access is 2489 * not permitted if the security group assigned to the DB instance doesn't permit 2490 * it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB 2491 * instance with a DNS name that resolves to a private IP address.</p> <p>Default: 2492 * The default behavior varies depending on whether <code>DBSubnetGroupName</code> 2493 * is specified.</p> <p>If <code>DBSubnetGroupName</code> isn't specified, and 2494 * <code>PubliclyAccessible</code> isn't specified, the following applies:</p> <ul> 2495 * <li> <p>If the default VPC in the target region doesn’t have an Internet gateway 2496 * attached to it, the DB instance is private.</p> </li> <li> <p>If the default VPC 2497 * in the target region has an Internet gateway attached to it, the DB instance is 2498 * public.</p> </li> </ul> <p>If <code>DBSubnetGroupName</code> is specified, and 2499 * <code>PubliclyAccessible</code> isn't specified, the following applies:</p> <ul> 2500 * <li> <p>If the subnets are part of a VPC that doesn’t have an Internet gateway 2501 * attached to it, the DB instance is private.</p> </li> <li> <p>If the subnets are 2502 * part of a VPC that has an Internet gateway attached to it, the DB instance is 2503 * public.</p> </li> </ul> 2504 */ SetPubliclyAccessible(bool value)2505 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; } 2506 2507 /** 2508 * <p>A value that indicates whether the DB instance is publicly accessible.</p> 2509 * <p>When the DB instance is publicly accessible, its DNS endpoint resolves to the 2510 * private IP address from within the DB instance's VPC, and to the public IP 2511 * address from outside of the DB instance's VPC. Access to the DB instance is 2512 * ultimately controlled by the security group it uses, and that public access is 2513 * not permitted if the security group assigned to the DB instance doesn't permit 2514 * it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB 2515 * instance with a DNS name that resolves to a private IP address.</p> <p>Default: 2516 * The default behavior varies depending on whether <code>DBSubnetGroupName</code> 2517 * is specified.</p> <p>If <code>DBSubnetGroupName</code> isn't specified, and 2518 * <code>PubliclyAccessible</code> isn't specified, the following applies:</p> <ul> 2519 * <li> <p>If the default VPC in the target region doesn’t have an Internet gateway 2520 * attached to it, the DB instance is private.</p> </li> <li> <p>If the default VPC 2521 * in the target region has an Internet gateway attached to it, the DB instance is 2522 * public.</p> </li> </ul> <p>If <code>DBSubnetGroupName</code> is specified, and 2523 * <code>PubliclyAccessible</code> isn't specified, the following applies:</p> <ul> 2524 * <li> <p>If the subnets are part of a VPC that doesn’t have an Internet gateway 2525 * attached to it, the DB instance is private.</p> </li> <li> <p>If the subnets are 2526 * part of a VPC that has an Internet gateway attached to it, the DB instance is 2527 * public.</p> </li> </ul> 2528 */ WithPubliclyAccessible(bool value)2529 inline CreateDBInstanceRequest& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;} 2530 2531 2532 /** 2533 * <p>Tags to assign to the DB instance.</p> 2534 */ GetTags()2535 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; } 2536 2537 /** 2538 * <p>Tags to assign to the DB instance.</p> 2539 */ TagsHasBeenSet()2540 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } 2541 2542 /** 2543 * <p>Tags to assign to the DB instance.</p> 2544 */ SetTags(const Aws::Vector<Tag> & value)2545 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; } 2546 2547 /** 2548 * <p>Tags to assign to the DB instance.</p> 2549 */ SetTags(Aws::Vector<Tag> && value)2550 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } 2551 2552 /** 2553 * <p>Tags to assign to the DB instance.</p> 2554 */ WithTags(const Aws::Vector<Tag> & value)2555 inline CreateDBInstanceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;} 2556 2557 /** 2558 * <p>Tags to assign to the DB instance.</p> 2559 */ WithTags(Aws::Vector<Tag> && value)2560 inline CreateDBInstanceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;} 2561 2562 /** 2563 * <p>Tags to assign to the DB instance.</p> 2564 */ AddTags(const Tag & value)2565 inline CreateDBInstanceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } 2566 2567 /** 2568 * <p>Tags to assign to the DB instance.</p> 2569 */ AddTags(Tag && value)2570 inline CreateDBInstanceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } 2571 2572 2573 /** 2574 * <p>The identifier of the DB cluster that the instance will belong to.</p> 2575 */ GetDBClusterIdentifier()2576 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; } 2577 2578 /** 2579 * <p>The identifier of the DB cluster that the instance will belong to.</p> 2580 */ DBClusterIdentifierHasBeenSet()2581 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; } 2582 2583 /** 2584 * <p>The identifier of the DB cluster that the instance will belong to.</p> 2585 */ SetDBClusterIdentifier(const Aws::String & value)2586 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; } 2587 2588 /** 2589 * <p>The identifier of the DB cluster that the instance will belong to.</p> 2590 */ SetDBClusterIdentifier(Aws::String && value)2591 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); } 2592 2593 /** 2594 * <p>The identifier of the DB cluster that the instance will belong to.</p> 2595 */ SetDBClusterIdentifier(const char * value)2596 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); } 2597 2598 /** 2599 * <p>The identifier of the DB cluster that the instance will belong to.</p> 2600 */ WithDBClusterIdentifier(const Aws::String & value)2601 inline CreateDBInstanceRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;} 2602 2603 /** 2604 * <p>The identifier of the DB cluster that the instance will belong to.</p> 2605 */ WithDBClusterIdentifier(Aws::String && value)2606 inline CreateDBInstanceRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;} 2607 2608 /** 2609 * <p>The identifier of the DB cluster that the instance will belong to.</p> 2610 */ WithDBClusterIdentifier(const char * value)2611 inline CreateDBInstanceRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;} 2612 2613 2614 /** 2615 * <p>Specifies the storage type to be associated with the DB instance.</p> <p> 2616 * Valid values: <code>standard | gp2 | io1</code> </p> <p> If you specify 2617 * <code>io1</code>, you must also include a value for the <code>Iops</code> 2618 * parameter. </p> <p> Default: <code>io1</code> if the <code>Iops</code> parameter 2619 * is specified, otherwise <code>gp2</code> </p> 2620 */ GetStorageType()2621 inline const Aws::String& GetStorageType() const{ return m_storageType; } 2622 2623 /** 2624 * <p>Specifies the storage type to be associated with the DB instance.</p> <p> 2625 * Valid values: <code>standard | gp2 | io1</code> </p> <p> If you specify 2626 * <code>io1</code>, you must also include a value for the <code>Iops</code> 2627 * parameter. </p> <p> Default: <code>io1</code> if the <code>Iops</code> parameter 2628 * is specified, otherwise <code>gp2</code> </p> 2629 */ StorageTypeHasBeenSet()2630 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } 2631 2632 /** 2633 * <p>Specifies the storage type to be associated with the DB instance.</p> <p> 2634 * Valid values: <code>standard | gp2 | io1</code> </p> <p> If you specify 2635 * <code>io1</code>, you must also include a value for the <code>Iops</code> 2636 * parameter. </p> <p> Default: <code>io1</code> if the <code>Iops</code> parameter 2637 * is specified, otherwise <code>gp2</code> </p> 2638 */ SetStorageType(const Aws::String & value)2639 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } 2640 2641 /** 2642 * <p>Specifies the storage type to be associated with the DB instance.</p> <p> 2643 * Valid values: <code>standard | gp2 | io1</code> </p> <p> If you specify 2644 * <code>io1</code>, you must also include a value for the <code>Iops</code> 2645 * parameter. </p> <p> Default: <code>io1</code> if the <code>Iops</code> parameter 2646 * is specified, otherwise <code>gp2</code> </p> 2647 */ SetStorageType(Aws::String && value)2648 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } 2649 2650 /** 2651 * <p>Specifies the storage type to be associated with the DB instance.</p> <p> 2652 * Valid values: <code>standard | gp2 | io1</code> </p> <p> If you specify 2653 * <code>io1</code>, you must also include a value for the <code>Iops</code> 2654 * parameter. </p> <p> Default: <code>io1</code> if the <code>Iops</code> parameter 2655 * is specified, otherwise <code>gp2</code> </p> 2656 */ SetStorageType(const char * value)2657 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); } 2658 2659 /** 2660 * <p>Specifies the storage type to be associated with the DB instance.</p> <p> 2661 * Valid values: <code>standard | gp2 | io1</code> </p> <p> If you specify 2662 * <code>io1</code>, you must also include a value for the <code>Iops</code> 2663 * parameter. </p> <p> Default: <code>io1</code> if the <code>Iops</code> parameter 2664 * is specified, otherwise <code>gp2</code> </p> 2665 */ WithStorageType(const Aws::String & value)2666 inline CreateDBInstanceRequest& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;} 2667 2668 /** 2669 * <p>Specifies the storage type to be associated with the DB instance.</p> <p> 2670 * Valid values: <code>standard | gp2 | io1</code> </p> <p> If you specify 2671 * <code>io1</code>, you must also include a value for the <code>Iops</code> 2672 * parameter. </p> <p> Default: <code>io1</code> if the <code>Iops</code> parameter 2673 * is specified, otherwise <code>gp2</code> </p> 2674 */ WithStorageType(Aws::String && value)2675 inline CreateDBInstanceRequest& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;} 2676 2677 /** 2678 * <p>Specifies the storage type to be associated with the DB instance.</p> <p> 2679 * Valid values: <code>standard | gp2 | io1</code> </p> <p> If you specify 2680 * <code>io1</code>, you must also include a value for the <code>Iops</code> 2681 * parameter. </p> <p> Default: <code>io1</code> if the <code>Iops</code> parameter 2682 * is specified, otherwise <code>gp2</code> </p> 2683 */ WithStorageType(const char * value)2684 inline CreateDBInstanceRequest& WithStorageType(const char* value) { SetStorageType(value); return *this;} 2685 2686 2687 /** 2688 * <p>The ARN from the key store with which to associate the instance for TDE 2689 * encryption.</p> 2690 */ GetTdeCredentialArn()2691 inline const Aws::String& GetTdeCredentialArn() const{ return m_tdeCredentialArn; } 2692 2693 /** 2694 * <p>The ARN from the key store with which to associate the instance for TDE 2695 * encryption.</p> 2696 */ TdeCredentialArnHasBeenSet()2697 inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; } 2698 2699 /** 2700 * <p>The ARN from the key store with which to associate the instance for TDE 2701 * encryption.</p> 2702 */ SetTdeCredentialArn(const Aws::String & value)2703 inline void SetTdeCredentialArn(const Aws::String& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = value; } 2704 2705 /** 2706 * <p>The ARN from the key store with which to associate the instance for TDE 2707 * encryption.</p> 2708 */ SetTdeCredentialArn(Aws::String && value)2709 inline void SetTdeCredentialArn(Aws::String&& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = std::move(value); } 2710 2711 /** 2712 * <p>The ARN from the key store with which to associate the instance for TDE 2713 * encryption.</p> 2714 */ SetTdeCredentialArn(const char * value)2715 inline void SetTdeCredentialArn(const char* value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn.assign(value); } 2716 2717 /** 2718 * <p>The ARN from the key store with which to associate the instance for TDE 2719 * encryption.</p> 2720 */ WithTdeCredentialArn(const Aws::String & value)2721 inline CreateDBInstanceRequest& WithTdeCredentialArn(const Aws::String& value) { SetTdeCredentialArn(value); return *this;} 2722 2723 /** 2724 * <p>The ARN from the key store with which to associate the instance for TDE 2725 * encryption.</p> 2726 */ WithTdeCredentialArn(Aws::String && value)2727 inline CreateDBInstanceRequest& WithTdeCredentialArn(Aws::String&& value) { SetTdeCredentialArn(std::move(value)); return *this;} 2728 2729 /** 2730 * <p>The ARN from the key store with which to associate the instance for TDE 2731 * encryption.</p> 2732 */ WithTdeCredentialArn(const char * value)2733 inline CreateDBInstanceRequest& WithTdeCredentialArn(const char* value) { SetTdeCredentialArn(value); return *this;} 2734 2735 2736 /** 2737 * <p>The password for the given ARN from the key store in order to access the 2738 * device.</p> 2739 */ GetTdeCredentialPassword()2740 inline const Aws::String& GetTdeCredentialPassword() const{ return m_tdeCredentialPassword; } 2741 2742 /** 2743 * <p>The password for the given ARN from the key store in order to access the 2744 * device.</p> 2745 */ TdeCredentialPasswordHasBeenSet()2746 inline bool TdeCredentialPasswordHasBeenSet() const { return m_tdeCredentialPasswordHasBeenSet; } 2747 2748 /** 2749 * <p>The password for the given ARN from the key store in order to access the 2750 * device.</p> 2751 */ SetTdeCredentialPassword(const Aws::String & value)2752 inline void SetTdeCredentialPassword(const Aws::String& value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword = value; } 2753 2754 /** 2755 * <p>The password for the given ARN from the key store in order to access the 2756 * device.</p> 2757 */ SetTdeCredentialPassword(Aws::String && value)2758 inline void SetTdeCredentialPassword(Aws::String&& value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword = std::move(value); } 2759 2760 /** 2761 * <p>The password for the given ARN from the key store in order to access the 2762 * device.</p> 2763 */ SetTdeCredentialPassword(const char * value)2764 inline void SetTdeCredentialPassword(const char* value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword.assign(value); } 2765 2766 /** 2767 * <p>The password for the given ARN from the key store in order to access the 2768 * device.</p> 2769 */ WithTdeCredentialPassword(const Aws::String & value)2770 inline CreateDBInstanceRequest& WithTdeCredentialPassword(const Aws::String& value) { SetTdeCredentialPassword(value); return *this;} 2771 2772 /** 2773 * <p>The password for the given ARN from the key store in order to access the 2774 * device.</p> 2775 */ WithTdeCredentialPassword(Aws::String && value)2776 inline CreateDBInstanceRequest& WithTdeCredentialPassword(Aws::String&& value) { SetTdeCredentialPassword(std::move(value)); return *this;} 2777 2778 /** 2779 * <p>The password for the given ARN from the key store in order to access the 2780 * device.</p> 2781 */ WithTdeCredentialPassword(const char * value)2782 inline CreateDBInstanceRequest& WithTdeCredentialPassword(const char* value) { SetTdeCredentialPassword(value); return *this;} 2783 2784 2785 /** 2786 * <p>A value that indicates whether the DB instance is encrypted. By default, it 2787 * isn't encrypted.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The 2788 * encryption for DB instances is managed by the DB cluster.</p> 2789 */ GetStorageEncrypted()2790 inline bool GetStorageEncrypted() const{ return m_storageEncrypted; } 2791 2792 /** 2793 * <p>A value that indicates whether the DB instance is encrypted. By default, it 2794 * isn't encrypted.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The 2795 * encryption for DB instances is managed by the DB cluster.</p> 2796 */ StorageEncryptedHasBeenSet()2797 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; } 2798 2799 /** 2800 * <p>A value that indicates whether the DB instance is encrypted. By default, it 2801 * isn't encrypted.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The 2802 * encryption for DB instances is managed by the DB cluster.</p> 2803 */ SetStorageEncrypted(bool value)2804 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; } 2805 2806 /** 2807 * <p>A value that indicates whether the DB instance is encrypted. By default, it 2808 * isn't encrypted.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The 2809 * encryption for DB instances is managed by the DB cluster.</p> 2810 */ WithStorageEncrypted(bool value)2811 inline CreateDBInstanceRequest& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;} 2812 2813 2814 /** 2815 * <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p> 2816 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 2817 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 2818 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 2819 * ARN.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The Amazon Web 2820 * Services KMS key identifier is managed by the DB cluster. For more information, 2821 * see <code>CreateDBCluster</code>.</p> <p>If <code>StorageEncrypted</code> is 2822 * enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, 2823 * then Amazon RDS uses your default CMK. There is a default CMK for your Amazon 2824 * Web Services account. Your Amazon Web Services account has a different default 2825 * CMK for each Amazon Web Services Region.</p> 2826 */ GetKmsKeyId()2827 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } 2828 2829 /** 2830 * <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p> 2831 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 2832 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 2833 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 2834 * ARN.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The Amazon Web 2835 * Services KMS key identifier is managed by the DB cluster. For more information, 2836 * see <code>CreateDBCluster</code>.</p> <p>If <code>StorageEncrypted</code> is 2837 * enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, 2838 * then Amazon RDS uses your default CMK. There is a default CMK for your Amazon 2839 * Web Services account. Your Amazon Web Services account has a different default 2840 * CMK for each Amazon Web Services Region.</p> 2841 */ KmsKeyIdHasBeenSet()2842 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } 2843 2844 /** 2845 * <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p> 2846 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 2847 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 2848 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 2849 * ARN.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The Amazon Web 2850 * Services KMS key identifier is managed by the DB cluster. For more information, 2851 * see <code>CreateDBCluster</code>.</p> <p>If <code>StorageEncrypted</code> is 2852 * enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, 2853 * then Amazon RDS uses your default CMK. There is a default CMK for your Amazon 2854 * Web Services account. Your Amazon Web Services account has a different default 2855 * CMK for each Amazon Web Services Region.</p> 2856 */ SetKmsKeyId(const Aws::String & value)2857 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } 2858 2859 /** 2860 * <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p> 2861 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 2862 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 2863 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 2864 * ARN.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The Amazon Web 2865 * Services KMS key identifier is managed by the DB cluster. For more information, 2866 * see <code>CreateDBCluster</code>.</p> <p>If <code>StorageEncrypted</code> is 2867 * enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, 2868 * then Amazon RDS uses your default CMK. There is a default CMK for your Amazon 2869 * Web Services account. Your Amazon Web Services account has a different default 2870 * CMK for each Amazon Web Services Region.</p> 2871 */ SetKmsKeyId(Aws::String && value)2872 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } 2873 2874 /** 2875 * <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p> 2876 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 2877 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 2878 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 2879 * ARN.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The Amazon Web 2880 * Services KMS key identifier is managed by the DB cluster. For more information, 2881 * see <code>CreateDBCluster</code>.</p> <p>If <code>StorageEncrypted</code> is 2882 * enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, 2883 * then Amazon RDS uses your default CMK. There is a default CMK for your Amazon 2884 * Web Services account. Your Amazon Web Services account has a different default 2885 * CMK for each Amazon Web Services Region.</p> 2886 */ SetKmsKeyId(const char * value)2887 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } 2888 2889 /** 2890 * <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p> 2891 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 2892 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 2893 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 2894 * ARN.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The Amazon Web 2895 * Services KMS key identifier is managed by the DB cluster. For more information, 2896 * see <code>CreateDBCluster</code>.</p> <p>If <code>StorageEncrypted</code> is 2897 * enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, 2898 * then Amazon RDS uses your default CMK. There is a default CMK for your Amazon 2899 * Web Services account. Your Amazon Web Services account has a different default 2900 * CMK for each Amazon Web Services Region.</p> 2901 */ WithKmsKeyId(const Aws::String & value)2902 inline CreateDBInstanceRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} 2903 2904 /** 2905 * <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p> 2906 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 2907 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 2908 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 2909 * ARN.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The Amazon Web 2910 * Services KMS key identifier is managed by the DB cluster. For more information, 2911 * see <code>CreateDBCluster</code>.</p> <p>If <code>StorageEncrypted</code> is 2912 * enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, 2913 * then Amazon RDS uses your default CMK. There is a default CMK for your Amazon 2914 * Web Services account. Your Amazon Web Services account has a different default 2915 * CMK for each Amazon Web Services Region.</p> 2916 */ WithKmsKeyId(Aws::String && value)2917 inline CreateDBInstanceRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} 2918 2919 /** 2920 * <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p> 2921 * <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, 2922 * or alias name for the Amazon Web Services KMS customer master key (CMK). To use 2923 * a CMK in a different Amazon Web Services account, specify the key ARN or alias 2924 * ARN.</p> <p> <b>Amazon Aurora</b> </p> <p>Not applicable. The Amazon Web 2925 * Services KMS key identifier is managed by the DB cluster. For more information, 2926 * see <code>CreateDBCluster</code>.</p> <p>If <code>StorageEncrypted</code> is 2927 * enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, 2928 * then Amazon RDS uses your default CMK. There is a default CMK for your Amazon 2929 * Web Services account. Your Amazon Web Services account has a different default 2930 * CMK for each Amazon Web Services Region.</p> 2931 */ WithKmsKeyId(const char * value)2932 inline CreateDBInstanceRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} 2933 2934 2935 /** 2936 * <p>The Active Directory directory ID to create the DB instance in. Currently, 2937 * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be 2938 * created in an Active Directory Domain.</p> <p>For more information, see <a 2939 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> 2940 * Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p> 2941 */ GetDomain()2942 inline const Aws::String& GetDomain() const{ return m_domain; } 2943 2944 /** 2945 * <p>The Active Directory directory ID to create the DB instance in. Currently, 2946 * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be 2947 * created in an Active Directory Domain.</p> <p>For more information, see <a 2948 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> 2949 * Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p> 2950 */ DomainHasBeenSet()2951 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } 2952 2953 /** 2954 * <p>The Active Directory directory ID to create the DB instance in. Currently, 2955 * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be 2956 * created in an Active Directory Domain.</p> <p>For more information, see <a 2957 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> 2958 * Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p> 2959 */ SetDomain(const Aws::String & value)2960 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } 2961 2962 /** 2963 * <p>The Active Directory directory ID to create the DB instance in. Currently, 2964 * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be 2965 * created in an Active Directory Domain.</p> <p>For more information, see <a 2966 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> 2967 * Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p> 2968 */ SetDomain(Aws::String && value)2969 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } 2970 2971 /** 2972 * <p>The Active Directory directory ID to create the DB instance in. Currently, 2973 * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be 2974 * created in an Active Directory Domain.</p> <p>For more information, see <a 2975 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> 2976 * Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p> 2977 */ SetDomain(const char * value)2978 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } 2979 2980 /** 2981 * <p>The Active Directory directory ID to create the DB instance in. Currently, 2982 * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be 2983 * created in an Active Directory Domain.</p> <p>For more information, see <a 2984 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> 2985 * Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p> 2986 */ WithDomain(const Aws::String & value)2987 inline CreateDBInstanceRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} 2988 2989 /** 2990 * <p>The Active Directory directory ID to create the DB instance in. Currently, 2991 * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be 2992 * created in an Active Directory Domain.</p> <p>For more information, see <a 2993 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> 2994 * Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p> 2995 */ WithDomain(Aws::String && value)2996 inline CreateDBInstanceRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} 2997 2998 /** 2999 * <p>The Active Directory directory ID to create the DB instance in. Currently, 3000 * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be 3001 * created in an Active Directory Domain.</p> <p>For more information, see <a 3002 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> 3003 * Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p> 3004 */ WithDomain(const char * value)3005 inline CreateDBInstanceRequest& WithDomain(const char* value) { SetDomain(value); return *this;} 3006 3007 3008 /** 3009 * <p>A value that indicates whether to copy tags from the DB instance to snapshots 3010 * of the DB instance. By default, tags are not copied.</p> <p> <b>Amazon 3011 * Aurora</b> </p> <p>Not applicable. Copying tags to snapshots is managed by the 3012 * DB cluster. Setting this value for an Aurora DB instance has no effect on the DB 3013 * cluster setting.</p> 3014 */ GetCopyTagsToSnapshot()3015 inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; } 3016 3017 /** 3018 * <p>A value that indicates whether to copy tags from the DB instance to snapshots 3019 * of the DB instance. By default, tags are not copied.</p> <p> <b>Amazon 3020 * Aurora</b> </p> <p>Not applicable. Copying tags to snapshots is managed by the 3021 * DB cluster. Setting this value for an Aurora DB instance has no effect on the DB 3022 * cluster setting.</p> 3023 */ CopyTagsToSnapshotHasBeenSet()3024 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; } 3025 3026 /** 3027 * <p>A value that indicates whether to copy tags from the DB instance to snapshots 3028 * of the DB instance. By default, tags are not copied.</p> <p> <b>Amazon 3029 * Aurora</b> </p> <p>Not applicable. Copying tags to snapshots is managed by the 3030 * DB cluster. Setting this value for an Aurora DB instance has no effect on the DB 3031 * cluster setting.</p> 3032 */ SetCopyTagsToSnapshot(bool value)3033 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; } 3034 3035 /** 3036 * <p>A value that indicates whether to copy tags from the DB instance to snapshots 3037 * of the DB instance. By default, tags are not copied.</p> <p> <b>Amazon 3038 * Aurora</b> </p> <p>Not applicable. Copying tags to snapshots is managed by the 3039 * DB cluster. Setting this value for an Aurora DB instance has no effect on the DB 3040 * cluster setting.</p> 3041 */ WithCopyTagsToSnapshot(bool value)3042 inline CreateDBInstanceRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;} 3043 3044 3045 /** 3046 * <p>The interval, in seconds, between points when Enhanced Monitoring metrics are 3047 * collected for the DB instance. To disable collecting Enhanced Monitoring 3048 * metrics, specify 0. The default is 0.</p> <p>If <code>MonitoringRoleArn</code> 3049 * is specified, then you must also set <code>MonitoringInterval</code> to a value 3050 * other than 0.</p> <p>Valid Values: <code>0, 1, 5, 10, 15, 30, 60</code> </p> 3051 */ GetMonitoringInterval()3052 inline int GetMonitoringInterval() const{ return m_monitoringInterval; } 3053 3054 /** 3055 * <p>The interval, in seconds, between points when Enhanced Monitoring metrics are 3056 * collected for the DB instance. To disable collecting Enhanced Monitoring 3057 * metrics, specify 0. The default is 0.</p> <p>If <code>MonitoringRoleArn</code> 3058 * is specified, then you must also set <code>MonitoringInterval</code> to a value 3059 * other than 0.</p> <p>Valid Values: <code>0, 1, 5, 10, 15, 30, 60</code> </p> 3060 */ MonitoringIntervalHasBeenSet()3061 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; } 3062 3063 /** 3064 * <p>The interval, in seconds, between points when Enhanced Monitoring metrics are 3065 * collected for the DB instance. To disable collecting Enhanced Monitoring 3066 * metrics, specify 0. The default is 0.</p> <p>If <code>MonitoringRoleArn</code> 3067 * is specified, then you must also set <code>MonitoringInterval</code> to a value 3068 * other than 0.</p> <p>Valid Values: <code>0, 1, 5, 10, 15, 30, 60</code> </p> 3069 */ SetMonitoringInterval(int value)3070 inline void SetMonitoringInterval(int value) { m_monitoringIntervalHasBeenSet = true; m_monitoringInterval = value; } 3071 3072 /** 3073 * <p>The interval, in seconds, between points when Enhanced Monitoring metrics are 3074 * collected for the DB instance. To disable collecting Enhanced Monitoring 3075 * metrics, specify 0. The default is 0.</p> <p>If <code>MonitoringRoleArn</code> 3076 * is specified, then you must also set <code>MonitoringInterval</code> to a value 3077 * other than 0.</p> <p>Valid Values: <code>0, 1, 5, 10, 15, 30, 60</code> </p> 3078 */ WithMonitoringInterval(int value)3079 inline CreateDBInstanceRequest& WithMonitoringInterval(int value) { SetMonitoringInterval(value); return *this;} 3080 3081 3082 /** 3083 * <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics 3084 * to Amazon CloudWatch Logs. For example, 3085 * <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating 3086 * a monitoring role, go to <a 3087 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting 3088 * Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p> 3089 * <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you 3090 * must supply a <code>MonitoringRoleArn</code> value.</p> 3091 */ GetMonitoringRoleArn()3092 inline const Aws::String& GetMonitoringRoleArn() const{ return m_monitoringRoleArn; } 3093 3094 /** 3095 * <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics 3096 * to Amazon CloudWatch Logs. For example, 3097 * <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating 3098 * a monitoring role, go to <a 3099 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting 3100 * Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p> 3101 * <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you 3102 * must supply a <code>MonitoringRoleArn</code> value.</p> 3103 */ MonitoringRoleArnHasBeenSet()3104 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; } 3105 3106 /** 3107 * <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics 3108 * to Amazon CloudWatch Logs. For example, 3109 * <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating 3110 * a monitoring role, go to <a 3111 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting 3112 * Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p> 3113 * <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you 3114 * must supply a <code>MonitoringRoleArn</code> value.</p> 3115 */ SetMonitoringRoleArn(const Aws::String & value)3116 inline void SetMonitoringRoleArn(const Aws::String& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = value; } 3117 3118 /** 3119 * <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics 3120 * to Amazon CloudWatch Logs. For example, 3121 * <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating 3122 * a monitoring role, go to <a 3123 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting 3124 * Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p> 3125 * <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you 3126 * must supply a <code>MonitoringRoleArn</code> value.</p> 3127 */ SetMonitoringRoleArn(Aws::String && value)3128 inline void SetMonitoringRoleArn(Aws::String&& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = std::move(value); } 3129 3130 /** 3131 * <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics 3132 * to Amazon CloudWatch Logs. For example, 3133 * <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating 3134 * a monitoring role, go to <a 3135 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting 3136 * Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p> 3137 * <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you 3138 * must supply a <code>MonitoringRoleArn</code> value.</p> 3139 */ SetMonitoringRoleArn(const char * value)3140 inline void SetMonitoringRoleArn(const char* value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn.assign(value); } 3141 3142 /** 3143 * <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics 3144 * to Amazon CloudWatch Logs. For example, 3145 * <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating 3146 * a monitoring role, go to <a 3147 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting 3148 * Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p> 3149 * <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you 3150 * must supply a <code>MonitoringRoleArn</code> value.</p> 3151 */ WithMonitoringRoleArn(const Aws::String & value)3152 inline CreateDBInstanceRequest& WithMonitoringRoleArn(const Aws::String& value) { SetMonitoringRoleArn(value); return *this;} 3153 3154 /** 3155 * <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics 3156 * to Amazon CloudWatch Logs. For example, 3157 * <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating 3158 * a monitoring role, go to <a 3159 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting 3160 * Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p> 3161 * <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you 3162 * must supply a <code>MonitoringRoleArn</code> value.</p> 3163 */ WithMonitoringRoleArn(Aws::String && value)3164 inline CreateDBInstanceRequest& WithMonitoringRoleArn(Aws::String&& value) { SetMonitoringRoleArn(std::move(value)); return *this;} 3165 3166 /** 3167 * <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics 3168 * to Amazon CloudWatch Logs. For example, 3169 * <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating 3170 * a monitoring role, go to <a 3171 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting 3172 * Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p> 3173 * <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you 3174 * must supply a <code>MonitoringRoleArn</code> value.</p> 3175 */ WithMonitoringRoleArn(const char * value)3176 inline CreateDBInstanceRequest& WithMonitoringRoleArn(const char* value) { SetMonitoringRoleArn(value); return *this;} 3177 3178 3179 /** 3180 * <p>Specify the name of the IAM role to be used when making API calls to the 3181 * Directory Service.</p> 3182 */ GetDomainIAMRoleName()3183 inline const Aws::String& GetDomainIAMRoleName() const{ return m_domainIAMRoleName; } 3184 3185 /** 3186 * <p>Specify the name of the IAM role to be used when making API calls to the 3187 * Directory Service.</p> 3188 */ DomainIAMRoleNameHasBeenSet()3189 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; } 3190 3191 /** 3192 * <p>Specify the name of the IAM role to be used when making API calls to the 3193 * Directory Service.</p> 3194 */ SetDomainIAMRoleName(const Aws::String & value)3195 inline void SetDomainIAMRoleName(const Aws::String& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = value; } 3196 3197 /** 3198 * <p>Specify the name of the IAM role to be used when making API calls to the 3199 * Directory Service.</p> 3200 */ SetDomainIAMRoleName(Aws::String && value)3201 inline void SetDomainIAMRoleName(Aws::String&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::move(value); } 3202 3203 /** 3204 * <p>Specify the name of the IAM role to be used when making API calls to the 3205 * Directory Service.</p> 3206 */ SetDomainIAMRoleName(const char * value)3207 inline void SetDomainIAMRoleName(const char* value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName.assign(value); } 3208 3209 /** 3210 * <p>Specify the name of the IAM role to be used when making API calls to the 3211 * Directory Service.</p> 3212 */ WithDomainIAMRoleName(const Aws::String & value)3213 inline CreateDBInstanceRequest& WithDomainIAMRoleName(const Aws::String& value) { SetDomainIAMRoleName(value); return *this;} 3214 3215 /** 3216 * <p>Specify the name of the IAM role to be used when making API calls to the 3217 * Directory Service.</p> 3218 */ WithDomainIAMRoleName(Aws::String && value)3219 inline CreateDBInstanceRequest& WithDomainIAMRoleName(Aws::String&& value) { SetDomainIAMRoleName(std::move(value)); return *this;} 3220 3221 /** 3222 * <p>Specify the name of the IAM role to be used when making API calls to the 3223 * Directory Service.</p> 3224 */ WithDomainIAMRoleName(const char * value)3225 inline CreateDBInstanceRequest& WithDomainIAMRoleName(const char* value) { SetDomainIAMRoleName(value); return *this;} 3226 3227 3228 /** 3229 * <p>A value that specifies the order in which an Aurora Replica is promoted to 3230 * the primary instance after a failure of the existing primary instance. For more 3231 * information, see <a 3232 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance"> 3233 * Fault Tolerance for an Aurora DB Cluster</a> in the <i>Amazon Aurora User 3234 * Guide</i>. </p> <p>Default: 1</p> <p>Valid Values: 0 - 15</p> 3235 */ GetPromotionTier()3236 inline int GetPromotionTier() const{ return m_promotionTier; } 3237 3238 /** 3239 * <p>A value that specifies the order in which an Aurora Replica is promoted to 3240 * the primary instance after a failure of the existing primary instance. For more 3241 * information, see <a 3242 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance"> 3243 * Fault Tolerance for an Aurora DB Cluster</a> in the <i>Amazon Aurora User 3244 * Guide</i>. </p> <p>Default: 1</p> <p>Valid Values: 0 - 15</p> 3245 */ PromotionTierHasBeenSet()3246 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; } 3247 3248 /** 3249 * <p>A value that specifies the order in which an Aurora Replica is promoted to 3250 * the primary instance after a failure of the existing primary instance. For more 3251 * information, see <a 3252 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance"> 3253 * Fault Tolerance for an Aurora DB Cluster</a> in the <i>Amazon Aurora User 3254 * Guide</i>. </p> <p>Default: 1</p> <p>Valid Values: 0 - 15</p> 3255 */ SetPromotionTier(int value)3256 inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; } 3257 3258 /** 3259 * <p>A value that specifies the order in which an Aurora Replica is promoted to 3260 * the primary instance after a failure of the existing primary instance. For more 3261 * information, see <a 3262 * href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance"> 3263 * Fault Tolerance for an Aurora DB Cluster</a> in the <i>Amazon Aurora User 3264 * Guide</i>. </p> <p>Default: 1</p> <p>Valid Values: 0 - 15</p> 3265 */ WithPromotionTier(int value)3266 inline CreateDBInstanceRequest& WithPromotionTier(int value) { SetPromotionTier(value); return *this;} 3267 3268 3269 /** 3270 * <p>The time zone of the DB instance. The time zone parameter is currently 3271 * supported only by <a 3272 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">Microsoft 3273 * SQL Server</a>. </p> 3274 */ GetTimezone()3275 inline const Aws::String& GetTimezone() const{ return m_timezone; } 3276 3277 /** 3278 * <p>The time zone of the DB instance. The time zone parameter is currently 3279 * supported only by <a 3280 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">Microsoft 3281 * SQL Server</a>. </p> 3282 */ TimezoneHasBeenSet()3283 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; } 3284 3285 /** 3286 * <p>The time zone of the DB instance. The time zone parameter is currently 3287 * supported only by <a 3288 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">Microsoft 3289 * SQL Server</a>. </p> 3290 */ SetTimezone(const Aws::String & value)3291 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; } 3292 3293 /** 3294 * <p>The time zone of the DB instance. The time zone parameter is currently 3295 * supported only by <a 3296 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">Microsoft 3297 * SQL Server</a>. </p> 3298 */ SetTimezone(Aws::String && value)3299 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); } 3300 3301 /** 3302 * <p>The time zone of the DB instance. The time zone parameter is currently 3303 * supported only by <a 3304 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">Microsoft 3305 * SQL Server</a>. </p> 3306 */ SetTimezone(const char * value)3307 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); } 3308 3309 /** 3310 * <p>The time zone of the DB instance. The time zone parameter is currently 3311 * supported only by <a 3312 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">Microsoft 3313 * SQL Server</a>. </p> 3314 */ WithTimezone(const Aws::String & value)3315 inline CreateDBInstanceRequest& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} 3316 3317 /** 3318 * <p>The time zone of the DB instance. The time zone parameter is currently 3319 * supported only by <a 3320 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">Microsoft 3321 * SQL Server</a>. </p> 3322 */ WithTimezone(Aws::String && value)3323 inline CreateDBInstanceRequest& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} 3324 3325 /** 3326 * <p>The time zone of the DB instance. The time zone parameter is currently 3327 * supported only by <a 3328 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">Microsoft 3329 * SQL Server</a>. </p> 3330 */ WithTimezone(const char * value)3331 inline CreateDBInstanceRequest& WithTimezone(const char* value) { SetTimezone(value); return *this;} 3332 3333 3334 /** 3335 * <p>A value that indicates whether to enable mapping of Amazon Web Services 3336 * Identity and Access Management (IAM) accounts to database accounts. By default, 3337 * mapping is disabled.</p> <p>This setting doesn't apply to Amazon Aurora. Mapping 3338 * Amazon Web Services IAM accounts to database accounts is managed by the DB 3339 * cluster.</p> <p>For more information, see <a 3340 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html"> 3341 * IAM Database Authentication for MySQL and PostgreSQL</a> in the <i>Amazon RDS 3342 * User Guide.</i> </p> 3343 */ GetEnableIAMDatabaseAuthentication()3344 inline bool GetEnableIAMDatabaseAuthentication() const{ return m_enableIAMDatabaseAuthentication; } 3345 3346 /** 3347 * <p>A value that indicates whether to enable mapping of Amazon Web Services 3348 * Identity and Access Management (IAM) accounts to database accounts. By default, 3349 * mapping is disabled.</p> <p>This setting doesn't apply to Amazon Aurora. Mapping 3350 * Amazon Web Services IAM accounts to database accounts is managed by the DB 3351 * cluster.</p> <p>For more information, see <a 3352 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html"> 3353 * IAM Database Authentication for MySQL and PostgreSQL</a> in the <i>Amazon RDS 3354 * User Guide.</i> </p> 3355 */ EnableIAMDatabaseAuthenticationHasBeenSet()3356 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; } 3357 3358 /** 3359 * <p>A value that indicates whether to enable mapping of Amazon Web Services 3360 * Identity and Access Management (IAM) accounts to database accounts. By default, 3361 * mapping is disabled.</p> <p>This setting doesn't apply to Amazon Aurora. Mapping 3362 * Amazon Web Services IAM accounts to database accounts is managed by the DB 3363 * cluster.</p> <p>For more information, see <a 3364 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html"> 3365 * IAM Database Authentication for MySQL and PostgreSQL</a> in the <i>Amazon RDS 3366 * User Guide.</i> </p> 3367 */ SetEnableIAMDatabaseAuthentication(bool value)3368 inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; } 3369 3370 /** 3371 * <p>A value that indicates whether to enable mapping of Amazon Web Services 3372 * Identity and Access Management (IAM) accounts to database accounts. By default, 3373 * mapping is disabled.</p> <p>This setting doesn't apply to Amazon Aurora. Mapping 3374 * Amazon Web Services IAM accounts to database accounts is managed by the DB 3375 * cluster.</p> <p>For more information, see <a 3376 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html"> 3377 * IAM Database Authentication for MySQL and PostgreSQL</a> in the <i>Amazon RDS 3378 * User Guide.</i> </p> 3379 */ WithEnableIAMDatabaseAuthentication(bool value)3380 inline CreateDBInstanceRequest& WithEnableIAMDatabaseAuthentication(bool value) { SetEnableIAMDatabaseAuthentication(value); return *this;} 3381 3382 3383 /** 3384 * <p>A value that indicates whether to enable Performance Insights for the DB 3385 * instance. </p> <p>For more information, see <a 3386 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Using 3387 * Amazon Performance Insights</a> in the <i>Amazon Relational Database Service 3388 * User Guide</i>. </p> 3389 */ GetEnablePerformanceInsights()3390 inline bool GetEnablePerformanceInsights() const{ return m_enablePerformanceInsights; } 3391 3392 /** 3393 * <p>A value that indicates whether to enable Performance Insights for the DB 3394 * instance. </p> <p>For more information, see <a 3395 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Using 3396 * Amazon Performance Insights</a> in the <i>Amazon Relational Database Service 3397 * User Guide</i>. </p> 3398 */ EnablePerformanceInsightsHasBeenSet()3399 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; } 3400 3401 /** 3402 * <p>A value that indicates whether to enable Performance Insights for the DB 3403 * instance. </p> <p>For more information, see <a 3404 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Using 3405 * Amazon Performance Insights</a> in the <i>Amazon Relational Database Service 3406 * User Guide</i>. </p> 3407 */ SetEnablePerformanceInsights(bool value)3408 inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; } 3409 3410 /** 3411 * <p>A value that indicates whether to enable Performance Insights for the DB 3412 * instance. </p> <p>For more information, see <a 3413 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Using 3414 * Amazon Performance Insights</a> in the <i>Amazon Relational Database Service 3415 * User Guide</i>. </p> 3416 */ WithEnablePerformanceInsights(bool value)3417 inline CreateDBInstanceRequest& WithEnablePerformanceInsights(bool value) { SetEnablePerformanceInsights(value); return *this;} 3418 3419 3420 /** 3421 * <p>The Amazon Web Services KMS key identifier for encryption of Performance 3422 * Insights data.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, 3423 * key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master 3424 * key (CMK).</p> <p>If you do not specify a value for 3425 * <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default CMK. 3426 * There is a default CMK for your Amazon Web Services account. Your Amazon Web 3427 * Services account has a different default CMK for each Amazon Web Services 3428 * Region.</p> 3429 */ GetPerformanceInsightsKMSKeyId()3430 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; } 3431 3432 /** 3433 * <p>The Amazon Web Services KMS key identifier for encryption of Performance 3434 * Insights data.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, 3435 * key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master 3436 * key (CMK).</p> <p>If you do not specify a value for 3437 * <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default CMK. 3438 * There is a default CMK for your Amazon Web Services account. Your Amazon Web 3439 * Services account has a different default CMK for each Amazon Web Services 3440 * Region.</p> 3441 */ PerformanceInsightsKMSKeyIdHasBeenSet()3442 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; } 3443 3444 /** 3445 * <p>The Amazon Web Services KMS key identifier for encryption of Performance 3446 * Insights data.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, 3447 * key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master 3448 * key (CMK).</p> <p>If you do not specify a value for 3449 * <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default CMK. 3450 * There is a default CMK for your Amazon Web Services account. Your Amazon Web 3451 * Services account has a different default CMK for each Amazon Web Services 3452 * Region.</p> 3453 */ SetPerformanceInsightsKMSKeyId(const Aws::String & value)3454 inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; } 3455 3456 /** 3457 * <p>The Amazon Web Services KMS key identifier for encryption of Performance 3458 * Insights data.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, 3459 * key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master 3460 * key (CMK).</p> <p>If you do not specify a value for 3461 * <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default CMK. 3462 * There is a default CMK for your Amazon Web Services account. Your Amazon Web 3463 * Services account has a different default CMK for each Amazon Web Services 3464 * Region.</p> 3465 */ SetPerformanceInsightsKMSKeyId(Aws::String && value)3466 inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); } 3467 3468 /** 3469 * <p>The Amazon Web Services KMS key identifier for encryption of Performance 3470 * Insights data.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, 3471 * key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master 3472 * key (CMK).</p> <p>If you do not specify a value for 3473 * <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default CMK. 3474 * There is a default CMK for your Amazon Web Services account. Your Amazon Web 3475 * Services account has a different default CMK for each Amazon Web Services 3476 * Region.</p> 3477 */ SetPerformanceInsightsKMSKeyId(const char * value)3478 inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); } 3479 3480 /** 3481 * <p>The Amazon Web Services KMS key identifier for encryption of Performance 3482 * Insights data.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, 3483 * key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master 3484 * key (CMK).</p> <p>If you do not specify a value for 3485 * <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default CMK. 3486 * There is a default CMK for your Amazon Web Services account. Your Amazon Web 3487 * Services account has a different default CMK for each Amazon Web Services 3488 * Region.</p> 3489 */ WithPerformanceInsightsKMSKeyId(const Aws::String & value)3490 inline CreateDBInstanceRequest& WithPerformanceInsightsKMSKeyId(const Aws::String& value) { SetPerformanceInsightsKMSKeyId(value); return *this;} 3491 3492 /** 3493 * <p>The Amazon Web Services KMS key identifier for encryption of Performance 3494 * Insights data.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, 3495 * key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master 3496 * key (CMK).</p> <p>If you do not specify a value for 3497 * <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default CMK. 3498 * There is a default CMK for your Amazon Web Services account. Your Amazon Web 3499 * Services account has a different default CMK for each Amazon Web Services 3500 * Region.</p> 3501 */ WithPerformanceInsightsKMSKeyId(Aws::String && value)3502 inline CreateDBInstanceRequest& WithPerformanceInsightsKMSKeyId(Aws::String&& value) { SetPerformanceInsightsKMSKeyId(std::move(value)); return *this;} 3503 3504 /** 3505 * <p>The Amazon Web Services KMS key identifier for encryption of Performance 3506 * Insights data.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, 3507 * key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master 3508 * key (CMK).</p> <p>If you do not specify a value for 3509 * <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default CMK. 3510 * There is a default CMK for your Amazon Web Services account. Your Amazon Web 3511 * Services account has a different default CMK for each Amazon Web Services 3512 * Region.</p> 3513 */ WithPerformanceInsightsKMSKeyId(const char * value)3514 inline CreateDBInstanceRequest& WithPerformanceInsightsKMSKeyId(const char* value) { SetPerformanceInsightsKMSKeyId(value); return *this;} 3515 3516 3517 /** 3518 * <p>The amount of time, in days, to retain Performance Insights data. Valid 3519 * values are 7 or 731 (2 years). </p> 3520 */ GetPerformanceInsightsRetentionPeriod()3521 inline int GetPerformanceInsightsRetentionPeriod() const{ return m_performanceInsightsRetentionPeriod; } 3522 3523 /** 3524 * <p>The amount of time, in days, to retain Performance Insights data. Valid 3525 * values are 7 or 731 (2 years). </p> 3526 */ PerformanceInsightsRetentionPeriodHasBeenSet()3527 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; } 3528 3529 /** 3530 * <p>The amount of time, in days, to retain Performance Insights data. Valid 3531 * values are 7 or 731 (2 years). </p> 3532 */ SetPerformanceInsightsRetentionPeriod(int value)3533 inline void SetPerformanceInsightsRetentionPeriod(int value) { m_performanceInsightsRetentionPeriodHasBeenSet = true; m_performanceInsightsRetentionPeriod = value; } 3534 3535 /** 3536 * <p>The amount of time, in days, to retain Performance Insights data. Valid 3537 * values are 7 or 731 (2 years). </p> 3538 */ WithPerformanceInsightsRetentionPeriod(int value)3539 inline CreateDBInstanceRequest& WithPerformanceInsightsRetentionPeriod(int value) { SetPerformanceInsightsRetentionPeriod(value); return *this;} 3540 3541 3542 /** 3543 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3544 * Logs. The values in the list depend on the DB engine being used. For more 3545 * information, see <a 3546 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3547 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3548 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3549 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3550 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3551 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3552 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3553 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3554 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3555 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3556 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3557 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3558 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3559 */ GetEnableCloudwatchLogsExports()3560 inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const{ return m_enableCloudwatchLogsExports; } 3561 3562 /** 3563 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3564 * Logs. The values in the list depend on the DB engine being used. For more 3565 * information, see <a 3566 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3567 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3568 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3569 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3570 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3571 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3572 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3573 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3574 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3575 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3576 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3577 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3578 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3579 */ EnableCloudwatchLogsExportsHasBeenSet()3580 inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; } 3581 3582 /** 3583 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3584 * Logs. The values in the list depend on the DB engine being used. For more 3585 * information, see <a 3586 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3587 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3588 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3589 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3590 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3591 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3592 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3593 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3594 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3595 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3596 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3597 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3598 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3599 */ SetEnableCloudwatchLogsExports(const Aws::Vector<Aws::String> & value)3600 inline void SetEnableCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = value; } 3601 3602 /** 3603 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3604 * Logs. The values in the list depend on the DB engine being used. For more 3605 * information, see <a 3606 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3607 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3608 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3609 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3610 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3611 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3612 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3613 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3614 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3615 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3616 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3617 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3618 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3619 */ SetEnableCloudwatchLogsExports(Aws::Vector<Aws::String> && value)3620 inline void SetEnableCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = std::move(value); } 3621 3622 /** 3623 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3624 * Logs. The values in the list depend on the DB engine being used. For more 3625 * information, see <a 3626 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3627 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3628 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3629 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3630 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3631 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3632 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3633 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3634 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3635 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3636 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3637 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3638 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3639 */ WithEnableCloudwatchLogsExports(const Aws::Vector<Aws::String> & value)3640 inline CreateDBInstanceRequest& WithEnableCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { SetEnableCloudwatchLogsExports(value); return *this;} 3641 3642 /** 3643 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3644 * Logs. The values in the list depend on the DB engine being used. For more 3645 * information, see <a 3646 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3647 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3648 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3649 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3650 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3651 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3652 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3653 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3654 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3655 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3656 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3657 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3658 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3659 */ WithEnableCloudwatchLogsExports(Aws::Vector<Aws::String> && value)3660 inline CreateDBInstanceRequest& WithEnableCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { SetEnableCloudwatchLogsExports(std::move(value)); return *this;} 3661 3662 /** 3663 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3664 * Logs. The values in the list depend on the DB engine being used. For more 3665 * information, see <a 3666 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3667 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3668 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3669 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3670 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3671 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3672 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3673 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3674 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3675 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3676 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3677 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3678 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3679 */ AddEnableCloudwatchLogsExports(const Aws::String & value)3680 inline CreateDBInstanceRequest& AddEnableCloudwatchLogsExports(const Aws::String& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; } 3681 3682 /** 3683 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3684 * Logs. The values in the list depend on the DB engine being used. For more 3685 * information, see <a 3686 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3687 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3688 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3689 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3690 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3691 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3692 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3693 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3694 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3695 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3696 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3697 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3698 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3699 */ AddEnableCloudwatchLogsExports(Aws::String && value)3700 inline CreateDBInstanceRequest& AddEnableCloudwatchLogsExports(Aws::String&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(std::move(value)); return *this; } 3701 3702 /** 3703 * <p>The list of log types that need to be enabled for exporting to CloudWatch 3704 * Logs. The values in the list depend on the DB engine being used. For more 3705 * information, see <a 3706 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing 3707 * Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon Relational 3708 * Database Service User Guide</i>.</p> <p> <b>Amazon Aurora</b> </p> <p>Not 3709 * applicable. CloudWatch Logs exports are managed by the DB cluster. </p> <p> 3710 * <b>MariaDB</b> </p> <p>Possible values are <code>audit</code>, 3711 * <code>error</code>, <code>general</code>, and <code>slowquery</code>. </p> <p> 3712 * <b>Microsoft SQL Server</b> </p> <p>Possible values are <code>agent</code> and 3713 * <code>error</code>. </p> <p> <b>MySQL</b> </p> <p>Possible values are 3714 * <code>audit</code>, <code>error</code>, <code>general</code>, and 3715 * <code>slowquery</code>. </p> <p> <b>Oracle</b> </p> <p>Possible values are 3716 * <code>alert</code>, <code>audit</code>, <code>listener</code>, 3717 * <code>trace</code>, and <code>oemagent</code>. </p> <p> <b>PostgreSQL</b> </p> 3718 * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>. </p> 3719 */ AddEnableCloudwatchLogsExports(const char * value)3720 inline CreateDBInstanceRequest& AddEnableCloudwatchLogsExports(const char* value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; } 3721 3722 3723 /** 3724 * <p>The number of CPU cores and the number of threads per core for the DB 3725 * instance class of the DB instance.</p> 3726 */ GetProcessorFeatures()3727 inline const Aws::Vector<ProcessorFeature>& GetProcessorFeatures() const{ return m_processorFeatures; } 3728 3729 /** 3730 * <p>The number of CPU cores and the number of threads per core for the DB 3731 * instance class of the DB instance.</p> 3732 */ ProcessorFeaturesHasBeenSet()3733 inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; } 3734 3735 /** 3736 * <p>The number of CPU cores and the number of threads per core for the DB 3737 * instance class of the DB instance.</p> 3738 */ SetProcessorFeatures(const Aws::Vector<ProcessorFeature> & value)3739 inline void SetProcessorFeatures(const Aws::Vector<ProcessorFeature>& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = value; } 3740 3741 /** 3742 * <p>The number of CPU cores and the number of threads per core for the DB 3743 * instance class of the DB instance.</p> 3744 */ SetProcessorFeatures(Aws::Vector<ProcessorFeature> && value)3745 inline void SetProcessorFeatures(Aws::Vector<ProcessorFeature>&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = std::move(value); } 3746 3747 /** 3748 * <p>The number of CPU cores and the number of threads per core for the DB 3749 * instance class of the DB instance.</p> 3750 */ WithProcessorFeatures(const Aws::Vector<ProcessorFeature> & value)3751 inline CreateDBInstanceRequest& WithProcessorFeatures(const Aws::Vector<ProcessorFeature>& value) { SetProcessorFeatures(value); return *this;} 3752 3753 /** 3754 * <p>The number of CPU cores and the number of threads per core for the DB 3755 * instance class of the DB instance.</p> 3756 */ WithProcessorFeatures(Aws::Vector<ProcessorFeature> && value)3757 inline CreateDBInstanceRequest& WithProcessorFeatures(Aws::Vector<ProcessorFeature>&& value) { SetProcessorFeatures(std::move(value)); return *this;} 3758 3759 /** 3760 * <p>The number of CPU cores and the number of threads per core for the DB 3761 * instance class of the DB instance.</p> 3762 */ AddProcessorFeatures(const ProcessorFeature & value)3763 inline CreateDBInstanceRequest& AddProcessorFeatures(const ProcessorFeature& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(value); return *this; } 3764 3765 /** 3766 * <p>The number of CPU cores and the number of threads per core for the DB 3767 * instance class of the DB instance.</p> 3768 */ AddProcessorFeatures(ProcessorFeature && value)3769 inline CreateDBInstanceRequest& AddProcessorFeatures(ProcessorFeature&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(std::move(value)); return *this; } 3770 3771 3772 /** 3773 * <p>A value that indicates whether the DB instance has deletion protection 3774 * enabled. The database can't be deleted when deletion protection is enabled. By 3775 * default, deletion protection is disabled. For more information, see <a 3776 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> 3777 * Deleting a DB Instance</a>. </p> <p> <b>Amazon Aurora</b> </p> <p>Not 3778 * applicable. You can enable or disable deletion protection for the DB cluster. 3779 * For more information, see <code>CreateDBCluster</code>. DB instances in a DB 3780 * cluster can be deleted even when deletion protection is enabled for the DB 3781 * cluster. </p> 3782 */ GetDeletionProtection()3783 inline bool GetDeletionProtection() const{ return m_deletionProtection; } 3784 3785 /** 3786 * <p>A value that indicates whether the DB instance has deletion protection 3787 * enabled. The database can't be deleted when deletion protection is enabled. By 3788 * default, deletion protection is disabled. For more information, see <a 3789 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> 3790 * Deleting a DB Instance</a>. </p> <p> <b>Amazon Aurora</b> </p> <p>Not 3791 * applicable. You can enable or disable deletion protection for the DB cluster. 3792 * For more information, see <code>CreateDBCluster</code>. DB instances in a DB 3793 * cluster can be deleted even when deletion protection is enabled for the DB 3794 * cluster. </p> 3795 */ DeletionProtectionHasBeenSet()3796 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; } 3797 3798 /** 3799 * <p>A value that indicates whether the DB instance has deletion protection 3800 * enabled. The database can't be deleted when deletion protection is enabled. By 3801 * default, deletion protection is disabled. For more information, see <a 3802 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> 3803 * Deleting a DB Instance</a>. </p> <p> <b>Amazon Aurora</b> </p> <p>Not 3804 * applicable. You can enable or disable deletion protection for the DB cluster. 3805 * For more information, see <code>CreateDBCluster</code>. DB instances in a DB 3806 * cluster can be deleted even when deletion protection is enabled for the DB 3807 * cluster. </p> 3808 */ SetDeletionProtection(bool value)3809 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; } 3810 3811 /** 3812 * <p>A value that indicates whether the DB instance has deletion protection 3813 * enabled. The database can't be deleted when deletion protection is enabled. By 3814 * default, deletion protection is disabled. For more information, see <a 3815 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> 3816 * Deleting a DB Instance</a>. </p> <p> <b>Amazon Aurora</b> </p> <p>Not 3817 * applicable. You can enable or disable deletion protection for the DB cluster. 3818 * For more information, see <code>CreateDBCluster</code>. DB instances in a DB 3819 * cluster can be deleted even when deletion protection is enabled for the DB 3820 * cluster. </p> 3821 */ WithDeletionProtection(bool value)3822 inline CreateDBInstanceRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} 3823 3824 3825 /** 3826 * <p>The upper limit in gibibytes (GiB) to which Amazon RDS can automatically 3827 * scale the storage of the DB instance.</p> <p>For more information about this 3828 * setting, including limitations that apply to it, see <a 3829 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling"> 3830 * Managing capacity automatically with Amazon RDS storage autoscaling</a> in the 3831 * <i>Amazon RDS User Guide</i>.</p> 3832 */ GetMaxAllocatedStorage()3833 inline int GetMaxAllocatedStorage() const{ return m_maxAllocatedStorage; } 3834 3835 /** 3836 * <p>The upper limit in gibibytes (GiB) to which Amazon RDS can automatically 3837 * scale the storage of the DB instance.</p> <p>For more information about this 3838 * setting, including limitations that apply to it, see <a 3839 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling"> 3840 * Managing capacity automatically with Amazon RDS storage autoscaling</a> in the 3841 * <i>Amazon RDS User Guide</i>.</p> 3842 */ MaxAllocatedStorageHasBeenSet()3843 inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; } 3844 3845 /** 3846 * <p>The upper limit in gibibytes (GiB) to which Amazon RDS can automatically 3847 * scale the storage of the DB instance.</p> <p>For more information about this 3848 * setting, including limitations that apply to it, see <a 3849 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling"> 3850 * Managing capacity automatically with Amazon RDS storage autoscaling</a> in the 3851 * <i>Amazon RDS User Guide</i>.</p> 3852 */ SetMaxAllocatedStorage(int value)3853 inline void SetMaxAllocatedStorage(int value) { m_maxAllocatedStorageHasBeenSet = true; m_maxAllocatedStorage = value; } 3854 3855 /** 3856 * <p>The upper limit in gibibytes (GiB) to which Amazon RDS can automatically 3857 * scale the storage of the DB instance.</p> <p>For more information about this 3858 * setting, including limitations that apply to it, see <a 3859 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling"> 3860 * Managing capacity automatically with Amazon RDS storage autoscaling</a> in the 3861 * <i>Amazon RDS User Guide</i>.</p> 3862 */ WithMaxAllocatedStorage(int value)3863 inline CreateDBInstanceRequest& WithMaxAllocatedStorage(int value) { SetMaxAllocatedStorage(value); return *this;} 3864 3865 3866 /** 3867 * <p>A value that indicates whether to enable a customer-owned IP address (CoIP) 3868 * for an RDS on Outposts DB instance.</p> <p>A <i>CoIP</i> provides local or 3869 * external connectivity to resources in your Outpost subnets through your 3870 * on-premises network. For some use cases, a CoIP can provide lower latency for 3871 * connections to the DB instance from outside of its virtual private cloud (VPC) 3872 * on your local network.</p> <p>For more information about RDS on Outposts, see <a 3873 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working 3874 * with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User 3875 * Guide</i>.</p> <p>For more information about CoIPs, see <a 3876 * href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned 3877 * IP addresses</a> in the <i>Amazon Web Services Outposts User Guide</i>.</p> 3878 */ GetEnableCustomerOwnedIp()3879 inline bool GetEnableCustomerOwnedIp() const{ return m_enableCustomerOwnedIp; } 3880 3881 /** 3882 * <p>A value that indicates whether to enable a customer-owned IP address (CoIP) 3883 * for an RDS on Outposts DB instance.</p> <p>A <i>CoIP</i> provides local or 3884 * external connectivity to resources in your Outpost subnets through your 3885 * on-premises network. For some use cases, a CoIP can provide lower latency for 3886 * connections to the DB instance from outside of its virtual private cloud (VPC) 3887 * on your local network.</p> <p>For more information about RDS on Outposts, see <a 3888 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working 3889 * with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User 3890 * Guide</i>.</p> <p>For more information about CoIPs, see <a 3891 * href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned 3892 * IP addresses</a> in the <i>Amazon Web Services Outposts User Guide</i>.</p> 3893 */ EnableCustomerOwnedIpHasBeenSet()3894 inline bool EnableCustomerOwnedIpHasBeenSet() const { return m_enableCustomerOwnedIpHasBeenSet; } 3895 3896 /** 3897 * <p>A value that indicates whether to enable a customer-owned IP address (CoIP) 3898 * for an RDS on Outposts DB instance.</p> <p>A <i>CoIP</i> provides local or 3899 * external connectivity to resources in your Outpost subnets through your 3900 * on-premises network. For some use cases, a CoIP can provide lower latency for 3901 * connections to the DB instance from outside of its virtual private cloud (VPC) 3902 * on your local network.</p> <p>For more information about RDS on Outposts, see <a 3903 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working 3904 * with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User 3905 * Guide</i>.</p> <p>For more information about CoIPs, see <a 3906 * href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned 3907 * IP addresses</a> in the <i>Amazon Web Services Outposts User Guide</i>.</p> 3908 */ SetEnableCustomerOwnedIp(bool value)3909 inline void SetEnableCustomerOwnedIp(bool value) { m_enableCustomerOwnedIpHasBeenSet = true; m_enableCustomerOwnedIp = value; } 3910 3911 /** 3912 * <p>A value that indicates whether to enable a customer-owned IP address (CoIP) 3913 * for an RDS on Outposts DB instance.</p> <p>A <i>CoIP</i> provides local or 3914 * external connectivity to resources in your Outpost subnets through your 3915 * on-premises network. For some use cases, a CoIP can provide lower latency for 3916 * connections to the DB instance from outside of its virtual private cloud (VPC) 3917 * on your local network.</p> <p>For more information about RDS on Outposts, see <a 3918 * href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working 3919 * with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User 3920 * Guide</i>.</p> <p>For more information about CoIPs, see <a 3921 * href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned 3922 * IP addresses</a> in the <i>Amazon Web Services Outposts User Guide</i>.</p> 3923 */ WithEnableCustomerOwnedIp(bool value)3924 inline CreateDBInstanceRequest& WithEnableCustomerOwnedIp(bool value) { SetEnableCustomerOwnedIp(value); return *this;} 3925 3926 private: 3927 3928 Aws::String m_dBName; 3929 bool m_dBNameHasBeenSet; 3930 3931 Aws::String m_dBInstanceIdentifier; 3932 bool m_dBInstanceIdentifierHasBeenSet; 3933 3934 int m_allocatedStorage; 3935 bool m_allocatedStorageHasBeenSet; 3936 3937 Aws::String m_dBInstanceClass; 3938 bool m_dBInstanceClassHasBeenSet; 3939 3940 Aws::String m_engine; 3941 bool m_engineHasBeenSet; 3942 3943 Aws::String m_masterUsername; 3944 bool m_masterUsernameHasBeenSet; 3945 3946 Aws::String m_masterUserPassword; 3947 bool m_masterUserPasswordHasBeenSet; 3948 3949 Aws::Vector<Aws::String> m_dBSecurityGroups; 3950 bool m_dBSecurityGroupsHasBeenSet; 3951 3952 Aws::Vector<Aws::String> m_vpcSecurityGroupIds; 3953 bool m_vpcSecurityGroupIdsHasBeenSet; 3954 3955 Aws::String m_availabilityZone; 3956 bool m_availabilityZoneHasBeenSet; 3957 3958 Aws::String m_dBSubnetGroupName; 3959 bool m_dBSubnetGroupNameHasBeenSet; 3960 3961 Aws::String m_preferredMaintenanceWindow; 3962 bool m_preferredMaintenanceWindowHasBeenSet; 3963 3964 Aws::String m_dBParameterGroupName; 3965 bool m_dBParameterGroupNameHasBeenSet; 3966 3967 int m_backupRetentionPeriod; 3968 bool m_backupRetentionPeriodHasBeenSet; 3969 3970 Aws::String m_preferredBackupWindow; 3971 bool m_preferredBackupWindowHasBeenSet; 3972 3973 int m_port; 3974 bool m_portHasBeenSet; 3975 3976 bool m_multiAZ; 3977 bool m_multiAZHasBeenSet; 3978 3979 Aws::String m_engineVersion; 3980 bool m_engineVersionHasBeenSet; 3981 3982 bool m_autoMinorVersionUpgrade; 3983 bool m_autoMinorVersionUpgradeHasBeenSet; 3984 3985 Aws::String m_licenseModel; 3986 bool m_licenseModelHasBeenSet; 3987 3988 int m_iops; 3989 bool m_iopsHasBeenSet; 3990 3991 Aws::String m_optionGroupName; 3992 bool m_optionGroupNameHasBeenSet; 3993 3994 Aws::String m_characterSetName; 3995 bool m_characterSetNameHasBeenSet; 3996 3997 Aws::String m_ncharCharacterSetName; 3998 bool m_ncharCharacterSetNameHasBeenSet; 3999 4000 bool m_publiclyAccessible; 4001 bool m_publiclyAccessibleHasBeenSet; 4002 4003 Aws::Vector<Tag> m_tags; 4004 bool m_tagsHasBeenSet; 4005 4006 Aws::String m_dBClusterIdentifier; 4007 bool m_dBClusterIdentifierHasBeenSet; 4008 4009 Aws::String m_storageType; 4010 bool m_storageTypeHasBeenSet; 4011 4012 Aws::String m_tdeCredentialArn; 4013 bool m_tdeCredentialArnHasBeenSet; 4014 4015 Aws::String m_tdeCredentialPassword; 4016 bool m_tdeCredentialPasswordHasBeenSet; 4017 4018 bool m_storageEncrypted; 4019 bool m_storageEncryptedHasBeenSet; 4020 4021 Aws::String m_kmsKeyId; 4022 bool m_kmsKeyIdHasBeenSet; 4023 4024 Aws::String m_domain; 4025 bool m_domainHasBeenSet; 4026 4027 bool m_copyTagsToSnapshot; 4028 bool m_copyTagsToSnapshotHasBeenSet; 4029 4030 int m_monitoringInterval; 4031 bool m_monitoringIntervalHasBeenSet; 4032 4033 Aws::String m_monitoringRoleArn; 4034 bool m_monitoringRoleArnHasBeenSet; 4035 4036 Aws::String m_domainIAMRoleName; 4037 bool m_domainIAMRoleNameHasBeenSet; 4038 4039 int m_promotionTier; 4040 bool m_promotionTierHasBeenSet; 4041 4042 Aws::String m_timezone; 4043 bool m_timezoneHasBeenSet; 4044 4045 bool m_enableIAMDatabaseAuthentication; 4046 bool m_enableIAMDatabaseAuthenticationHasBeenSet; 4047 4048 bool m_enablePerformanceInsights; 4049 bool m_enablePerformanceInsightsHasBeenSet; 4050 4051 Aws::String m_performanceInsightsKMSKeyId; 4052 bool m_performanceInsightsKMSKeyIdHasBeenSet; 4053 4054 int m_performanceInsightsRetentionPeriod; 4055 bool m_performanceInsightsRetentionPeriodHasBeenSet; 4056 4057 Aws::Vector<Aws::String> m_enableCloudwatchLogsExports; 4058 bool m_enableCloudwatchLogsExportsHasBeenSet; 4059 4060 Aws::Vector<ProcessorFeature> m_processorFeatures; 4061 bool m_processorFeaturesHasBeenSet; 4062 4063 bool m_deletionProtection; 4064 bool m_deletionProtectionHasBeenSet; 4065 4066 int m_maxAllocatedStorage; 4067 bool m_maxAllocatedStorageHasBeenSet; 4068 4069 bool m_enableCustomerOwnedIp; 4070 bool m_enableCustomerOwnedIpHasBeenSet; 4071 }; 4072 4073 } // namespace Model 4074 } // namespace RDS 4075 } // namespace Aws 4076