AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BrokerSummary.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mq/model/BrokerState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mq/model/DeploymentMode.h>
12#include <aws/mq/model/EngineType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MQ
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MQ_API BrokerSummary() = default;
42
43
45
48 inline const Aws::String& GetBrokerArn() const { return m_brokerArn; }
49 inline bool BrokerArnHasBeenSet() const { return m_brokerArnHasBeenSet; }
50 template<typename BrokerArnT = Aws::String>
51 void SetBrokerArn(BrokerArnT&& value) { m_brokerArnHasBeenSet = true; m_brokerArn = std::forward<BrokerArnT>(value); }
52 template<typename BrokerArnT = Aws::String>
53 BrokerSummary& WithBrokerArn(BrokerArnT&& value) { SetBrokerArn(std::forward<BrokerArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetBrokerId() const { return m_brokerId; }
61 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
62 template<typename BrokerIdT = Aws::String>
63 void SetBrokerId(BrokerIdT&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::forward<BrokerIdT>(value); }
64 template<typename BrokerIdT = Aws::String>
65 BrokerSummary& WithBrokerId(BrokerIdT&& value) { SetBrokerId(std::forward<BrokerIdT>(value)); return *this;}
67
69
75 inline const Aws::String& GetBrokerName() const { return m_brokerName; }
76 inline bool BrokerNameHasBeenSet() const { return m_brokerNameHasBeenSet; }
77 template<typename BrokerNameT = Aws::String>
78 void SetBrokerName(BrokerNameT&& value) { m_brokerNameHasBeenSet = true; m_brokerName = std::forward<BrokerNameT>(value); }
79 template<typename BrokerNameT = Aws::String>
80 BrokerSummary& WithBrokerName(BrokerNameT&& value) { SetBrokerName(std::forward<BrokerNameT>(value)); return *this;}
82
84
87 inline BrokerState GetBrokerState() const { return m_brokerState; }
88 inline bool BrokerStateHasBeenSet() const { return m_brokerStateHasBeenSet; }
89 inline void SetBrokerState(BrokerState value) { m_brokerStateHasBeenSet = true; m_brokerState = value; }
90 inline BrokerSummary& WithBrokerState(BrokerState value) { SetBrokerState(value); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
98 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
99 template<typename CreatedT = Aws::Utils::DateTime>
100 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
101 template<typename CreatedT = Aws::Utils::DateTime>
102 BrokerSummary& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
104
106
109 inline DeploymentMode GetDeploymentMode() const { return m_deploymentMode; }
110 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
111 inline void SetDeploymentMode(DeploymentMode value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = value; }
112 inline BrokerSummary& WithDeploymentMode(DeploymentMode value) { SetDeploymentMode(value); return *this;}
114
116
119 inline EngineType GetEngineType() const { return m_engineType; }
120 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
121 inline void SetEngineType(EngineType value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
122 inline BrokerSummary& WithEngineType(EngineType value) { SetEngineType(value); return *this;}
124
126
129 inline const Aws::String& GetHostInstanceType() const { return m_hostInstanceType; }
130 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
131 template<typename HostInstanceTypeT = Aws::String>
132 void SetHostInstanceType(HostInstanceTypeT&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::forward<HostInstanceTypeT>(value); }
133 template<typename HostInstanceTypeT = Aws::String>
134 BrokerSummary& WithHostInstanceType(HostInstanceTypeT&& value) { SetHostInstanceType(std::forward<HostInstanceTypeT>(value)); return *this;}
136 private:
137
138 Aws::String m_brokerArn;
139 bool m_brokerArnHasBeenSet = false;
140
141 Aws::String m_brokerId;
142 bool m_brokerIdHasBeenSet = false;
143
144 Aws::String m_brokerName;
145 bool m_brokerNameHasBeenSet = false;
146
147 BrokerState m_brokerState{BrokerState::NOT_SET};
148 bool m_brokerStateHasBeenSet = false;
149
150 Aws::Utils::DateTime m_created{};
151 bool m_createdHasBeenSet = false;
152
153 DeploymentMode m_deploymentMode{DeploymentMode::NOT_SET};
154 bool m_deploymentModeHasBeenSet = false;
155
156 EngineType m_engineType{EngineType::NOT_SET};
157 bool m_engineTypeHasBeenSet = false;
158
159 Aws::String m_hostInstanceType;
160 bool m_hostInstanceTypeHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace MQ
165} // namespace Aws
BrokerSummary & WithBrokerId(BrokerIdT &&value)
BrokerSummary & WithCreated(CreatedT &&value)
void SetBrokerState(BrokerState value)
AWS_MQ_API BrokerSummary()=default
EngineType GetEngineType() const
const Aws::Utils::DateTime & GetCreated() const
void SetBrokerId(BrokerIdT &&value)
const Aws::String & GetHostInstanceType() const
void SetEngineType(EngineType value)
void SetCreated(CreatedT &&value)
BrokerSummary & WithBrokerName(BrokerNameT &&value)
BrokerSummary & WithBrokerState(BrokerState value)
const Aws::String & GetBrokerArn() const
AWS_MQ_API BrokerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BrokerSummary & WithHostInstanceType(HostInstanceTypeT &&value)
AWS_MQ_API BrokerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetBrokerArn(BrokerArnT &&value)
void SetBrokerName(BrokerNameT &&value)
void SetHostInstanceType(HostInstanceTypeT &&value)
BrokerSummary & WithBrokerArn(BrokerArnT &&value)
BrokerSummary & WithDeploymentMode(DeploymentMode value)
BrokerState GetBrokerState() const
const Aws::String & GetBrokerId() const
DeploymentMode GetDeploymentMode() const
BrokerSummary & WithEngineType(EngineType value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentMode(DeploymentMode value)
const Aws::String & GetBrokerName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue