AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDbInstanceIdentifier(const Aws::String& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = value; }
69 inline void SetDbInstanceIdentifier(Aws::String&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::move(value); }
70 inline void SetDbInstanceIdentifier(const char* value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier.assign(value); }
72 inline AwsRdsDbClusterMember& WithDbInstanceIdentifier(Aws::String&& value) { SetDbInstanceIdentifier(std::move(value)); return *this;}
73 inline AwsRdsDbClusterMember& WithDbInstanceIdentifier(const char* value) { SetDbInstanceIdentifier(value); return *this;}
75
77
81 inline const Aws::String& GetDbClusterParameterGroupStatus() const{ return m_dbClusterParameterGroupStatus; }
82 inline bool DbClusterParameterGroupStatusHasBeenSet() const { return m_dbClusterParameterGroupStatusHasBeenSet; }
83 inline void SetDbClusterParameterGroupStatus(const Aws::String& value) { m_dbClusterParameterGroupStatusHasBeenSet = true; m_dbClusterParameterGroupStatus = value; }
84 inline void SetDbClusterParameterGroupStatus(Aws::String&& value) { m_dbClusterParameterGroupStatusHasBeenSet = true; m_dbClusterParameterGroupStatus = std::move(value); }
85 inline void SetDbClusterParameterGroupStatus(const char* value) { m_dbClusterParameterGroupStatusHasBeenSet = true; m_dbClusterParameterGroupStatus.assign(value); }
90 private:
91
92 bool m_isClusterWriter;
93 bool m_isClusterWriterHasBeenSet = false;
94
95 int m_promotionTier;
96 bool m_promotionTierHasBeenSet = false;
97
98 Aws::String m_dbInstanceIdentifier;
99 bool m_dbInstanceIdentifierHasBeenSet = false;
100
101 Aws::String m_dbClusterParameterGroupStatus;
102 bool m_dbClusterParameterGroupStatusHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SecurityHub
107} // namespace Aws
AwsRdsDbClusterMember & WithIsClusterWriter(bool value)
AwsRdsDbClusterMember & WithDbInstanceIdentifier(const char *value)
AWS_SECURITYHUB_API AwsRdsDbClusterMember(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsRdsDbClusterMember & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbClusterMember & WithDbClusterParameterGroupStatus(const Aws::String &value)
AwsRdsDbClusterMember & WithDbClusterParameterGroupStatus(const char *value)
void SetDbInstanceIdentifier(const Aws::String &value)
AwsRdsDbClusterMember & WithDbInstanceIdentifier(const Aws::String &value)
AwsRdsDbClusterMember & WithPromotionTier(int value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDbClusterParameterGroupStatus() const
AwsRdsDbClusterMember & WithDbInstanceIdentifier(Aws::String &&value)
AwsRdsDbClusterMember & WithDbClusterParameterGroupStatus(Aws::String &&value)
void SetDbClusterParameterGroupStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue