/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MQ { namespace Model { /** *

Returns information about all brokers.

See Also:

AWS * API Reference

*/ class BrokerInstance { public: AWS_MQ_API BrokerInstance(); AWS_MQ_API BrokerInstance(Aws::Utils::Json::JsonView jsonValue); AWS_MQ_API BrokerInstance& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The brokers web console URL.

*/ inline const Aws::String& GetConsoleURL() const{ return m_consoleURL; } /** *

The brokers web console URL.

*/ inline bool ConsoleURLHasBeenSet() const { return m_consoleURLHasBeenSet; } /** *

The brokers web console URL.

*/ inline void SetConsoleURL(const Aws::String& value) { m_consoleURLHasBeenSet = true; m_consoleURL = value; } /** *

The brokers web console URL.

*/ inline void SetConsoleURL(Aws::String&& value) { m_consoleURLHasBeenSet = true; m_consoleURL = std::move(value); } /** *

The brokers web console URL.

*/ inline void SetConsoleURL(const char* value) { m_consoleURLHasBeenSet = true; m_consoleURL.assign(value); } /** *

The brokers web console URL.

*/ inline BrokerInstance& WithConsoleURL(const Aws::String& value) { SetConsoleURL(value); return *this;} /** *

The brokers web console URL.

*/ inline BrokerInstance& WithConsoleURL(Aws::String&& value) { SetConsoleURL(std::move(value)); return *this;} /** *

The brokers web console URL.

*/ inline BrokerInstance& WithConsoleURL(const char* value) { SetConsoleURL(value); return *this;} /** *

The broker's wire-level protocol endpoints.

*/ inline const Aws::Vector& GetEndpoints() const{ return m_endpoints; } /** *

The broker's wire-level protocol endpoints.

*/ inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; } /** *

The broker's wire-level protocol endpoints.

*/ inline void SetEndpoints(const Aws::Vector& value) { m_endpointsHasBeenSet = true; m_endpoints = value; } /** *

The broker's wire-level protocol endpoints.

*/ inline void SetEndpoints(Aws::Vector&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); } /** *

The broker's wire-level protocol endpoints.

*/ inline BrokerInstance& WithEndpoints(const Aws::Vector& value) { SetEndpoints(value); return *this;} /** *

The broker's wire-level protocol endpoints.

*/ inline BrokerInstance& WithEndpoints(Aws::Vector&& value) { SetEndpoints(std::move(value)); return *this;} /** *

The broker's wire-level protocol endpoints.

*/ inline BrokerInstance& AddEndpoints(const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } /** *

The broker's wire-level protocol endpoints.

*/ inline BrokerInstance& AddEndpoints(Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; } /** *

The broker's wire-level protocol endpoints.

*/ inline BrokerInstance& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } /** *

The IP address of the Elastic Network Interface (ENI) attached to the broker. * Does not apply to RabbitMQ brokers.

*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *

The IP address of the Elastic Network Interface (ENI) attached to the broker. * Does not apply to RabbitMQ brokers.

*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *

The IP address of the Elastic Network Interface (ENI) attached to the broker. * Does not apply to RabbitMQ brokers.

*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *

The IP address of the Elastic Network Interface (ENI) attached to the broker. * Does not apply to RabbitMQ brokers.

*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *

The IP address of the Elastic Network Interface (ENI) attached to the broker. * Does not apply to RabbitMQ brokers.

*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *

The IP address of the Elastic Network Interface (ENI) attached to the broker. * Does not apply to RabbitMQ brokers.

*/ inline BrokerInstance& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *

The IP address of the Elastic Network Interface (ENI) attached to the broker. * Does not apply to RabbitMQ brokers.

*/ inline BrokerInstance& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *

The IP address of the Elastic Network Interface (ENI) attached to the broker. * Does not apply to RabbitMQ brokers.

*/ inline BrokerInstance& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} private: Aws::String m_consoleURL; bool m_consoleURLHasBeenSet = false; Aws::Vector m_endpoints; bool m_endpointsHasBeenSet = false; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; }; } // namespace Model } // namespace MQ } // namespace Aws