/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies membership in a designated DB security group.See
* Also:
AWS
* API Reference
The name of the DB security group.
*/ inline const Aws::String& GetDBSecurityGroupName() const{ return m_dBSecurityGroupName; } /** *The name of the DB security group.
*/ inline bool DBSecurityGroupNameHasBeenSet() const { return m_dBSecurityGroupNameHasBeenSet; } /** *The name of the DB security group.
*/ inline void SetDBSecurityGroupName(const Aws::String& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; } /** *The name of the DB security group.
*/ inline void SetDBSecurityGroupName(Aws::String&& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = std::move(value); } /** *The name of the DB security group.
*/ inline void SetDBSecurityGroupName(const char* value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName.assign(value); } /** *The name of the DB security group.
*/ inline DBSecurityGroupMembership& WithDBSecurityGroupName(const Aws::String& value) { SetDBSecurityGroupName(value); return *this;} /** *The name of the DB security group.
*/ inline DBSecurityGroupMembership& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(std::move(value)); return *this;} /** *The name of the DB security group.
*/ inline DBSecurityGroupMembership& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;} /** *The status of the DB security group.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the DB security group.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the DB security group.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the DB security group.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the DB security group.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the DB security group.
*/ inline DBSecurityGroupMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the DB security group.
*/ inline DBSecurityGroupMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the DB security group.
*/ inline DBSecurityGroupMembership& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_dBSecurityGroupName; bool m_dBSecurityGroupNameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws