AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsMskClusterClusterInfoDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsMskClusterClusterInfoEncryptionInfoDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsMskClusterClusterInfoClientAuthenticationDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsMskClusterClusterInfoDetails() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const AwsMskClusterClusterInfoEncryptionInfoDetails& GetEncryptionInfo() const { return m_encryptionInfo; }
50 inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; }
51 template<typename EncryptionInfoT = AwsMskClusterClusterInfoEncryptionInfoDetails>
52 void SetEncryptionInfo(EncryptionInfoT&& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = std::forward<EncryptionInfoT>(value); }
53 template<typename EncryptionInfoT = AwsMskClusterClusterInfoEncryptionInfoDetails>
54 AwsMskClusterClusterInfoDetails& WithEncryptionInfo(EncryptionInfoT&& value) { SetEncryptionInfo(std::forward<EncryptionInfoT>(value)); return *this;}
56
58
61 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
62 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
63 template<typename CurrentVersionT = Aws::String>
64 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
65 template<typename CurrentVersionT = Aws::String>
66 AwsMskClusterClusterInfoDetails& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
68
70
73 inline int GetNumberOfBrokerNodes() const { return m_numberOfBrokerNodes; }
74 inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; }
75 inline void SetNumberOfBrokerNodes(int value) { m_numberOfBrokerNodesHasBeenSet = true; m_numberOfBrokerNodes = value; }
78
80
83 inline const Aws::String& GetClusterName() const { return m_clusterName; }
84 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
85 template<typename ClusterNameT = Aws::String>
86 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
87 template<typename ClusterNameT = Aws::String>
88 AwsMskClusterClusterInfoDetails& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
90
92
95 inline const AwsMskClusterClusterInfoClientAuthenticationDetails& GetClientAuthentication() const { return m_clientAuthentication; }
96 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
97 template<typename ClientAuthenticationT = AwsMskClusterClusterInfoClientAuthenticationDetails>
98 void SetClientAuthentication(ClientAuthenticationT&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::forward<ClientAuthenticationT>(value); }
99 template<typename ClientAuthenticationT = AwsMskClusterClusterInfoClientAuthenticationDetails>
100 AwsMskClusterClusterInfoDetails& WithClientAuthentication(ClientAuthenticationT&& value) { SetClientAuthentication(std::forward<ClientAuthenticationT>(value)); return *this;}
102
104
107 inline const Aws::String& GetEnhancedMonitoring() const { return m_enhancedMonitoring; }
108 inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
109 template<typename EnhancedMonitoringT = Aws::String>
110 void SetEnhancedMonitoring(EnhancedMonitoringT&& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = std::forward<EnhancedMonitoringT>(value); }
111 template<typename EnhancedMonitoringT = Aws::String>
112 AwsMskClusterClusterInfoDetails& WithEnhancedMonitoring(EnhancedMonitoringT&& value) { SetEnhancedMonitoring(std::forward<EnhancedMonitoringT>(value)); return *this;}
114 private:
115
117 bool m_encryptionInfoHasBeenSet = false;
118
119 Aws::String m_currentVersion;
120 bool m_currentVersionHasBeenSet = false;
121
122 int m_numberOfBrokerNodes{0};
123 bool m_numberOfBrokerNodesHasBeenSet = false;
124
125 Aws::String m_clusterName;
126 bool m_clusterNameHasBeenSet = false;
127
128 AwsMskClusterClusterInfoClientAuthenticationDetails m_clientAuthentication;
129 bool m_clientAuthenticationHasBeenSet = false;
130
131 Aws::String m_enhancedMonitoring;
132 bool m_enhancedMonitoringHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace SecurityHub
137} // namespace Aws
const AwsMskClusterClusterInfoClientAuthenticationDetails & GetClientAuthentication() const
AwsMskClusterClusterInfoDetails & WithNumberOfBrokerNodes(int value)
AwsMskClusterClusterInfoDetails & WithEnhancedMonitoring(EnhancedMonitoringT &&value)
AwsMskClusterClusterInfoDetails & WithClientAuthentication(ClientAuthenticationT &&value)
const AwsMskClusterClusterInfoEncryptionInfoDetails & GetEncryptionInfo() const
AWS_SECURITYHUB_API AwsMskClusterClusterInfoDetails(Aws::Utils::Json::JsonView jsonValue)
AwsMskClusterClusterInfoDetails & WithEncryptionInfo(EncryptionInfoT &&value)
AwsMskClusterClusterInfoDetails & WithClusterName(ClusterNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsMskClusterClusterInfoDetails()=default
AwsMskClusterClusterInfoDetails & WithCurrentVersion(CurrentVersionT &&value)
AWS_SECURITYHUB_API AwsMskClusterClusterInfoDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue