/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MQ { namespace Model { class DescribeBrokerResult { public: AWS_MQ_API DescribeBrokerResult(); AWS_MQ_API DescribeBrokerResult(const Aws::AmazonWebServiceResult& result); AWS_MQ_API DescribeBrokerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Actions required for a broker.

*/ inline const Aws::Vector& GetActionsRequired() const{ return m_actionsRequired; } /** *

Actions required for a broker.

*/ inline void SetActionsRequired(const Aws::Vector& value) { m_actionsRequired = value; } /** *

Actions required for a broker.

*/ inline void SetActionsRequired(Aws::Vector&& value) { m_actionsRequired = std::move(value); } /** *

Actions required for a broker.

*/ inline DescribeBrokerResult& WithActionsRequired(const Aws::Vector& value) { SetActionsRequired(value); return *this;} /** *

Actions required for a broker.

*/ inline DescribeBrokerResult& WithActionsRequired(Aws::Vector&& value) { SetActionsRequired(std::move(value)); return *this;} /** *

Actions required for a broker.

*/ inline DescribeBrokerResult& AddActionsRequired(const ActionRequired& value) { m_actionsRequired.push_back(value); return *this; } /** *

Actions required for a broker.

*/ inline DescribeBrokerResult& AddActionsRequired(ActionRequired&& value) { m_actionsRequired.push_back(std::move(value)); return *this; } /** *

The authentication strategy used to secure the broker. The default is * SIMPLE.

*/ inline const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; } /** *

The authentication strategy used to secure the broker. The default is * SIMPLE.

*/ inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategy = value; } /** *

The authentication strategy used to secure the broker. The default is * SIMPLE.

*/ inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategy = std::move(value); } /** *

The authentication strategy used to secure the broker. The default is * SIMPLE.

*/ inline DescribeBrokerResult& WithAuthenticationStrategy(const AuthenticationStrategy& value) { SetAuthenticationStrategy(value); return *this;} /** *

The authentication strategy used to secure the broker. The default is * SIMPLE.

*/ inline DescribeBrokerResult& WithAuthenticationStrategy(AuthenticationStrategy&& value) { SetAuthenticationStrategy(std::move(value)); return *this;} /** *

Enables automatic upgrades to new minor versions for brokers, as new versions * are released and supported by Amazon MQ. Automatic upgrades occur during the * scheduled maintenance window of the broker or after a manual broker reboot.

*/ inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; } /** *

Enables automatic upgrades to new minor versions for brokers, as new versions * are released and supported by Amazon MQ. Automatic upgrades occur during the * scheduled maintenance window of the broker or after a manual broker reboot.

*/ inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgrade = value; } /** *

Enables automatic upgrades to new minor versions for brokers, as new versions * are released and supported by Amazon MQ. Automatic upgrades occur during the * scheduled maintenance window of the broker or after a manual broker reboot.

*/ inline DescribeBrokerResult& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;} /** *

The broker's Amazon Resource Name (ARN).

*/ inline const Aws::String& GetBrokerArn() const{ return m_brokerArn; } /** *

The broker's Amazon Resource Name (ARN).

*/ inline void SetBrokerArn(const Aws::String& value) { m_brokerArn = value; } /** *

The broker's Amazon Resource Name (ARN).

*/ inline void SetBrokerArn(Aws::String&& value) { m_brokerArn = std::move(value); } /** *

The broker's Amazon Resource Name (ARN).

*/ inline void SetBrokerArn(const char* value) { m_brokerArn.assign(value); } /** *

The broker's Amazon Resource Name (ARN).

*/ inline DescribeBrokerResult& WithBrokerArn(const Aws::String& value) { SetBrokerArn(value); return *this;} /** *

The broker's Amazon Resource Name (ARN).

*/ inline DescribeBrokerResult& WithBrokerArn(Aws::String&& value) { SetBrokerArn(std::move(value)); return *this;} /** *

The broker's Amazon Resource Name (ARN).

*/ inline DescribeBrokerResult& WithBrokerArn(const char* value) { SetBrokerArn(value); return *this;} /** *

The unique ID that Amazon MQ generates for the broker.

*/ inline const Aws::String& GetBrokerId() const{ return m_brokerId; } /** *

The unique ID that Amazon MQ generates for the broker.

*/ inline void SetBrokerId(const Aws::String& value) { m_brokerId = value; } /** *

The unique ID that Amazon MQ generates for the broker.

*/ inline void SetBrokerId(Aws::String&& value) { m_brokerId = std::move(value); } /** *

The unique ID that Amazon MQ generates for the broker.

*/ inline void SetBrokerId(const char* value) { m_brokerId.assign(value); } /** *

The unique ID that Amazon MQ generates for the broker.

*/ inline DescribeBrokerResult& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;} /** *

The unique ID that Amazon MQ generates for the broker.

*/ inline DescribeBrokerResult& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;} /** *

The unique ID that Amazon MQ generates for the broker.

*/ inline DescribeBrokerResult& WithBrokerId(const char* value) { SetBrokerId(value); return *this;} /** *

A list of information about allocated brokers.

*/ inline const Aws::Vector& GetBrokerInstances() const{ return m_brokerInstances; } /** *

A list of information about allocated brokers.

*/ inline void SetBrokerInstances(const Aws::Vector& value) { m_brokerInstances = value; } /** *

A list of information about allocated brokers.

*/ inline void SetBrokerInstances(Aws::Vector&& value) { m_brokerInstances = std::move(value); } /** *

A list of information about allocated brokers.

*/ inline DescribeBrokerResult& WithBrokerInstances(const Aws::Vector& value) { SetBrokerInstances(value); return *this;} /** *

A list of information about allocated brokers.

*/ inline DescribeBrokerResult& WithBrokerInstances(Aws::Vector&& value) { SetBrokerInstances(std::move(value)); return *this;} /** *

A list of information about allocated brokers.

*/ inline DescribeBrokerResult& AddBrokerInstances(const BrokerInstance& value) { m_brokerInstances.push_back(value); return *this; } /** *

A list of information about allocated brokers.

*/ inline DescribeBrokerResult& AddBrokerInstances(BrokerInstance&& value) { m_brokerInstances.push_back(std::move(value)); return *this; } /** *

The broker's name. This value must be unique in your Amazon Web Services * account account, 1-50 characters long, must contain only letters, numbers, * dashes, and underscores, and must not contain white spaces, brackets, wildcard * characters, or special characters.

*/ inline const Aws::String& GetBrokerName() const{ return m_brokerName; } /** *

The broker's name. This value must be unique in your Amazon Web Services * account account, 1-50 characters long, must contain only letters, numbers, * dashes, and underscores, and must not contain white spaces, brackets, wildcard * characters, or special characters.

*/ inline void SetBrokerName(const Aws::String& value) { m_brokerName = value; } /** *

The broker's name. This value must be unique in your Amazon Web Services * account account, 1-50 characters long, must contain only letters, numbers, * dashes, and underscores, and must not contain white spaces, brackets, wildcard * characters, or special characters.

*/ inline void SetBrokerName(Aws::String&& value) { m_brokerName = std::move(value); } /** *

The broker's name. This value must be unique in your Amazon Web Services * account account, 1-50 characters long, must contain only letters, numbers, * dashes, and underscores, and must not contain white spaces, brackets, wildcard * characters, or special characters.

*/ inline void SetBrokerName(const char* value) { m_brokerName.assign(value); } /** *

The broker's name. This value must be unique in your Amazon Web Services * account account, 1-50 characters long, must contain only letters, numbers, * dashes, and underscores, and must not contain white spaces, brackets, wildcard * characters, or special characters.

*/ inline DescribeBrokerResult& WithBrokerName(const Aws::String& value) { SetBrokerName(value); return *this;} /** *

The broker's name. This value must be unique in your Amazon Web Services * account account, 1-50 characters long, must contain only letters, numbers, * dashes, and underscores, and must not contain white spaces, brackets, wildcard * characters, or special characters.

*/ inline DescribeBrokerResult& WithBrokerName(Aws::String&& value) { SetBrokerName(std::move(value)); return *this;} /** *

The broker's name. This value must be unique in your Amazon Web Services * account account, 1-50 characters long, must contain only letters, numbers, * dashes, and underscores, and must not contain white spaces, brackets, wildcard * characters, or special characters.

*/ inline DescribeBrokerResult& WithBrokerName(const char* value) { SetBrokerName(value); return *this;} /** *

The broker's status.

*/ inline const BrokerState& GetBrokerState() const{ return m_brokerState; } /** *

The broker's status.

*/ inline void SetBrokerState(const BrokerState& value) { m_brokerState = value; } /** *

The broker's status.

*/ inline void SetBrokerState(BrokerState&& value) { m_brokerState = std::move(value); } /** *

The broker's status.

*/ inline DescribeBrokerResult& WithBrokerState(const BrokerState& value) { SetBrokerState(value); return *this;} /** *

The broker's status.

*/ inline DescribeBrokerResult& WithBrokerState(BrokerState&& value) { SetBrokerState(std::move(value)); return *this;} /** *

The list of all revisions for the specified configuration.

*/ inline const Configurations& GetConfigurations() const{ return m_configurations; } /** *

The list of all revisions for the specified configuration.

*/ inline void SetConfigurations(const Configurations& value) { m_configurations = value; } /** *

The list of all revisions for the specified configuration.

*/ inline void SetConfigurations(Configurations&& value) { m_configurations = std::move(value); } /** *

The list of all revisions for the specified configuration.

*/ inline DescribeBrokerResult& WithConfigurations(const Configurations& value) { SetConfigurations(value); return *this;} /** *

The list of all revisions for the specified configuration.

*/ inline DescribeBrokerResult& WithConfigurations(Configurations&& value) { SetConfigurations(std::move(value)); return *this;} /** *

The time when the broker was created.

*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *

The time when the broker was created.

*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_created = value; } /** *

The time when the broker was created.

*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_created = std::move(value); } /** *

The time when the broker was created.

*/ inline DescribeBrokerResult& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *

The time when the broker was created.

*/ inline DescribeBrokerResult& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *

The broker's deployment mode.

*/ inline const DeploymentMode& GetDeploymentMode() const{ return m_deploymentMode; } /** *

The broker's deployment mode.

*/ inline void SetDeploymentMode(const DeploymentMode& value) { m_deploymentMode = value; } /** *

The broker's deployment mode.

*/ inline void SetDeploymentMode(DeploymentMode&& value) { m_deploymentMode = std::move(value); } /** *

The broker's deployment mode.

*/ inline DescribeBrokerResult& WithDeploymentMode(const DeploymentMode& value) { SetDeploymentMode(value); return *this;} /** *

The broker's deployment mode.

*/ inline DescribeBrokerResult& WithDeploymentMode(DeploymentMode&& value) { SetDeploymentMode(std::move(value)); return *this;} /** *

Encryption options for the broker.

*/ inline const EncryptionOptions& GetEncryptionOptions() const{ return m_encryptionOptions; } /** *

Encryption options for the broker.

*/ inline void SetEncryptionOptions(const EncryptionOptions& value) { m_encryptionOptions = value; } /** *

Encryption options for the broker.

*/ inline void SetEncryptionOptions(EncryptionOptions&& value) { m_encryptionOptions = std::move(value); } /** *

Encryption options for the broker.

*/ inline DescribeBrokerResult& WithEncryptionOptions(const EncryptionOptions& value) { SetEncryptionOptions(value); return *this;} /** *

Encryption options for the broker.

*/ inline DescribeBrokerResult& WithEncryptionOptions(EncryptionOptions&& value) { SetEncryptionOptions(std::move(value)); return *this;} /** *

The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and * RABBITMQ.

*/ inline const EngineType& GetEngineType() const{ return m_engineType; } /** *

The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and * RABBITMQ.

*/ inline void SetEngineType(const EngineType& value) { m_engineType = value; } /** *

The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and * RABBITMQ.

*/ inline void SetEngineType(EngineType&& value) { m_engineType = std::move(value); } /** *

The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and * RABBITMQ.

*/ inline DescribeBrokerResult& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;} /** *

The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and * RABBITMQ.

*/ inline DescribeBrokerResult& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;} /** *

The broker engine's version. For a list of supported engine versions, see Supported * engines.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The broker engine's version. For a list of supported engine versions, see Supported * engines.

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersion = value; } /** *

The broker engine's version. For a list of supported engine versions, see Supported * engines.

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersion = std::move(value); } /** *

The broker engine's version. For a list of supported engine versions, see Supported * engines.

*/ inline void SetEngineVersion(const char* value) { m_engineVersion.assign(value); } /** *

The broker engine's version. For a list of supported engine versions, see Supported * engines.

*/ inline DescribeBrokerResult& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The broker engine's version. For a list of supported engine versions, see Supported * engines.

*/ inline DescribeBrokerResult& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The broker engine's version. For a list of supported engine versions, see Supported * engines.

*/ inline DescribeBrokerResult& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

The broker's instance type.

*/ inline const Aws::String& GetHostInstanceType() const{ return m_hostInstanceType; } /** *

The broker's instance type.

*/ inline void SetHostInstanceType(const Aws::String& value) { m_hostInstanceType = value; } /** *

The broker's instance type.

*/ inline void SetHostInstanceType(Aws::String&& value) { m_hostInstanceType = std::move(value); } /** *

The broker's instance type.

*/ inline void SetHostInstanceType(const char* value) { m_hostInstanceType.assign(value); } /** *

The broker's instance type.

*/ inline DescribeBrokerResult& WithHostInstanceType(const Aws::String& value) { SetHostInstanceType(value); return *this;} /** *

The broker's instance type.

*/ inline DescribeBrokerResult& WithHostInstanceType(Aws::String&& value) { SetHostInstanceType(std::move(value)); return *this;} /** *

The broker's instance type.

*/ inline DescribeBrokerResult& WithHostInstanceType(const char* value) { SetHostInstanceType(value); return *this;} /** *

The metadata of the LDAP server used to authenticate and authorize * connections to the broker.

*/ inline const LdapServerMetadataOutput& GetLdapServerMetadata() const{ return m_ldapServerMetadata; } /** *

The metadata of the LDAP server used to authenticate and authorize * connections to the broker.

*/ inline void SetLdapServerMetadata(const LdapServerMetadataOutput& value) { m_ldapServerMetadata = value; } /** *

The metadata of the LDAP server used to authenticate and authorize * connections to the broker.

*/ inline void SetLdapServerMetadata(LdapServerMetadataOutput&& value) { m_ldapServerMetadata = std::move(value); } /** *

The metadata of the LDAP server used to authenticate and authorize * connections to the broker.

*/ inline DescribeBrokerResult& WithLdapServerMetadata(const LdapServerMetadataOutput& value) { SetLdapServerMetadata(value); return *this;} /** *

The metadata of the LDAP server used to authenticate and authorize * connections to the broker.

*/ inline DescribeBrokerResult& WithLdapServerMetadata(LdapServerMetadataOutput&& value) { SetLdapServerMetadata(std::move(value)); return *this;} /** *

The list of information about logs currently enabled and pending to be * deployed for the specified broker.

*/ inline const LogsSummary& GetLogs() const{ return m_logs; } /** *

The list of information about logs currently enabled and pending to be * deployed for the specified broker.

*/ inline void SetLogs(const LogsSummary& value) { m_logs = value; } /** *

The list of information about logs currently enabled and pending to be * deployed for the specified broker.

*/ inline void SetLogs(LogsSummary&& value) { m_logs = std::move(value); } /** *

The list of information about logs currently enabled and pending to be * deployed for the specified broker.

*/ inline DescribeBrokerResult& WithLogs(const LogsSummary& value) { SetLogs(value); return *this;} /** *

The list of information about logs currently enabled and pending to be * deployed for the specified broker.

*/ inline DescribeBrokerResult& WithLogs(LogsSummary&& value) { SetLogs(std::move(value)); return *this;} /** *

The parameters that determine the WeeklyStartTime.

*/ inline const WeeklyStartTime& GetMaintenanceWindowStartTime() const{ return m_maintenanceWindowStartTime; } /** *

The parameters that determine the WeeklyStartTime.

*/ inline void SetMaintenanceWindowStartTime(const WeeklyStartTime& value) { m_maintenanceWindowStartTime = value; } /** *

The parameters that determine the WeeklyStartTime.

*/ inline void SetMaintenanceWindowStartTime(WeeklyStartTime&& value) { m_maintenanceWindowStartTime = std::move(value); } /** *

The parameters that determine the WeeklyStartTime.

*/ inline DescribeBrokerResult& WithMaintenanceWindowStartTime(const WeeklyStartTime& value) { SetMaintenanceWindowStartTime(value); return *this;} /** *

The parameters that determine the WeeklyStartTime.

*/ inline DescribeBrokerResult& WithMaintenanceWindowStartTime(WeeklyStartTime&& value) { SetMaintenanceWindowStartTime(std::move(value)); return *this;} /** *

The authentication strategy that will be applied when the broker is rebooted. * The default is SIMPLE.

*/ inline const AuthenticationStrategy& GetPendingAuthenticationStrategy() const{ return m_pendingAuthenticationStrategy; } /** *

The authentication strategy that will be applied when the broker is rebooted. * The default is SIMPLE.

*/ inline void SetPendingAuthenticationStrategy(const AuthenticationStrategy& value) { m_pendingAuthenticationStrategy = value; } /** *

The authentication strategy that will be applied when the broker is rebooted. * The default is SIMPLE.

*/ inline void SetPendingAuthenticationStrategy(AuthenticationStrategy&& value) { m_pendingAuthenticationStrategy = std::move(value); } /** *

The authentication strategy that will be applied when the broker is rebooted. * The default is SIMPLE.

*/ inline DescribeBrokerResult& WithPendingAuthenticationStrategy(const AuthenticationStrategy& value) { SetPendingAuthenticationStrategy(value); return *this;} /** *

The authentication strategy that will be applied when the broker is rebooted. * The default is SIMPLE.

*/ inline DescribeBrokerResult& WithPendingAuthenticationStrategy(AuthenticationStrategy&& value) { SetPendingAuthenticationStrategy(std::move(value)); return *this;} /** *

The broker engine version to upgrade to. For a list of supported engine * versions, see Supported * engines.

*/ inline const Aws::String& GetPendingEngineVersion() const{ return m_pendingEngineVersion; } /** *

The broker engine version to upgrade to. For a list of supported engine * versions, see Supported * engines.

*/ inline void SetPendingEngineVersion(const Aws::String& value) { m_pendingEngineVersion = value; } /** *

The broker engine version to upgrade to. For a list of supported engine * versions, see Supported * engines.

*/ inline void SetPendingEngineVersion(Aws::String&& value) { m_pendingEngineVersion = std::move(value); } /** *

The broker engine version to upgrade to. For a list of supported engine * versions, see Supported * engines.

*/ inline void SetPendingEngineVersion(const char* value) { m_pendingEngineVersion.assign(value); } /** *

The broker engine version to upgrade to. For a list of supported engine * versions, see Supported * engines.

*/ inline DescribeBrokerResult& WithPendingEngineVersion(const Aws::String& value) { SetPendingEngineVersion(value); return *this;} /** *

The broker engine version to upgrade to. For a list of supported engine * versions, see Supported * engines.

*/ inline DescribeBrokerResult& WithPendingEngineVersion(Aws::String&& value) { SetPendingEngineVersion(std::move(value)); return *this;} /** *

The broker engine version to upgrade to. For a list of supported engine * versions, see Supported * engines.

*/ inline DescribeBrokerResult& WithPendingEngineVersion(const char* value) { SetPendingEngineVersion(value); return *this;} /** *

The broker's host instance type to upgrade to. For a list of supported * instance types, see Broker * instance types.

*/ inline const Aws::String& GetPendingHostInstanceType() const{ return m_pendingHostInstanceType; } /** *

The broker's host instance type to upgrade to. For a list of supported * instance types, see Broker * instance types.

*/ inline void SetPendingHostInstanceType(const Aws::String& value) { m_pendingHostInstanceType = value; } /** *

The broker's host instance type to upgrade to. For a list of supported * instance types, see Broker * instance types.

*/ inline void SetPendingHostInstanceType(Aws::String&& value) { m_pendingHostInstanceType = std::move(value); } /** *

The broker's host instance type to upgrade to. For a list of supported * instance types, see Broker * instance types.

*/ inline void SetPendingHostInstanceType(const char* value) { m_pendingHostInstanceType.assign(value); } /** *

The broker's host instance type to upgrade to. For a list of supported * instance types, see Broker * instance types.

*/ inline DescribeBrokerResult& WithPendingHostInstanceType(const Aws::String& value) { SetPendingHostInstanceType(value); return *this;} /** *

The broker's host instance type to upgrade to. For a list of supported * instance types, see Broker * instance types.

*/ inline DescribeBrokerResult& WithPendingHostInstanceType(Aws::String&& value) { SetPendingHostInstanceType(std::move(value)); return *this;} /** *

The broker's host instance type to upgrade to. For a list of supported * instance types, see Broker * instance types.

*/ inline DescribeBrokerResult& WithPendingHostInstanceType(const char* value) { SetPendingHostInstanceType(value); return *this;} /** *

The metadata of the LDAP server that will be used to authenticate and * authorize connections to the broker after it is rebooted.

*/ inline const LdapServerMetadataOutput& GetPendingLdapServerMetadata() const{ return m_pendingLdapServerMetadata; } /** *

The metadata of the LDAP server that will be used to authenticate and * authorize connections to the broker after it is rebooted.

*/ inline void SetPendingLdapServerMetadata(const LdapServerMetadataOutput& value) { m_pendingLdapServerMetadata = value; } /** *

The metadata of the LDAP server that will be used to authenticate and * authorize connections to the broker after it is rebooted.

*/ inline void SetPendingLdapServerMetadata(LdapServerMetadataOutput&& value) { m_pendingLdapServerMetadata = std::move(value); } /** *

The metadata of the LDAP server that will be used to authenticate and * authorize connections to the broker after it is rebooted.

*/ inline DescribeBrokerResult& WithPendingLdapServerMetadata(const LdapServerMetadataOutput& value) { SetPendingLdapServerMetadata(value); return *this;} /** *

The metadata of the LDAP server that will be used to authenticate and * authorize connections to the broker after it is rebooted.

*/ inline DescribeBrokerResult& WithPendingLdapServerMetadata(LdapServerMetadataOutput&& value) { SetPendingLdapServerMetadata(std::move(value)); return *this;} /** *

The list of pending security groups to authorize connections to brokers.

*/ inline const Aws::Vector& GetPendingSecurityGroups() const{ return m_pendingSecurityGroups; } /** *

The list of pending security groups to authorize connections to brokers.

*/ inline void SetPendingSecurityGroups(const Aws::Vector& value) { m_pendingSecurityGroups = value; } /** *

The list of pending security groups to authorize connections to brokers.

*/ inline void SetPendingSecurityGroups(Aws::Vector&& value) { m_pendingSecurityGroups = std::move(value); } /** *

The list of pending security groups to authorize connections to brokers.

*/ inline DescribeBrokerResult& WithPendingSecurityGroups(const Aws::Vector& value) { SetPendingSecurityGroups(value); return *this;} /** *

The list of pending security groups to authorize connections to brokers.

*/ inline DescribeBrokerResult& WithPendingSecurityGroups(Aws::Vector&& value) { SetPendingSecurityGroups(std::move(value)); return *this;} /** *

The list of pending security groups to authorize connections to brokers.

*/ inline DescribeBrokerResult& AddPendingSecurityGroups(const Aws::String& value) { m_pendingSecurityGroups.push_back(value); return *this; } /** *

The list of pending security groups to authorize connections to brokers.

*/ inline DescribeBrokerResult& AddPendingSecurityGroups(Aws::String&& value) { m_pendingSecurityGroups.push_back(std::move(value)); return *this; } /** *

The list of pending security groups to authorize connections to brokers.

*/ inline DescribeBrokerResult& AddPendingSecurityGroups(const char* value) { m_pendingSecurityGroups.push_back(value); return *this; } /** *

Enables connections from applications outside of the VPC that hosts the * broker's subnets.

*/ inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } /** *

Enables connections from applications outside of the VPC that hosts the * broker's subnets.

*/ inline void SetPubliclyAccessible(bool value) { m_publiclyAccessible = value; } /** *

Enables connections from applications outside of the VPC that hosts the * broker's subnets.

*/ inline DescribeBrokerResult& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;} /** *

The list of rules (1 minimum, 125 maximum) that authorize connections to * brokers.

*/ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** *

The list of rules (1 minimum, 125 maximum) that authorize connections to * brokers.

*/ inline void SetSecurityGroups(const Aws::Vector& value) { m_securityGroups = value; } /** *

The list of rules (1 minimum, 125 maximum) that authorize connections to * brokers.

*/ inline void SetSecurityGroups(Aws::Vector&& value) { m_securityGroups = std::move(value); } /** *

The list of rules (1 minimum, 125 maximum) that authorize connections to * brokers.

*/ inline DescribeBrokerResult& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** *

The list of rules (1 minimum, 125 maximum) that authorize connections to * brokers.

*/ inline DescribeBrokerResult& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** *

The list of rules (1 minimum, 125 maximum) that authorize connections to * brokers.

*/ inline DescribeBrokerResult& AddSecurityGroups(const Aws::String& value) { m_securityGroups.push_back(value); return *this; } /** *

The list of rules (1 minimum, 125 maximum) that authorize connections to * brokers.

*/ inline DescribeBrokerResult& AddSecurityGroups(Aws::String&& value) { m_securityGroups.push_back(std::move(value)); return *this; } /** *

The list of rules (1 minimum, 125 maximum) that authorize connections to * brokers.

*/ inline DescribeBrokerResult& AddSecurityGroups(const char* value) { m_securityGroups.push_back(value); return *this; } /** *

The broker's storage type.

*/ inline const BrokerStorageType& GetStorageType() const{ return m_storageType; } /** *

The broker's storage type.

*/ inline void SetStorageType(const BrokerStorageType& value) { m_storageType = value; } /** *

The broker's storage type.

*/ inline void SetStorageType(BrokerStorageType&& value) { m_storageType = std::move(value); } /** *

The broker's storage type.

*/ inline DescribeBrokerResult& WithStorageType(const BrokerStorageType& value) { SetStorageType(value); return *this;} /** *

The broker's storage type.

*/ inline DescribeBrokerResult& WithStorageType(BrokerStorageType&& value) { SetStorageType(std::move(value)); return *this;} /** *

The list of groups that define which subnets and IP ranges the broker can use * from different Availability Zones.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

The list of groups that define which subnets and IP ranges the broker can use * from different Availability Zones.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIds = value; } /** *

The list of groups that define which subnets and IP ranges the broker can use * from different Availability Zones.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIds = std::move(value); } /** *

The list of groups that define which subnets and IP ranges the broker can use * from different Availability Zones.

*/ inline DescribeBrokerResult& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** *

The list of groups that define which subnets and IP ranges the broker can use * from different Availability Zones.

*/ inline DescribeBrokerResult& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** *

The list of groups that define which subnets and IP ranges the broker can use * from different Availability Zones.

*/ inline DescribeBrokerResult& AddSubnetIds(const Aws::String& value) { m_subnetIds.push_back(value); return *this; } /** *

The list of groups that define which subnets and IP ranges the broker can use * from different Availability Zones.

*/ inline DescribeBrokerResult& AddSubnetIds(Aws::String&& value) { m_subnetIds.push_back(std::move(value)); return *this; } /** *

The list of groups that define which subnets and IP ranges the broker can use * from different Availability Zones.

*/ inline DescribeBrokerResult& AddSubnetIds(const char* value) { m_subnetIds.push_back(value); return *this; } /** *

The list of all tags associated with this broker.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The list of all tags associated with this broker.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The list of all tags associated with this broker.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The list of all tags associated with this broker.

*/ inline DescribeBrokerResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The list of all broker usernames for the specified broker.

*/ inline const Aws::Vector& GetUsers() const{ return m_users; } /** *

The list of all broker usernames for the specified broker.

*/ inline void SetUsers(const Aws::Vector& value) { m_users = value; } /** *

The list of all broker usernames for the specified broker.

*/ inline void SetUsers(Aws::Vector&& value) { m_users = std::move(value); } /** *

The list of all broker usernames for the specified broker.

*/ inline DescribeBrokerResult& WithUsers(const Aws::Vector& value) { SetUsers(value); return *this;} /** *

The list of all broker usernames for the specified broker.

*/ inline DescribeBrokerResult& WithUsers(Aws::Vector&& value) { SetUsers(std::move(value)); return *this;} /** *

The list of all broker usernames for the specified broker.

*/ inline DescribeBrokerResult& AddUsers(const UserSummary& value) { m_users.push_back(value); return *this; } /** *

The list of all broker usernames for the specified broker.

*/ inline DescribeBrokerResult& AddUsers(UserSummary&& value) { m_users.push_back(std::move(value)); return *this; } /** *

The replication details of the data replication-enabled broker. Only returned * if dataReplicationMode is set to CRDR.

*/ inline const DataReplicationMetadataOutput& GetDataReplicationMetadata() const{ return m_dataReplicationMetadata; } /** *

The replication details of the data replication-enabled broker. Only returned * if dataReplicationMode is set to CRDR.

*/ inline void SetDataReplicationMetadata(const DataReplicationMetadataOutput& value) { m_dataReplicationMetadata = value; } /** *

The replication details of the data replication-enabled broker. Only returned * if dataReplicationMode is set to CRDR.

*/ inline void SetDataReplicationMetadata(DataReplicationMetadataOutput&& value) { m_dataReplicationMetadata = std::move(value); } /** *

The replication details of the data replication-enabled broker. Only returned * if dataReplicationMode is set to CRDR.

*/ inline DescribeBrokerResult& WithDataReplicationMetadata(const DataReplicationMetadataOutput& value) { SetDataReplicationMetadata(value); return *this;} /** *

The replication details of the data replication-enabled broker. Only returned * if dataReplicationMode is set to CRDR.

*/ inline DescribeBrokerResult& WithDataReplicationMetadata(DataReplicationMetadataOutput&& value) { SetDataReplicationMetadata(std::move(value)); return *this;} /** *

Describes whether this broker is a part of a data replication pair.

*/ inline const DataReplicationMode& GetDataReplicationMode() const{ return m_dataReplicationMode; } /** *

Describes whether this broker is a part of a data replication pair.

*/ inline void SetDataReplicationMode(const DataReplicationMode& value) { m_dataReplicationMode = value; } /** *

Describes whether this broker is a part of a data replication pair.

*/ inline void SetDataReplicationMode(DataReplicationMode&& value) { m_dataReplicationMode = std::move(value); } /** *

Describes whether this broker is a part of a data replication pair.

*/ inline DescribeBrokerResult& WithDataReplicationMode(const DataReplicationMode& value) { SetDataReplicationMode(value); return *this;} /** *

Describes whether this broker is a part of a data replication pair.

*/ inline DescribeBrokerResult& WithDataReplicationMode(DataReplicationMode&& value) { SetDataReplicationMode(std::move(value)); return *this;} /** *

The pending replication details of the data replication-enabled broker. Only * returned if pendingDataReplicationMode is set to CRDR.

*/ inline const DataReplicationMetadataOutput& GetPendingDataReplicationMetadata() const{ return m_pendingDataReplicationMetadata; } /** *

The pending replication details of the data replication-enabled broker. Only * returned if pendingDataReplicationMode is set to CRDR.

*/ inline void SetPendingDataReplicationMetadata(const DataReplicationMetadataOutput& value) { m_pendingDataReplicationMetadata = value; } /** *

The pending replication details of the data replication-enabled broker. Only * returned if pendingDataReplicationMode is set to CRDR.

*/ inline void SetPendingDataReplicationMetadata(DataReplicationMetadataOutput&& value) { m_pendingDataReplicationMetadata = std::move(value); } /** *

The pending replication details of the data replication-enabled broker. Only * returned if pendingDataReplicationMode is set to CRDR.

*/ inline DescribeBrokerResult& WithPendingDataReplicationMetadata(const DataReplicationMetadataOutput& value) { SetPendingDataReplicationMetadata(value); return *this;} /** *

The pending replication details of the data replication-enabled broker. Only * returned if pendingDataReplicationMode is set to CRDR.

*/ inline DescribeBrokerResult& WithPendingDataReplicationMetadata(DataReplicationMetadataOutput&& value) { SetPendingDataReplicationMetadata(std::move(value)); return *this;} /** *

Describes whether this broker will be a part of a data replication pair after * reboot.

*/ inline const DataReplicationMode& GetPendingDataReplicationMode() const{ return m_pendingDataReplicationMode; } /** *

Describes whether this broker will be a part of a data replication pair after * reboot.

*/ inline void SetPendingDataReplicationMode(const DataReplicationMode& value) { m_pendingDataReplicationMode = value; } /** *

Describes whether this broker will be a part of a data replication pair after * reboot.

*/ inline void SetPendingDataReplicationMode(DataReplicationMode&& value) { m_pendingDataReplicationMode = std::move(value); } /** *

Describes whether this broker will be a part of a data replication pair after * reboot.

*/ inline DescribeBrokerResult& WithPendingDataReplicationMode(const DataReplicationMode& value) { SetPendingDataReplicationMode(value); return *this;} /** *

Describes whether this broker will be a part of a data replication pair after * reboot.

*/ inline DescribeBrokerResult& WithPendingDataReplicationMode(DataReplicationMode&& value) { SetPendingDataReplicationMode(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeBrokerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBrokerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBrokerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_actionsRequired; AuthenticationStrategy m_authenticationStrategy; bool m_autoMinorVersionUpgrade; Aws::String m_brokerArn; Aws::String m_brokerId; Aws::Vector m_brokerInstances; Aws::String m_brokerName; BrokerState m_brokerState; Configurations m_configurations; Aws::Utils::DateTime m_created; DeploymentMode m_deploymentMode; EncryptionOptions m_encryptionOptions; EngineType m_engineType; Aws::String m_engineVersion; Aws::String m_hostInstanceType; LdapServerMetadataOutput m_ldapServerMetadata; LogsSummary m_logs; WeeklyStartTime m_maintenanceWindowStartTime; AuthenticationStrategy m_pendingAuthenticationStrategy; Aws::String m_pendingEngineVersion; Aws::String m_pendingHostInstanceType; LdapServerMetadataOutput m_pendingLdapServerMetadata; Aws::Vector m_pendingSecurityGroups; bool m_publiclyAccessible; Aws::Vector m_securityGroups; BrokerStorageType m_storageType; Aws::Vector m_subnetIds; Aws::Map m_tags; Aws::Vector m_users; DataReplicationMetadataOutput m_dataReplicationMetadata; DataReplicationMode m_dataReplicationMode; DataReplicationMetadataOutput m_pendingDataReplicationMetadata; DataReplicationMode m_pendingDataReplicationMode; Aws::String m_requestId; }; } // namespace Model } // namespace MQ } // namespace Aws