183 lines
5.7 KiB
C
183 lines
5.7 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/mq/MQ_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace MQ
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* Returns information about all brokers.<p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerInstance">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_MQ_API BrokerInstance
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
BrokerInstance();
|
|||
|
|
BrokerInstance(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
BrokerInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The URL of the broker's ActiveMQ Web Console.
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetConsoleURL() const{ return m_consoleURL; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The URL of the broker's ActiveMQ Web Console.
|
|||
|
|
*/
|
|||
|
|
inline bool ConsoleURLHasBeenSet() const { return m_consoleURLHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The URL of the broker's ActiveMQ Web Console.
|
|||
|
|
*/
|
|||
|
|
inline void SetConsoleURL(const Aws::String& value) { m_consoleURLHasBeenSet = true; m_consoleURL = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The URL of the broker's ActiveMQ Web Console.
|
|||
|
|
*/
|
|||
|
|
inline void SetConsoleURL(Aws::String&& value) { m_consoleURLHasBeenSet = true; m_consoleURL = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The URL of the broker's ActiveMQ Web Console.
|
|||
|
|
*/
|
|||
|
|
inline void SetConsoleURL(const char* value) { m_consoleURLHasBeenSet = true; m_consoleURL.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The URL of the broker's ActiveMQ Web Console.
|
|||
|
|
*/
|
|||
|
|
inline BrokerInstance& WithConsoleURL(const Aws::String& value) { SetConsoleURL(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The URL of the broker's ActiveMQ Web Console.
|
|||
|
|
*/
|
|||
|
|
inline BrokerInstance& WithConsoleURL(Aws::String&& value) { SetConsoleURL(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The URL of the broker's ActiveMQ Web Console.
|
|||
|
|
*/
|
|||
|
|
inline BrokerInstance& WithConsoleURL(const char* value) { SetConsoleURL(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The broker's wire-level protocol endpoints.
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Aws::String>& 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<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The broker's wire-level protocol endpoints.
|
|||
|
|
*/
|
|||
|
|
inline void SetEndpoints(Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The broker's wire-level protocol endpoints.
|
|||
|
|
*/
|
|||
|
|
inline BrokerInstance& WithEndpoints(const Aws::Vector<Aws::String>& value) { SetEndpoints(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The broker's wire-level protocol endpoints.
|
|||
|
|
*/
|
|||
|
|
inline BrokerInstance& WithEndpoints(Aws::Vector<Aws::String>&& 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.
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The IP address of the Elastic Network Interface (ENI) attached to the broker.
|
|||
|
|
*/
|
|||
|
|
inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The IP address of the Elastic Network Interface (ENI) attached to the broker.
|
|||
|
|
*/
|
|||
|
|
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.
|
|||
|
|
*/
|
|||
|
|
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.
|
|||
|
|
*/
|
|||
|
|
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.
|
|||
|
|
*/
|
|||
|
|
inline BrokerInstance& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The IP address of the Elastic Network Interface (ENI) attached to the broker.
|
|||
|
|
*/
|
|||
|
|
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.
|
|||
|
|
*/
|
|||
|
|
inline BrokerInstance& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_consoleURL;
|
|||
|
|
bool m_consoleURLHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Vector<Aws::String> m_endpoints;
|
|||
|
|
bool m_endpointsHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_ipAddress;
|
|||
|
|
bool m_ipAddressHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace MQ
|
|||
|
|
} // namespace Aws
|