/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about all brokers.See Also:
AWS
* API Reference
The broker's Amazon Resource Name (ARN).
*/ inline const Aws::String& GetBrokerArn() const{ return m_brokerArn; } /** *The broker's Amazon Resource Name (ARN).
*/ inline bool BrokerArnHasBeenSet() const { return m_brokerArnHasBeenSet; } /** *The broker's Amazon Resource Name (ARN).
*/ inline void SetBrokerArn(const Aws::String& value) { m_brokerArnHasBeenSet = true; m_brokerArn = value; } /** *The broker's Amazon Resource Name (ARN).
*/ inline void SetBrokerArn(Aws::String&& value) { m_brokerArnHasBeenSet = true; m_brokerArn = std::move(value); } /** *The broker's Amazon Resource Name (ARN).
*/ inline void SetBrokerArn(const char* value) { m_brokerArnHasBeenSet = true; m_brokerArn.assign(value); } /** *The broker's Amazon Resource Name (ARN).
*/ inline BrokerSummary& WithBrokerArn(const Aws::String& value) { SetBrokerArn(value); return *this;} /** *The broker's Amazon Resource Name (ARN).
*/ inline BrokerSummary& WithBrokerArn(Aws::String&& value) { SetBrokerArn(std::move(value)); return *this;} /** *The broker's Amazon Resource Name (ARN).
*/ inline BrokerSummary& 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 bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; } /** *The unique ID that Amazon MQ generates for the broker.
*/ inline void SetBrokerId(const Aws::String& value) { m_brokerIdHasBeenSet = true; m_brokerId = value; } /** *The unique ID that Amazon MQ generates for the broker.
*/ inline void SetBrokerId(Aws::String&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::move(value); } /** *The unique ID that Amazon MQ generates for the broker.
*/ inline void SetBrokerId(const char* value) { m_brokerIdHasBeenSet = true; m_brokerId.assign(value); } /** *The unique ID that Amazon MQ generates for the broker.
*/ inline BrokerSummary& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;} /** *The unique ID that Amazon MQ generates for the broker.
*/ inline BrokerSummary& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;} /** *The unique ID that Amazon MQ generates for the broker.
*/ inline BrokerSummary& WithBrokerId(const char* value) { SetBrokerId(value); return *this;} /** *The broker's name. This value is unique in your Amazon Web Services account, * 1-50 characters long, and containing 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 is unique in your Amazon Web Services account, * 1-50 characters long, and containing only letters, numbers, dashes, and * underscores, and must not contain white spaces, brackets, wildcard characters, * or special characters.
*/ inline bool BrokerNameHasBeenSet() const { return m_brokerNameHasBeenSet; } /** *The broker's name. This value is unique in your Amazon Web Services account, * 1-50 characters long, and containing 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_brokerNameHasBeenSet = true; m_brokerName = value; } /** *The broker's name. This value is unique in your Amazon Web Services account, * 1-50 characters long, and containing 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_brokerNameHasBeenSet = true; m_brokerName = std::move(value); } /** *The broker's name. This value is unique in your Amazon Web Services account, * 1-50 characters long, and containing 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_brokerNameHasBeenSet = true; m_brokerName.assign(value); } /** *The broker's name. This value is unique in your Amazon Web Services account, * 1-50 characters long, and containing only letters, numbers, dashes, and * underscores, and must not contain white spaces, brackets, wildcard characters, * or special characters.
*/ inline BrokerSummary& WithBrokerName(const Aws::String& value) { SetBrokerName(value); return *this;} /** *The broker's name. This value is unique in your Amazon Web Services account, * 1-50 characters long, and containing only letters, numbers, dashes, and * underscores, and must not contain white spaces, brackets, wildcard characters, * or special characters.
*/ inline BrokerSummary& WithBrokerName(Aws::String&& value) { SetBrokerName(std::move(value)); return *this;} /** *The broker's name. This value is unique in your Amazon Web Services account, * 1-50 characters long, and containing only letters, numbers, dashes, and * underscores, and must not contain white spaces, brackets, wildcard characters, * or special characters.
*/ inline BrokerSummary& 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 bool BrokerStateHasBeenSet() const { return m_brokerStateHasBeenSet; } /** *The broker's status.
*/ inline void SetBrokerState(const BrokerState& value) { m_brokerStateHasBeenSet = true; m_brokerState = value; } /** *The broker's status.
*/ inline void SetBrokerState(BrokerState&& value) { m_brokerStateHasBeenSet = true; m_brokerState = std::move(value); } /** *The broker's status.
*/ inline BrokerSummary& WithBrokerState(const BrokerState& value) { SetBrokerState(value); return *this;} /** *The broker's status.
*/ inline BrokerSummary& WithBrokerState(BrokerState&& value) { SetBrokerState(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 bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *The time when the broker was created.
*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *The time when the broker was created.
*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *The time when the broker was created.
*/ inline BrokerSummary& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *The time when the broker was created.
*/ inline BrokerSummary& 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 bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; } /** *The broker's deployment mode.
*/ inline void SetDeploymentMode(const DeploymentMode& value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = value; } /** *The broker's deployment mode.
*/ inline void SetDeploymentMode(DeploymentMode&& value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = std::move(value); } /** *The broker's deployment mode.
*/ inline BrokerSummary& WithDeploymentMode(const DeploymentMode& value) { SetDeploymentMode(value); return *this;} /** *The broker's deployment mode.
*/ inline BrokerSummary& WithDeploymentMode(DeploymentMode&& value) { SetDeploymentMode(std::move(value)); return *this;} /** *The type of broker engine.
*/ inline const EngineType& GetEngineType() const{ return m_engineType; } /** *The type of broker engine.
*/ inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; } /** *The type of broker engine.
*/ inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; } /** *The type of broker engine.
*/ inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); } /** *The type of broker engine.
*/ inline BrokerSummary& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;} /** *The type of broker engine.
*/ inline BrokerSummary& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;} /** *The broker's instance type.
*/ inline const Aws::String& GetHostInstanceType() const{ return m_hostInstanceType; } /** *The broker's instance type.
*/ inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; } /** *The broker's instance type.
*/ inline void SetHostInstanceType(const Aws::String& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = value; } /** *The broker's instance type.
*/ inline void SetHostInstanceType(Aws::String&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::move(value); } /** *The broker's instance type.
*/ inline void SetHostInstanceType(const char* value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType.assign(value); } /** *The broker's instance type.
*/ inline BrokerSummary& WithHostInstanceType(const Aws::String& value) { SetHostInstanceType(value); return *this;} /** *The broker's instance type.
*/ inline BrokerSummary& WithHostInstanceType(Aws::String&& value) { SetHostInstanceType(std::move(value)); return *this;} /** *The broker's instance type.
*/ inline BrokerSummary& WithHostInstanceType(const char* value) { SetHostInstanceType(value); return *this;} private: Aws::String m_brokerArn; bool m_brokerArnHasBeenSet = false; Aws::String m_brokerId; bool m_brokerIdHasBeenSet = false; Aws::String m_brokerName; bool m_brokerNameHasBeenSet = false; BrokerState m_brokerState; bool m_brokerStateHasBeenSet = false; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet = false; DeploymentMode m_deploymentMode; bool m_deploymentModeHasBeenSet = false; EngineType m_engineType; bool m_engineTypeHasBeenSet = false; Aws::String m_hostInstanceType; bool m_hostInstanceTypeHasBeenSet = false; }; } // namespace Model } // namespace MQ } // namespace Aws