AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
BrokerInstance.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mq/MQ_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MQ {
21namespace Model {
22
29 public:
30 AWS_MQ_API BrokerInstance() = default;
34
36
39 inline const Aws::String& GetConsoleURL() const { return m_consoleURL; }
40 inline bool ConsoleURLHasBeenSet() const { return m_consoleURLHasBeenSet; }
41 template <typename ConsoleURLT = Aws::String>
42 void SetConsoleURL(ConsoleURLT&& value) {
43 m_consoleURLHasBeenSet = true;
44 m_consoleURL = std::forward<ConsoleURLT>(value);
45 }
46 template <typename ConsoleURLT = Aws::String>
47 BrokerInstance& WithConsoleURL(ConsoleURLT&& value) {
48 SetConsoleURL(std::forward<ConsoleURLT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Vector<Aws::String>& GetEndpoints() const { return m_endpoints; }
58 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
59 template <typename EndpointsT = Aws::Vector<Aws::String>>
60 void SetEndpoints(EndpointsT&& value) {
61 m_endpointsHasBeenSet = true;
62 m_endpoints = std::forward<EndpointsT>(value);
63 }
64 template <typename EndpointsT = Aws::Vector<Aws::String>>
65 BrokerInstance& WithEndpoints(EndpointsT&& value) {
66 SetEndpoints(std::forward<EndpointsT>(value));
67 return *this;
68 }
69 template <typename EndpointsT = Aws::String>
70 BrokerInstance& AddEndpoints(EndpointsT&& value) {
71 m_endpointsHasBeenSet = true;
72 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
83 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
84 template <typename IpAddressT = Aws::String>
85 void SetIpAddress(IpAddressT&& value) {
86 m_ipAddressHasBeenSet = true;
87 m_ipAddress = std::forward<IpAddressT>(value);
88 }
89 template <typename IpAddressT = Aws::String>
90 BrokerInstance& WithIpAddress(IpAddressT&& value) {
91 SetIpAddress(std::forward<IpAddressT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_consoleURL;
97
98 Aws::Vector<Aws::String> m_endpoints;
99
100 Aws::String m_ipAddress;
101 bool m_consoleURLHasBeenSet = false;
102 bool m_endpointsHasBeenSet = false;
103 bool m_ipAddressHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace MQ
108} // namespace Aws
BrokerInstance & WithIpAddress(IpAddressT &&value)
BrokerInstance & WithConsoleURL(ConsoleURLT &&value)
void SetEndpoints(EndpointsT &&value)
void SetIpAddress(IpAddressT &&value)
BrokerInstance & AddEndpoints(EndpointsT &&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
const Aws::Vector< Aws::String > & GetEndpoints() const
void SetConsoleURL(ConsoleURLT &&value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetConsoleURL() const
BrokerInstance & WithEndpoints(EndpointsT &&value)
AWS_MQ_API BrokerInstance()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue