AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsAmazonMqBrokerDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsAmazonMqBrokerEncryptionOptionsDetails.h>
10#include <aws/securityhub/model/AwsAmazonMqBrokerLdapServerMetadataDetails.h>
11#include <aws/securityhub/model/AwsAmazonMqBrokerLogsDetails.h>
12#include <aws/securityhub/model/AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/securityhub/model/AwsAmazonMqBrokerUsersDetails.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SecurityHub
28{
29namespace Model
30{
31
41 {
42 public:
43 AWS_SECURITYHUB_API AwsAmazonMqBrokerDetails() = default;
46 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const Aws::String& GetAuthenticationStrategy() const { return m_authenticationStrategy; }
55 inline bool AuthenticationStrategyHasBeenSet() const { return m_authenticationStrategyHasBeenSet; }
56 template<typename AuthenticationStrategyT = Aws::String>
57 void SetAuthenticationStrategy(AuthenticationStrategyT&& value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = std::forward<AuthenticationStrategyT>(value); }
58 template<typename AuthenticationStrategyT = Aws::String>
59 AwsAmazonMqBrokerDetails& WithAuthenticationStrategy(AuthenticationStrategyT&& value) { SetAuthenticationStrategy(std::forward<AuthenticationStrategyT>(value)); return *this;}
61
63
69 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
70 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
71 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
74
76
79 inline const Aws::String& GetBrokerArn() const { return m_brokerArn; }
80 inline bool BrokerArnHasBeenSet() const { return m_brokerArnHasBeenSet; }
81 template<typename BrokerArnT = Aws::String>
82 void SetBrokerArn(BrokerArnT&& value) { m_brokerArnHasBeenSet = true; m_brokerArn = std::forward<BrokerArnT>(value); }
83 template<typename BrokerArnT = Aws::String>
84 AwsAmazonMqBrokerDetails& WithBrokerArn(BrokerArnT&& value) { SetBrokerArn(std::forward<BrokerArnT>(value)); return *this;}
86
88
91 inline const Aws::String& GetBrokerName() const { return m_brokerName; }
92 inline bool BrokerNameHasBeenSet() const { return m_brokerNameHasBeenSet; }
93 template<typename BrokerNameT = Aws::String>
94 void SetBrokerName(BrokerNameT&& value) { m_brokerNameHasBeenSet = true; m_brokerName = std::forward<BrokerNameT>(value); }
95 template<typename BrokerNameT = Aws::String>
96 AwsAmazonMqBrokerDetails& WithBrokerName(BrokerNameT&& value) { SetBrokerName(std::forward<BrokerNameT>(value)); return *this;}
98
100
103 inline const Aws::String& GetDeploymentMode() const { return m_deploymentMode; }
104 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
105 template<typename DeploymentModeT = Aws::String>
106 void SetDeploymentMode(DeploymentModeT&& value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = std::forward<DeploymentModeT>(value); }
107 template<typename DeploymentModeT = Aws::String>
108 AwsAmazonMqBrokerDetails& WithDeploymentMode(DeploymentModeT&& value) { SetDeploymentMode(std::forward<DeploymentModeT>(value)); return *this;}
110
112
115 inline const AwsAmazonMqBrokerEncryptionOptionsDetails& GetEncryptionOptions() const { return m_encryptionOptions; }
116 inline bool EncryptionOptionsHasBeenSet() const { return m_encryptionOptionsHasBeenSet; }
117 template<typename EncryptionOptionsT = AwsAmazonMqBrokerEncryptionOptionsDetails>
118 void SetEncryptionOptions(EncryptionOptionsT&& value) { m_encryptionOptionsHasBeenSet = true; m_encryptionOptions = std::forward<EncryptionOptionsT>(value); }
119 template<typename EncryptionOptionsT = AwsAmazonMqBrokerEncryptionOptionsDetails>
120 AwsAmazonMqBrokerDetails& WithEncryptionOptions(EncryptionOptionsT&& value) { SetEncryptionOptions(std::forward<EncryptionOptionsT>(value)); return *this;}
122
124
127 inline const Aws::String& GetEngineType() const { return m_engineType; }
128 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
129 template<typename EngineTypeT = Aws::String>
130 void SetEngineType(EngineTypeT&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::forward<EngineTypeT>(value); }
131 template<typename EngineTypeT = Aws::String>
132 AwsAmazonMqBrokerDetails& WithEngineType(EngineTypeT&& value) { SetEngineType(std::forward<EngineTypeT>(value)); return *this;}
134
136
139 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
140 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
141 template<typename EngineVersionT = Aws::String>
142 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
143 template<typename EngineVersionT = Aws::String>
144 AwsAmazonMqBrokerDetails& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
146
148
151 inline const Aws::String& GetHostInstanceType() const { return m_hostInstanceType; }
152 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
153 template<typename HostInstanceTypeT = Aws::String>
154 void SetHostInstanceType(HostInstanceTypeT&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::forward<HostInstanceTypeT>(value); }
155 template<typename HostInstanceTypeT = Aws::String>
156 AwsAmazonMqBrokerDetails& WithHostInstanceType(HostInstanceTypeT&& value) { SetHostInstanceType(std::forward<HostInstanceTypeT>(value)); return *this;}
158
160
163 inline const Aws::String& GetBrokerId() const { return m_brokerId; }
164 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
165 template<typename BrokerIdT = Aws::String>
166 void SetBrokerId(BrokerIdT&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::forward<BrokerIdT>(value); }
167 template<typename BrokerIdT = Aws::String>
168 AwsAmazonMqBrokerDetails& WithBrokerId(BrokerIdT&& value) { SetBrokerId(std::forward<BrokerIdT>(value)); return *this;}
170
172
177 inline const AwsAmazonMqBrokerLdapServerMetadataDetails& GetLdapServerMetadata() const { return m_ldapServerMetadata; }
178 inline bool LdapServerMetadataHasBeenSet() const { return m_ldapServerMetadataHasBeenSet; }
179 template<typename LdapServerMetadataT = AwsAmazonMqBrokerLdapServerMetadataDetails>
180 void SetLdapServerMetadata(LdapServerMetadataT&& value) { m_ldapServerMetadataHasBeenSet = true; m_ldapServerMetadata = std::forward<LdapServerMetadataT>(value); }
181 template<typename LdapServerMetadataT = AwsAmazonMqBrokerLdapServerMetadataDetails>
182 AwsAmazonMqBrokerDetails& WithLdapServerMetadata(LdapServerMetadataT&& value) { SetLdapServerMetadata(std::forward<LdapServerMetadataT>(value)); return *this;}
184
186
189 inline const AwsAmazonMqBrokerLogsDetails& GetLogs() const { return m_logs; }
190 inline bool LogsHasBeenSet() const { return m_logsHasBeenSet; }
191 template<typename LogsT = AwsAmazonMqBrokerLogsDetails>
192 void SetLogs(LogsT&& value) { m_logsHasBeenSet = true; m_logs = std::forward<LogsT>(value); }
193 template<typename LogsT = AwsAmazonMqBrokerLogsDetails>
194 AwsAmazonMqBrokerDetails& WithLogs(LogsT&& value) { SetLogs(std::forward<LogsT>(value)); return *this;}
196
198
202 inline const AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails& GetMaintenanceWindowStartTime() const { return m_maintenanceWindowStartTime; }
203 inline bool MaintenanceWindowStartTimeHasBeenSet() const { return m_maintenanceWindowStartTimeHasBeenSet; }
204 template<typename MaintenanceWindowStartTimeT = AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails>
205 void SetMaintenanceWindowStartTime(MaintenanceWindowStartTimeT&& value) { m_maintenanceWindowStartTimeHasBeenSet = true; m_maintenanceWindowStartTime = std::forward<MaintenanceWindowStartTimeT>(value); }
206 template<typename MaintenanceWindowStartTimeT = AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails>
207 AwsAmazonMqBrokerDetails& WithMaintenanceWindowStartTime(MaintenanceWindowStartTimeT&& value) { SetMaintenanceWindowStartTime(std::forward<MaintenanceWindowStartTimeT>(value)); return *this;}
209
211
215 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
216 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
217 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
218 inline AwsAmazonMqBrokerDetails& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
220
222
226 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const { return m_securityGroups; }
227 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
228 template<typename SecurityGroupsT = Aws::Vector<Aws::String>>
229 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
230 template<typename SecurityGroupsT = Aws::Vector<Aws::String>>
231 AwsAmazonMqBrokerDetails& WithSecurityGroups(SecurityGroupsT&& value) { SetSecurityGroups(std::forward<SecurityGroupsT>(value)); return *this;}
232 template<typename SecurityGroupsT = Aws::String>
233 AwsAmazonMqBrokerDetails& AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value)); return *this; }
235
237
240 inline const Aws::String& GetStorageType() const { return m_storageType; }
241 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
242 template<typename StorageTypeT = Aws::String>
243 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
244 template<typename StorageTypeT = Aws::String>
245 AwsAmazonMqBrokerDetails& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
247
249
253 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
254 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
255 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
256 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
257 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
258 AwsAmazonMqBrokerDetails& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
259 template<typename SubnetIdsT = Aws::String>
260 AwsAmazonMqBrokerDetails& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
262
264
268 inline const Aws::Vector<AwsAmazonMqBrokerUsersDetails>& GetUsers() const { return m_users; }
269 inline bool UsersHasBeenSet() const { return m_usersHasBeenSet; }
270 template<typename UsersT = Aws::Vector<AwsAmazonMqBrokerUsersDetails>>
271 void SetUsers(UsersT&& value) { m_usersHasBeenSet = true; m_users = std::forward<UsersT>(value); }
272 template<typename UsersT = Aws::Vector<AwsAmazonMqBrokerUsersDetails>>
273 AwsAmazonMqBrokerDetails& WithUsers(UsersT&& value) { SetUsers(std::forward<UsersT>(value)); return *this;}
274 template<typename UsersT = AwsAmazonMqBrokerUsersDetails>
275 AwsAmazonMqBrokerDetails& AddUsers(UsersT&& value) { m_usersHasBeenSet = true; m_users.emplace_back(std::forward<UsersT>(value)); return *this; }
277 private:
278
279 Aws::String m_authenticationStrategy;
280 bool m_authenticationStrategyHasBeenSet = false;
281
282 bool m_autoMinorVersionUpgrade{false};
283 bool m_autoMinorVersionUpgradeHasBeenSet = false;
284
285 Aws::String m_brokerArn;
286 bool m_brokerArnHasBeenSet = false;
287
288 Aws::String m_brokerName;
289 bool m_brokerNameHasBeenSet = false;
290
291 Aws::String m_deploymentMode;
292 bool m_deploymentModeHasBeenSet = false;
293
294 AwsAmazonMqBrokerEncryptionOptionsDetails m_encryptionOptions;
295 bool m_encryptionOptionsHasBeenSet = false;
296
297 Aws::String m_engineType;
298 bool m_engineTypeHasBeenSet = false;
299
300 Aws::String m_engineVersion;
301 bool m_engineVersionHasBeenSet = false;
302
303 Aws::String m_hostInstanceType;
304 bool m_hostInstanceTypeHasBeenSet = false;
305
306 Aws::String m_brokerId;
307 bool m_brokerIdHasBeenSet = false;
308
309 AwsAmazonMqBrokerLdapServerMetadataDetails m_ldapServerMetadata;
310 bool m_ldapServerMetadataHasBeenSet = false;
311
312 AwsAmazonMqBrokerLogsDetails m_logs;
313 bool m_logsHasBeenSet = false;
314
315 AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails m_maintenanceWindowStartTime;
316 bool m_maintenanceWindowStartTimeHasBeenSet = false;
317
318 bool m_publiclyAccessible{false};
319 bool m_publiclyAccessibleHasBeenSet = false;
320
321 Aws::Vector<Aws::String> m_securityGroups;
322 bool m_securityGroupsHasBeenSet = false;
323
324 Aws::String m_storageType;
325 bool m_storageTypeHasBeenSet = false;
326
327 Aws::Vector<Aws::String> m_subnetIds;
328 bool m_subnetIdsHasBeenSet = false;
329
331 bool m_usersHasBeenSet = false;
332 };
333
334} // namespace Model
335} // namespace SecurityHub
336} // namespace Aws
const Aws::Vector< AwsAmazonMqBrokerUsersDetails > & GetUsers() const
AWS_SECURITYHUB_API AwsAmazonMqBrokerDetails()=default
AwsAmazonMqBrokerDetails & AddUsers(UsersT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsAmazonMqBrokerDetails & WithEngineType(EngineTypeT &&value)
void SetMaintenanceWindowStartTime(MaintenanceWindowStartTimeT &&value)
AwsAmazonMqBrokerDetails & WithBrokerName(BrokerNameT &&value)
AwsAmazonMqBrokerDetails & WithEngineVersion(EngineVersionT &&value)
AwsAmazonMqBrokerDetails & WithLogs(LogsT &&value)
const AwsAmazonMqBrokerEncryptionOptionsDetails & GetEncryptionOptions() const
AwsAmazonMqBrokerDetails & WithSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
AwsAmazonMqBrokerDetails & WithPubliclyAccessible(bool value)
AwsAmazonMqBrokerDetails & WithLdapServerMetadata(LdapServerMetadataT &&value)
AwsAmazonMqBrokerDetails & WithBrokerId(BrokerIdT &&value)
AwsAmazonMqBrokerDetails & WithMaintenanceWindowStartTime(MaintenanceWindowStartTimeT &&value)
void SetAuthenticationStrategy(AuthenticationStrategyT &&value)
AwsAmazonMqBrokerDetails & WithEncryptionOptions(EncryptionOptionsT &&value)
AwsAmazonMqBrokerDetails & WithDeploymentMode(DeploymentModeT &&value)
AwsAmazonMqBrokerDetails & WithSecurityGroups(SecurityGroupsT &&value)
AwsAmazonMqBrokerDetails & AddSubnetIds(SubnetIdsT &&value)
AwsAmazonMqBrokerDetails & WithAuthenticationStrategy(AuthenticationStrategyT &&value)
AWS_SECURITYHUB_API AwsAmazonMqBrokerDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsAmazonMqBrokerDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsAmazonMqBrokerDetails & WithBrokerArn(BrokerArnT &&value)
AwsAmazonMqBrokerDetails & AddSecurityGroups(SecurityGroupsT &&value)
AwsAmazonMqBrokerDetails & WithUsers(UsersT &&value)
AwsAmazonMqBrokerDetails & WithAutoMinorVersionUpgrade(bool value)
const AwsAmazonMqBrokerLdapServerMetadataDetails & GetLdapServerMetadata() const
AwsAmazonMqBrokerDetails & WithStorageType(StorageTypeT &&value)
AwsAmazonMqBrokerDetails & WithHostInstanceType(HostInstanceTypeT &&value)
const AwsAmazonMqBrokerLogsDetails & GetLogs() const
const AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails & GetMaintenanceWindowStartTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue