AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsRdsDbClusterMember.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API AwsRdsDbClusterMember() = default;
31 AWS_SECURITYHUB_API AwsRdsDbClusterMember(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline bool GetIsClusterWriter() const { return m_isClusterWriter; }
40 inline bool IsClusterWriterHasBeenSet() const { return m_isClusterWriterHasBeenSet; }
41 inline void SetIsClusterWriter(bool value) {
42 m_isClusterWriterHasBeenSet = true;
43 m_isClusterWriter = value;
44 }
46 SetIsClusterWriter(value);
47 return *this;
48 }
50
52
56 inline int GetPromotionTier() const { return m_promotionTier; }
57 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
58 inline void SetPromotionTier(int value) {
59 m_promotionTierHasBeenSet = true;
60 m_promotionTier = value;
61 }
63 SetPromotionTier(value);
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDbInstanceIdentifier() const { return m_dbInstanceIdentifier; }
73 inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; }
74 template <typename DbInstanceIdentifierT = Aws::String>
75 void SetDbInstanceIdentifier(DbInstanceIdentifierT&& value) {
76 m_dbInstanceIdentifierHasBeenSet = true;
77 m_dbInstanceIdentifier = std::forward<DbInstanceIdentifierT>(value);
78 }
79 template <typename DbInstanceIdentifierT = Aws::String>
80 AwsRdsDbClusterMember& WithDbInstanceIdentifier(DbInstanceIdentifierT&& value) {
81 SetDbInstanceIdentifier(std::forward<DbInstanceIdentifierT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetDbClusterParameterGroupStatus() const { return m_dbClusterParameterGroupStatus; }
92 inline bool DbClusterParameterGroupStatusHasBeenSet() const { return m_dbClusterParameterGroupStatusHasBeenSet; }
93 template <typename DbClusterParameterGroupStatusT = Aws::String>
94 void SetDbClusterParameterGroupStatus(DbClusterParameterGroupStatusT&& value) {
95 m_dbClusterParameterGroupStatusHasBeenSet = true;
96 m_dbClusterParameterGroupStatus = std::forward<DbClusterParameterGroupStatusT>(value);
97 }
98 template <typename DbClusterParameterGroupStatusT = Aws::String>
99 AwsRdsDbClusterMember& WithDbClusterParameterGroupStatus(DbClusterParameterGroupStatusT&& value) {
100 SetDbClusterParameterGroupStatus(std::forward<DbClusterParameterGroupStatusT>(value));
101 return *this;
102 }
104 private:
105 bool m_isClusterWriter{false};
106
107 int m_promotionTier{0};
108
109 Aws::String m_dbInstanceIdentifier;
110
111 Aws::String m_dbClusterParameterGroupStatus;
112 bool m_isClusterWriterHasBeenSet = false;
113 bool m_promotionTierHasBeenSet = false;
114 bool m_dbInstanceIdentifierHasBeenSet = false;
115 bool m_dbClusterParameterGroupStatusHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace SecurityHub
120} // 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