/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Information about an option group membership for a DB cluster.

See * Also:

AWS * API Reference

*/ class AwsRdsDbClusterOptionGroupMembership { public: AWS_SECURITYHUB_API AwsRdsDbClusterOptionGroupMembership(); AWS_SECURITYHUB_API AwsRdsDbClusterOptionGroupMembership(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsRdsDbClusterOptionGroupMembership& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the DB cluster option group.

*/ inline const Aws::String& GetDbClusterOptionGroupName() const{ return m_dbClusterOptionGroupName; } /** *

The name of the DB cluster option group.

*/ inline bool DbClusterOptionGroupNameHasBeenSet() const { return m_dbClusterOptionGroupNameHasBeenSet; } /** *

The name of the DB cluster option group.

*/ inline void SetDbClusterOptionGroupName(const Aws::String& value) { m_dbClusterOptionGroupNameHasBeenSet = true; m_dbClusterOptionGroupName = value; } /** *

The name of the DB cluster option group.

*/ inline void SetDbClusterOptionGroupName(Aws::String&& value) { m_dbClusterOptionGroupNameHasBeenSet = true; m_dbClusterOptionGroupName = std::move(value); } /** *

The name of the DB cluster option group.

*/ inline void SetDbClusterOptionGroupName(const char* value) { m_dbClusterOptionGroupNameHasBeenSet = true; m_dbClusterOptionGroupName.assign(value); } /** *

The name of the DB cluster option group.

*/ inline AwsRdsDbClusterOptionGroupMembership& WithDbClusterOptionGroupName(const Aws::String& value) { SetDbClusterOptionGroupName(value); return *this;} /** *

The name of the DB cluster option group.

*/ inline AwsRdsDbClusterOptionGroupMembership& WithDbClusterOptionGroupName(Aws::String&& value) { SetDbClusterOptionGroupName(std::move(value)); return *this;} /** *

The name of the DB cluster option group.

*/ inline AwsRdsDbClusterOptionGroupMembership& WithDbClusterOptionGroupName(const char* value) { SetDbClusterOptionGroupName(value); return *this;} /** *

The status of the DB cluster option group.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the DB cluster option group.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the DB cluster option group.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the DB cluster option group.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the DB cluster option group.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The status of the DB cluster option group.

*/ inline AwsRdsDbClusterOptionGroupMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the DB cluster option group.

*/ inline AwsRdsDbClusterOptionGroupMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the DB cluster option group.

*/ inline AwsRdsDbClusterOptionGroupMembership& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_dbClusterOptionGroupName; bool m_dbClusterOptionGroupNameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws