AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Aws::String& GetConsoleURL() const { return m_consoleURL; }
46 inline bool ConsoleURLHasBeenSet() const { return m_consoleURLHasBeenSet; }
47 template<typename ConsoleURLT = Aws::String>
48 void SetConsoleURL(ConsoleURLT&& value) { m_consoleURLHasBeenSet = true; m_consoleURL = std::forward<ConsoleURLT>(value); }
49 template<typename ConsoleURLT = Aws::String>
50 BrokerInstance& WithConsoleURL(ConsoleURLT&& value) { SetConsoleURL(std::forward<ConsoleURLT>(value)); return *this;}
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) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
61 template<typename EndpointsT = Aws::Vector<Aws::String>>
62 BrokerInstance& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
63 template<typename EndpointsT = Aws::String>
64 BrokerInstance& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
66
68
72 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
73 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
74 template<typename IpAddressT = Aws::String>
75 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
76 template<typename IpAddressT = Aws::String>
77 BrokerInstance& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
79 private:
80
81 Aws::String m_consoleURL;
82 bool m_consoleURLHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_endpoints;
85 bool m_endpointsHasBeenSet = false;
86
87 Aws::String m_ipAddress;
88 bool m_ipAddressHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MQ
93} // 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