This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-securityhub/include/aws/securityhub/model/AwsRdsDbClusterMember.h

194 lines
6.9 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
/**
* <p>Information about an instance in the DB cluster.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsRdsDbClusterMember">AWS
* API Reference</a></p>
*/
class AWS_SECURITYHUB_API AwsRdsDbClusterMember
{
public:
AwsRdsDbClusterMember();
AwsRdsDbClusterMember(Aws::Utils::Json::JsonView jsonValue);
AwsRdsDbClusterMember& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Whether the cluster member is the primary instance for the DB cluster.</p>
*/
inline bool GetIsClusterWriter() const{ return m_isClusterWriter; }
/**
* <p>Whether the cluster member is the primary instance for the DB cluster.</p>
*/
inline bool IsClusterWriterHasBeenSet() const { return m_isClusterWriterHasBeenSet; }
/**
* <p>Whether the cluster member is the primary instance for the DB cluster.</p>
*/
inline void SetIsClusterWriter(bool value) { m_isClusterWriterHasBeenSet = true; m_isClusterWriter = value; }
/**
* <p>Whether the cluster member is the primary instance for the DB cluster.</p>
*/
inline AwsRdsDbClusterMember& WithIsClusterWriter(bool value) { SetIsClusterWriter(value); return *this;}
/**
* <p>Specifies the order in which an Aurora replica is promoted to the primary
* instance when the existing primary instance fails.</p>
*/
inline int GetPromotionTier() const{ return m_promotionTier; }
/**
* <p>Specifies the order in which an Aurora replica is promoted to the primary
* instance when the existing primary instance fails.</p>
*/
inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
/**
* <p>Specifies the order in which an Aurora replica is promoted to the primary
* instance when the existing primary instance fails.</p>
*/
inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; }
/**
* <p>Specifies the order in which an Aurora replica is promoted to the primary
* instance when the existing primary instance fails.</p>
*/
inline AwsRdsDbClusterMember& WithPromotionTier(int value) { SetPromotionTier(value); return *this;}
/**
* <p>The instance identifier for this member of the DB cluster.</p>
*/
inline const Aws::String& GetDbInstanceIdentifier() const{ return m_dbInstanceIdentifier; }
/**
* <p>The instance identifier for this member of the DB cluster.</p>
*/
inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; }
/**
* <p>The instance identifier for this member of the DB cluster.</p>
*/
inline void SetDbInstanceIdentifier(const Aws::String& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = value; }
/**
* <p>The instance identifier for this member of the DB cluster.</p>
*/
inline void SetDbInstanceIdentifier(Aws::String&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::move(value); }
/**
* <p>The instance identifier for this member of the DB cluster.</p>
*/
inline void SetDbInstanceIdentifier(const char* value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier.assign(value); }
/**
* <p>The instance identifier for this member of the DB cluster.</p>
*/
inline AwsRdsDbClusterMember& WithDbInstanceIdentifier(const Aws::String& value) { SetDbInstanceIdentifier(value); return *this;}
/**
* <p>The instance identifier for this member of the DB cluster.</p>
*/
inline AwsRdsDbClusterMember& WithDbInstanceIdentifier(Aws::String&& value) { SetDbInstanceIdentifier(std::move(value)); return *this;}
/**
* <p>The instance identifier for this member of the DB cluster.</p>
*/
inline AwsRdsDbClusterMember& WithDbInstanceIdentifier(const char* value) { SetDbInstanceIdentifier(value); return *this;}
/**
* <p>The status of the DB cluster parameter group for this member of the DB
* cluster.</p>
*/
inline const Aws::String& GetDbClusterParameterGroupStatus() const{ return m_dbClusterParameterGroupStatus; }
/**
* <p>The status of the DB cluster parameter group for this member of the DB
* cluster.</p>
*/
inline bool DbClusterParameterGroupStatusHasBeenSet() const { return m_dbClusterParameterGroupStatusHasBeenSet; }
/**
* <p>The status of the DB cluster parameter group for this member of the DB
* cluster.</p>
*/
inline void SetDbClusterParameterGroupStatus(const Aws::String& value) { m_dbClusterParameterGroupStatusHasBeenSet = true; m_dbClusterParameterGroupStatus = value; }
/**
* <p>The status of the DB cluster parameter group for this member of the DB
* cluster.</p>
*/
inline void SetDbClusterParameterGroupStatus(Aws::String&& value) { m_dbClusterParameterGroupStatusHasBeenSet = true; m_dbClusterParameterGroupStatus = std::move(value); }
/**
* <p>The status of the DB cluster parameter group for this member of the DB
* cluster.</p>
*/
inline void SetDbClusterParameterGroupStatus(const char* value) { m_dbClusterParameterGroupStatusHasBeenSet = true; m_dbClusterParameterGroupStatus.assign(value); }
/**
* <p>The status of the DB cluster parameter group for this member of the DB
* cluster.</p>
*/
inline AwsRdsDbClusterMember& WithDbClusterParameterGroupStatus(const Aws::String& value) { SetDbClusterParameterGroupStatus(value); return *this;}
/**
* <p>The status of the DB cluster parameter group for this member of the DB
* cluster.</p>
*/
inline AwsRdsDbClusterMember& WithDbClusterParameterGroupStatus(Aws::String&& value) { SetDbClusterParameterGroupStatus(std::move(value)); return *this;}
/**
* <p>The status of the DB cluster parameter group for this member of the DB
* cluster.</p>
*/
inline AwsRdsDbClusterMember& WithDbClusterParameterGroupStatus(const char* value) { SetDbClusterParameterGroupStatus(value); return *this;}
private:
bool m_isClusterWriter;
bool m_isClusterWriterHasBeenSet;
int m_promotionTier;
bool m_promotionTierHasBeenSet;
Aws::String m_dbInstanceIdentifier;
bool m_dbInstanceIdentifierHasBeenSet;
Aws::String m_dbClusterParameterGroupStatus;
bool m_dbClusterParameterGroupStatusHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws