AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BrokerInstance.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MQ
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MQ_API BrokerInstance();
39
40
42
45 inline const Aws::String& GetConsoleURL() const{ return m_consoleURL; }
46 inline bool ConsoleURLHasBeenSet() const { return m_consoleURLHasBeenSet; }
47 inline void SetConsoleURL(const Aws::String& value) { m_consoleURLHasBeenSet = true; m_consoleURL = value; }
48 inline void SetConsoleURL(Aws::String&& value) { m_consoleURLHasBeenSet = true; m_consoleURL = std::move(value); }
49 inline void SetConsoleURL(const char* value) { m_consoleURLHasBeenSet = true; m_consoleURL.assign(value); }
50 inline BrokerInstance& WithConsoleURL(const Aws::String& value) { SetConsoleURL(value); return *this;}
51 inline BrokerInstance& WithConsoleURL(Aws::String&& value) { SetConsoleURL(std::move(value)); return *this;}
52 inline BrokerInstance& WithConsoleURL(const char* value) { SetConsoleURL(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetEndpoints() const{ return m_endpoints; }
60 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
61 inline void SetEndpoints(const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
62 inline void SetEndpoints(Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
63 inline BrokerInstance& WithEndpoints(const Aws::Vector<Aws::String>& value) { SetEndpoints(value); return *this;}
64 inline BrokerInstance& WithEndpoints(Aws::Vector<Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
65 inline BrokerInstance& AddEndpoints(const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
66 inline BrokerInstance& AddEndpoints(Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
67 inline BrokerInstance& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
69
71
75 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
76 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
77 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
78 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
79 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
80 inline BrokerInstance& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
81 inline BrokerInstance& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
82 inline BrokerInstance& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
84 private:
85
86 Aws::String m_consoleURL;
87 bool m_consoleURLHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_endpoints;
90 bool m_endpointsHasBeenSet = false;
91
92 Aws::String m_ipAddress;
93 bool m_ipAddressHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace MQ
98} // namespace Aws
BrokerInstance & WithIpAddress(Aws::String &&value)
void SetConsoleURL(const char *value)
BrokerInstance & AddEndpoints(Aws::String &&value)
BrokerInstance & AddEndpoints(const char *value)
BrokerInstance & WithConsoleURL(Aws::String &&value)
BrokerInstance & WithConsoleURL(const char *value)
BrokerInstance & AddEndpoints(const Aws::String &value)
void SetIpAddress(Aws::String &&value)
BrokerInstance & WithEndpoints(Aws::Vector< Aws::String > &&value)
void SetConsoleURL(const Aws::String &value)
void SetEndpoints(const Aws::Vector< Aws::String > &value)
AWS_MQ_API BrokerInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MQ_API BrokerInstance(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIpAddress() const
BrokerInstance & WithIpAddress(const char *value)
void SetConsoleURL(Aws::String &&value)
const Aws::Vector< Aws::String > & GetEndpoints() const
BrokerInstance & WithConsoleURL(const Aws::String &value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetConsoleURL() const
BrokerInstance & WithEndpoints(const Aws::Vector< Aws::String > &value)
void SetIpAddress(const Aws::String &value)
void SetEndpoints(Aws::Vector< Aws::String > &&value)
BrokerInstance & WithIpAddress(const Aws::String &value)
void SetIpAddress(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue