/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information on the option groups the DB instance is a member
* of.See Also:
AWS
* API Reference
The name of the option group that the instance belongs to.
*/ inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; } /** *The name of the option group that the instance belongs to.
*/ inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; } /** *The name of the option group that the instance belongs to.
*/ inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; } /** *The name of the option group that the instance belongs to.
*/ inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); } /** *The name of the option group that the instance belongs to.
*/ inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); } /** *The name of the option group that the instance belongs to.
*/ inline OptionGroupMembership& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} /** *The name of the option group that the instance belongs to.
*/ inline OptionGroupMembership& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;} /** *The name of the option group that the instance belongs to.
*/ inline OptionGroupMembership& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;} /** *The status of the DB instance's option group membership. Valid values are:
* in-sync, pending-apply, pending-removal,
* pending-maintenance-apply,
* pending-maintenance-removal, applying,
* removing, and failed.
The status of the DB instance's option group membership. Valid values are:
* in-sync, pending-apply, pending-removal,
* pending-maintenance-apply,
* pending-maintenance-removal, applying,
* removing, and failed.
The status of the DB instance's option group membership. Valid values are:
* in-sync, pending-apply, pending-removal,
* pending-maintenance-apply,
* pending-maintenance-removal, applying,
* removing, and failed.
The status of the DB instance's option group membership. Valid values are:
* in-sync, pending-apply, pending-removal,
* pending-maintenance-apply,
* pending-maintenance-removal, applying,
* removing, and failed.
The status of the DB instance's option group membership. Valid values are:
* in-sync, pending-apply, pending-removal,
* pending-maintenance-apply,
* pending-maintenance-removal, applying,
* removing, and failed.
The status of the DB instance's option group membership. Valid values are:
* in-sync, pending-apply, pending-removal,
* pending-maintenance-apply,
* pending-maintenance-removal, applying,
* removing, and failed.
The status of the DB instance's option group membership. Valid values are:
* in-sync, pending-apply, pending-removal,
* pending-maintenance-apply,
* pending-maintenance-removal, applying,
* removing, and failed.
The status of the DB instance's option group membership. Valid values are:
* in-sync, pending-apply, pending-removal,
* pending-maintenance-apply,
* pending-maintenance-removal, applying,
* removing, and failed.