/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
Specifies the name of the option group to be created.
Constraints:
*Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or * contain two consecutive hyphens
Example:
* myoptiongroup
Specifies the name of the option group to be created.
Constraints:
*Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or * contain two consecutive hyphens
Example:
* myoptiongroup
Specifies the name of the option group to be created.
Constraints:
*Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or * contain two consecutive hyphens
Example:
* myoptiongroup
Specifies the name of the option group to be created.
Constraints:
*Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or * contain two consecutive hyphens
Example:
* myoptiongroup
Specifies the name of the option group to be created.
Constraints:
*Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or * contain two consecutive hyphens
Example:
* myoptiongroup
Specifies the name of the option group to be created.
Constraints:
*Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or * contain two consecutive hyphens
Example:
* myoptiongroup
Specifies the name of the option group to be created.
Constraints:
*Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or * contain two consecutive hyphens
Example:
* myoptiongroup
Specifies the name of the option group to be created.
Constraints:
*Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or * contain two consecutive hyphens
Example:
* myoptiongroup
Specifies the name of the engine that this option group should be associated * with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
* oracle-se2
oracle-se2-cdb
postgres
* sqlserver-ee
sqlserver-se
sqlserver-ex
* sqlserver-web
Specifies the name of the engine that this option group should be associated * with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
* oracle-se2
oracle-se2-cdb
postgres
* sqlserver-ee
sqlserver-se
sqlserver-ex
* sqlserver-web
Specifies the name of the engine that this option group should be associated * with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
* oracle-se2
oracle-se2-cdb
postgres
* sqlserver-ee
sqlserver-se
sqlserver-ex
* sqlserver-web
Specifies the name of the engine that this option group should be associated * with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
* oracle-se2
oracle-se2-cdb
postgres
* sqlserver-ee
sqlserver-se
sqlserver-ex
* sqlserver-web
Specifies the name of the engine that this option group should be associated * with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
* oracle-se2
oracle-se2-cdb
postgres
* sqlserver-ee
sqlserver-se
sqlserver-ex
* sqlserver-web
Specifies the name of the engine that this option group should be associated * with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
* oracle-se2
oracle-se2-cdb
postgres
* sqlserver-ee
sqlserver-se
sqlserver-ex
* sqlserver-web
Specifies the name of the engine that this option group should be associated * with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
* oracle-se2
oracle-se2-cdb
postgres
* sqlserver-ee
sqlserver-se
sqlserver-ex
* sqlserver-web
Specifies the name of the engine that this option group should be associated * with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
* oracle-se2
oracle-se2-cdb
postgres
* sqlserver-ee
sqlserver-se
sqlserver-ex
* sqlserver-web
Specifies the major version of the engine that this option group should be * associated with.
*/ inline const Aws::String& GetMajorEngineVersion() const{ return m_majorEngineVersion; } /** *Specifies the major version of the engine that this option group should be * associated with.
*/ inline bool MajorEngineVersionHasBeenSet() const { return m_majorEngineVersionHasBeenSet; } /** *Specifies the major version of the engine that this option group should be * associated with.
*/ inline void SetMajorEngineVersion(const Aws::String& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = value; } /** *Specifies the major version of the engine that this option group should be * associated with.
*/ inline void SetMajorEngineVersion(Aws::String&& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = std::move(value); } /** *Specifies the major version of the engine that this option group should be * associated with.
*/ inline void SetMajorEngineVersion(const char* value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion.assign(value); } /** *Specifies the major version of the engine that this option group should be * associated with.
*/ inline CreateOptionGroupRequest& WithMajorEngineVersion(const Aws::String& value) { SetMajorEngineVersion(value); return *this;} /** *Specifies the major version of the engine that this option group should be * associated with.
*/ inline CreateOptionGroupRequest& WithMajorEngineVersion(Aws::String&& value) { SetMajorEngineVersion(std::move(value)); return *this;} /** *Specifies the major version of the engine that this option group should be * associated with.
*/ inline CreateOptionGroupRequest& WithMajorEngineVersion(const char* value) { SetMajorEngineVersion(value); return *this;} /** *The description of the option group.
*/ inline const Aws::String& GetOptionGroupDescription() const{ return m_optionGroupDescription; } /** *The description of the option group.
*/ inline bool OptionGroupDescriptionHasBeenSet() const { return m_optionGroupDescriptionHasBeenSet; } /** *The description of the option group.
*/ inline void SetOptionGroupDescription(const Aws::String& value) { m_optionGroupDescriptionHasBeenSet = true; m_optionGroupDescription = value; } /** *The description of the option group.
*/ inline void SetOptionGroupDescription(Aws::String&& value) { m_optionGroupDescriptionHasBeenSet = true; m_optionGroupDescription = std::move(value); } /** *The description of the option group.
*/ inline void SetOptionGroupDescription(const char* value) { m_optionGroupDescriptionHasBeenSet = true; m_optionGroupDescription.assign(value); } /** *The description of the option group.
*/ inline CreateOptionGroupRequest& WithOptionGroupDescription(const Aws::String& value) { SetOptionGroupDescription(value); return *this;} /** *The description of the option group.
*/ inline CreateOptionGroupRequest& WithOptionGroupDescription(Aws::String&& value) { SetOptionGroupDescription(std::move(value)); return *this;} /** *The description of the option group.
*/ inline CreateOptionGroupRequest& WithOptionGroupDescription(const char* value) { SetOptionGroupDescription(value); return *this;} /** *Tags to assign to the option group.
*/ inline const Aws::VectorTags to assign to the option group.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Tags to assign to the option group.
*/ inline void SetTags(const Aws::VectorTags to assign to the option group.
*/ inline void SetTags(Aws::VectorTags to assign to the option group.
*/ inline CreateOptionGroupRequest& WithTags(const Aws::VectorTags to assign to the option group.
*/ inline CreateOptionGroupRequest& WithTags(Aws::VectorTags to assign to the option group.
*/ inline CreateOptionGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Tags to assign to the option group.
*/ inline CreateOptionGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_optionGroupName; bool m_optionGroupNameHasBeenSet = false; Aws::String m_engineName; bool m_engineNameHasBeenSet = false; Aws::String m_majorEngineVersion; bool m_majorEngineVersionHasBeenSet = false; Aws::String m_optionGroupDescription; bool m_optionGroupDescriptionHasBeenSet = false; Aws::Vector