AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsAmazonMqBrokerDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsAmazonMqBrokerEncryptionOptionsDetails.h>
11#include <aws/securityhub/model/AwsAmazonMqBrokerLdapServerMetadataDetails.h>
12#include <aws/securityhub/model/AwsAmazonMqBrokerLogsDetails.h>
13#include <aws/securityhub/model/AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.h>
14#include <aws/securityhub/model/AwsAmazonMqBrokerUsersDetails.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub {
26namespace Model {
27
37 public:
38 AWS_SECURITYHUB_API AwsAmazonMqBrokerDetails() = default;
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
48 inline const Aws::String& GetAuthenticationStrategy() const { return m_authenticationStrategy; }
49 inline bool AuthenticationStrategyHasBeenSet() const { return m_authenticationStrategyHasBeenSet; }
50 template <typename AuthenticationStrategyT = Aws::String>
51 void SetAuthenticationStrategy(AuthenticationStrategyT&& value) {
52 m_authenticationStrategyHasBeenSet = true;
53 m_authenticationStrategy = std::forward<AuthenticationStrategyT>(value);
54 }
55 template <typename AuthenticationStrategyT = Aws::String>
56 AwsAmazonMqBrokerDetails& WithAuthenticationStrategy(AuthenticationStrategyT&& value) {
57 SetAuthenticationStrategy(std::forward<AuthenticationStrategyT>(value));
58 return *this;
59 }
61
63
69 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
70 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
71 inline void SetAutoMinorVersionUpgrade(bool value) {
72 m_autoMinorVersionUpgradeHasBeenSet = true;
73 m_autoMinorVersionUpgrade = value;
74 }
77 return *this;
78 }
80
82
85 inline const Aws::String& GetBrokerArn() const { return m_brokerArn; }
86 inline bool BrokerArnHasBeenSet() const { return m_brokerArnHasBeenSet; }
87 template <typename BrokerArnT = Aws::String>
88 void SetBrokerArn(BrokerArnT&& value) {
89 m_brokerArnHasBeenSet = true;
90 m_brokerArn = std::forward<BrokerArnT>(value);
91 }
92 template <typename BrokerArnT = Aws::String>
94 SetBrokerArn(std::forward<BrokerArnT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetBrokerName() const { return m_brokerName; }
104 inline bool BrokerNameHasBeenSet() const { return m_brokerNameHasBeenSet; }
105 template <typename BrokerNameT = Aws::String>
106 void SetBrokerName(BrokerNameT&& value) {
107 m_brokerNameHasBeenSet = true;
108 m_brokerName = std::forward<BrokerNameT>(value);
109 }
110 template <typename BrokerNameT = Aws::String>
112 SetBrokerName(std::forward<BrokerNameT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDeploymentMode() const { return m_deploymentMode; }
122 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
123 template <typename DeploymentModeT = Aws::String>
124 void SetDeploymentMode(DeploymentModeT&& value) {
125 m_deploymentModeHasBeenSet = true;
126 m_deploymentMode = std::forward<DeploymentModeT>(value);
127 }
128 template <typename DeploymentModeT = Aws::String>
130 SetDeploymentMode(std::forward<DeploymentModeT>(value));
131 return *this;
132 }
134
136
139 inline const AwsAmazonMqBrokerEncryptionOptionsDetails& GetEncryptionOptions() const { return m_encryptionOptions; }
140 inline bool EncryptionOptionsHasBeenSet() const { return m_encryptionOptionsHasBeenSet; }
141 template <typename EncryptionOptionsT = AwsAmazonMqBrokerEncryptionOptionsDetails>
142 void SetEncryptionOptions(EncryptionOptionsT&& value) {
143 m_encryptionOptionsHasBeenSet = true;
144 m_encryptionOptions = std::forward<EncryptionOptionsT>(value);
145 }
146 template <typename EncryptionOptionsT = AwsAmazonMqBrokerEncryptionOptionsDetails>
147 AwsAmazonMqBrokerDetails& WithEncryptionOptions(EncryptionOptionsT&& value) {
148 SetEncryptionOptions(std::forward<EncryptionOptionsT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetEngineType() const { return m_engineType; }
158 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
159 template <typename EngineTypeT = Aws::String>
160 void SetEngineType(EngineTypeT&& value) {
161 m_engineTypeHasBeenSet = true;
162 m_engineType = std::forward<EngineTypeT>(value);
163 }
164 template <typename EngineTypeT = Aws::String>
166 SetEngineType(std::forward<EngineTypeT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
176 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
177 template <typename EngineVersionT = Aws::String>
178 void SetEngineVersion(EngineVersionT&& value) {
179 m_engineVersionHasBeenSet = true;
180 m_engineVersion = std::forward<EngineVersionT>(value);
181 }
182 template <typename EngineVersionT = Aws::String>
184 SetEngineVersion(std::forward<EngineVersionT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetHostInstanceType() const { return m_hostInstanceType; }
194 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
195 template <typename HostInstanceTypeT = Aws::String>
196 void SetHostInstanceType(HostInstanceTypeT&& value) {
197 m_hostInstanceTypeHasBeenSet = true;
198 m_hostInstanceType = std::forward<HostInstanceTypeT>(value);
199 }
200 template <typename HostInstanceTypeT = Aws::String>
201 AwsAmazonMqBrokerDetails& WithHostInstanceType(HostInstanceTypeT&& value) {
202 SetHostInstanceType(std::forward<HostInstanceTypeT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::String& GetBrokerId() const { return m_brokerId; }
212 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
213 template <typename BrokerIdT = Aws::String>
214 void SetBrokerId(BrokerIdT&& value) {
215 m_brokerIdHasBeenSet = true;
216 m_brokerId = std::forward<BrokerIdT>(value);
217 }
218 template <typename BrokerIdT = Aws::String>
220 SetBrokerId(std::forward<BrokerIdT>(value));
221 return *this;
222 }
224
226
231 inline const AwsAmazonMqBrokerLdapServerMetadataDetails& GetLdapServerMetadata() const { return m_ldapServerMetadata; }
232 inline bool LdapServerMetadataHasBeenSet() const { return m_ldapServerMetadataHasBeenSet; }
233 template <typename LdapServerMetadataT = AwsAmazonMqBrokerLdapServerMetadataDetails>
234 void SetLdapServerMetadata(LdapServerMetadataT&& value) {
235 m_ldapServerMetadataHasBeenSet = true;
236 m_ldapServerMetadata = std::forward<LdapServerMetadataT>(value);
237 }
238 template <typename LdapServerMetadataT = AwsAmazonMqBrokerLdapServerMetadataDetails>
239 AwsAmazonMqBrokerDetails& WithLdapServerMetadata(LdapServerMetadataT&& value) {
240 SetLdapServerMetadata(std::forward<LdapServerMetadataT>(value));
241 return *this;
242 }
244
246
249 inline const AwsAmazonMqBrokerLogsDetails& GetLogs() const { return m_logs; }
250 inline bool LogsHasBeenSet() const { return m_logsHasBeenSet; }
251 template <typename LogsT = AwsAmazonMqBrokerLogsDetails>
252 void SetLogs(LogsT&& value) {
253 m_logsHasBeenSet = true;
254 m_logs = std::forward<LogsT>(value);
255 }
256 template <typename LogsT = AwsAmazonMqBrokerLogsDetails>
258 SetLogs(std::forward<LogsT>(value));
259 return *this;
260 }
262
264
269 return m_maintenanceWindowStartTime;
270 }
271 inline bool MaintenanceWindowStartTimeHasBeenSet() const { return m_maintenanceWindowStartTimeHasBeenSet; }
272 template <typename MaintenanceWindowStartTimeT = AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails>
273 void SetMaintenanceWindowStartTime(MaintenanceWindowStartTimeT&& value) {
274 m_maintenanceWindowStartTimeHasBeenSet = true;
275 m_maintenanceWindowStartTime = std::forward<MaintenanceWindowStartTimeT>(value);
276 }
277 template <typename MaintenanceWindowStartTimeT = AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails>
278 AwsAmazonMqBrokerDetails& WithMaintenanceWindowStartTime(MaintenanceWindowStartTimeT&& value) {
279 SetMaintenanceWindowStartTime(std::forward<MaintenanceWindowStartTimeT>(value));
280 return *this;
281 }
283
285
289 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
290 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
291 inline void SetPubliclyAccessible(bool value) {
292 m_publiclyAccessibleHasBeenSet = true;
293 m_publiclyAccessible = value;
294 }
297 return *this;
298 }
300
302
306 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const { return m_securityGroups; }
307 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
308 template <typename SecurityGroupsT = Aws::Vector<Aws::String>>
309 void SetSecurityGroups(SecurityGroupsT&& value) {
310 m_securityGroupsHasBeenSet = true;
311 m_securityGroups = std::forward<SecurityGroupsT>(value);
312 }
313 template <typename SecurityGroupsT = Aws::Vector<Aws::String>>
315 SetSecurityGroups(std::forward<SecurityGroupsT>(value));
316 return *this;
317 }
318 template <typename SecurityGroupsT = Aws::String>
319 AwsAmazonMqBrokerDetails& AddSecurityGroups(SecurityGroupsT&& value) {
320 m_securityGroupsHasBeenSet = true;
321 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
322 return *this;
323 }
325
327
330 inline const Aws::String& GetStorageType() const { return m_storageType; }
331 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
332 template <typename StorageTypeT = Aws::String>
333 void SetStorageType(StorageTypeT&& value) {
334 m_storageTypeHasBeenSet = true;
335 m_storageType = std::forward<StorageTypeT>(value);
336 }
337 template <typename StorageTypeT = Aws::String>
339 SetStorageType(std::forward<StorageTypeT>(value));
340 return *this;
341 }
343
345
349 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
350 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
351 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
352 void SetSubnetIds(SubnetIdsT&& value) {
353 m_subnetIdsHasBeenSet = true;
354 m_subnetIds = std::forward<SubnetIdsT>(value);
355 }
356 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
358 SetSubnetIds(std::forward<SubnetIdsT>(value));
359 return *this;
360 }
361 template <typename SubnetIdsT = Aws::String>
363 m_subnetIdsHasBeenSet = true;
364 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
365 return *this;
366 }
368
370
374 inline const Aws::Vector<AwsAmazonMqBrokerUsersDetails>& GetUsers() const { return m_users; }
375 inline bool UsersHasBeenSet() const { return m_usersHasBeenSet; }
376 template <typename UsersT = Aws::Vector<AwsAmazonMqBrokerUsersDetails>>
377 void SetUsers(UsersT&& value) {
378 m_usersHasBeenSet = true;
379 m_users = std::forward<UsersT>(value);
380 }
381 template <typename UsersT = Aws::Vector<AwsAmazonMqBrokerUsersDetails>>
383 SetUsers(std::forward<UsersT>(value));
384 return *this;
385 }
386 template <typename UsersT = AwsAmazonMqBrokerUsersDetails>
388 m_usersHasBeenSet = true;
389 m_users.emplace_back(std::forward<UsersT>(value));
390 return *this;
391 }
393 private:
394 Aws::String m_authenticationStrategy;
395
396 bool m_autoMinorVersionUpgrade{false};
397
398 Aws::String m_brokerArn;
399
400 Aws::String m_brokerName;
401
402 Aws::String m_deploymentMode;
403
404 AwsAmazonMqBrokerEncryptionOptionsDetails m_encryptionOptions;
405
406 Aws::String m_engineType;
407
408 Aws::String m_engineVersion;
409
410 Aws::String m_hostInstanceType;
411
412 Aws::String m_brokerId;
413
414 AwsAmazonMqBrokerLdapServerMetadataDetails m_ldapServerMetadata;
415
416 AwsAmazonMqBrokerLogsDetails m_logs;
417
418 AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails m_maintenanceWindowStartTime;
419
420 bool m_publiclyAccessible{false};
421
422 Aws::Vector<Aws::String> m_securityGroups;
423
424 Aws::String m_storageType;
425
426 Aws::Vector<Aws::String> m_subnetIds;
427
429 bool m_authenticationStrategyHasBeenSet = false;
430 bool m_autoMinorVersionUpgradeHasBeenSet = false;
431 bool m_brokerArnHasBeenSet = false;
432 bool m_brokerNameHasBeenSet = false;
433 bool m_deploymentModeHasBeenSet = false;
434 bool m_encryptionOptionsHasBeenSet = false;
435 bool m_engineTypeHasBeenSet = false;
436 bool m_engineVersionHasBeenSet = false;
437 bool m_hostInstanceTypeHasBeenSet = false;
438 bool m_brokerIdHasBeenSet = false;
439 bool m_ldapServerMetadataHasBeenSet = false;
440 bool m_logsHasBeenSet = false;
441 bool m_maintenanceWindowStartTimeHasBeenSet = false;
442 bool m_publiclyAccessibleHasBeenSet = false;
443 bool m_securityGroupsHasBeenSet = false;
444 bool m_storageTypeHasBeenSet = false;
445 bool m_subnetIdsHasBeenSet = false;
446 bool m_usersHasBeenSet = false;
447};
448
449} // namespace Model
450} // namespace SecurityHub
451} // 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