AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsRdsDbClusterMember.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsRdsDbClusterMember() = default;
36 AWS_SECURITYHUB_API AwsRdsDbClusterMember(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetIsClusterWriter() const { return m_isClusterWriter; }
46 inline bool IsClusterWriterHasBeenSet() const { return m_isClusterWriterHasBeenSet; }
47 inline void SetIsClusterWriter(bool value) { m_isClusterWriterHasBeenSet = true; m_isClusterWriter = value; }
48 inline AwsRdsDbClusterMember& WithIsClusterWriter(bool value) { SetIsClusterWriter(value); return *this;}
50
52
56 inline int GetPromotionTier() const { return m_promotionTier; }
57 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
58 inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; }
59 inline AwsRdsDbClusterMember& WithPromotionTier(int value) { SetPromotionTier(value); return *this;}
61
63
66 inline const Aws::String& GetDbInstanceIdentifier() const { return m_dbInstanceIdentifier; }
67 inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; }
68 template<typename DbInstanceIdentifierT = Aws::String>
69 void SetDbInstanceIdentifier(DbInstanceIdentifierT&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::forward<DbInstanceIdentifierT>(value); }
70 template<typename DbInstanceIdentifierT = Aws::String>
71 AwsRdsDbClusterMember& WithDbInstanceIdentifier(DbInstanceIdentifierT&& value) { SetDbInstanceIdentifier(std::forward<DbInstanceIdentifierT>(value)); return *this;}
73
75
79 inline const Aws::String& GetDbClusterParameterGroupStatus() const { return m_dbClusterParameterGroupStatus; }
80 inline bool DbClusterParameterGroupStatusHasBeenSet() const { return m_dbClusterParameterGroupStatusHasBeenSet; }
81 template<typename DbClusterParameterGroupStatusT = Aws::String>
82 void SetDbClusterParameterGroupStatus(DbClusterParameterGroupStatusT&& value) { m_dbClusterParameterGroupStatusHasBeenSet = true; m_dbClusterParameterGroupStatus = std::forward<DbClusterParameterGroupStatusT>(value); }
83 template<typename DbClusterParameterGroupStatusT = Aws::String>
84 AwsRdsDbClusterMember& WithDbClusterParameterGroupStatus(DbClusterParameterGroupStatusT&& value) { SetDbClusterParameterGroupStatus(std::forward<DbClusterParameterGroupStatusT>(value)); return *this;}
86 private:
87
88 bool m_isClusterWriter{false};
89 bool m_isClusterWriterHasBeenSet = false;
90
91 int m_promotionTier{0};
92 bool m_promotionTierHasBeenSet = false;
93
94 Aws::String m_dbInstanceIdentifier;
95 bool m_dbInstanceIdentifierHasBeenSet = false;
96
97 Aws::String m_dbClusterParameterGroupStatus;
98 bool m_dbClusterParameterGroupStatusHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SecurityHub
103} // namespace Aws
AwsRdsDbClusterMember & WithIsClusterWriter(bool value)
AWS_SECURITYHUB_API AwsRdsDbClusterMember(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsRdsDbClusterMember & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbClusterMember & WithDbClusterParameterGroupStatus(DbClusterParameterGroupStatusT &&value)
AwsRdsDbClusterMember & WithPromotionTier(int value)
AWS_SECURITYHUB_API AwsRdsDbClusterMember()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDbInstanceIdentifier(DbInstanceIdentifierT &&value)
const Aws::String & GetDbClusterParameterGroupStatus() const
void SetDbClusterParameterGroupStatus(DbClusterParameterGroupStatusT &&value)
AwsRdsDbClusterMember & WithDbInstanceIdentifier(DbInstanceIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue