AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
48 inline const Aws::String& GetBrokerArn() const{ return m_brokerArn; }
49 inline bool BrokerArnHasBeenSet() const { return m_brokerArnHasBeenSet; }
50 inline void SetBrokerArn(const Aws::String& value) { m_brokerArnHasBeenSet = true; m_brokerArn = value; }
51 inline void SetBrokerArn(Aws::String&& value) { m_brokerArnHasBeenSet = true; m_brokerArn = std::move(value); }
52 inline void SetBrokerArn(const char* value) { m_brokerArnHasBeenSet = true; m_brokerArn.assign(value); }
53 inline BrokerSummary& WithBrokerArn(const Aws::String& value) { SetBrokerArn(value); return *this;}
54 inline BrokerSummary& WithBrokerArn(Aws::String&& value) { SetBrokerArn(std::move(value)); return *this;}
55 inline BrokerSummary& WithBrokerArn(const char* value) { SetBrokerArn(value); return *this;}
57
59
62 inline const Aws::String& GetBrokerId() const{ return m_brokerId; }
63 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
64 inline void SetBrokerId(const Aws::String& value) { m_brokerIdHasBeenSet = true; m_brokerId = value; }
65 inline void SetBrokerId(Aws::String&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::move(value); }
66 inline void SetBrokerId(const char* value) { m_brokerIdHasBeenSet = true; m_brokerId.assign(value); }
67 inline BrokerSummary& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;}
68 inline BrokerSummary& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;}
69 inline BrokerSummary& WithBrokerId(const char* value) { SetBrokerId(value); return *this;}
71
73
79 inline const Aws::String& GetBrokerName() const{ return m_brokerName; }
80 inline bool BrokerNameHasBeenSet() const { return m_brokerNameHasBeenSet; }
81 inline void SetBrokerName(const Aws::String& value) { m_brokerNameHasBeenSet = true; m_brokerName = value; }
82 inline void SetBrokerName(Aws::String&& value) { m_brokerNameHasBeenSet = true; m_brokerName = std::move(value); }
83 inline void SetBrokerName(const char* value) { m_brokerNameHasBeenSet = true; m_brokerName.assign(value); }
84 inline BrokerSummary& WithBrokerName(const Aws::String& value) { SetBrokerName(value); return *this;}
85 inline BrokerSummary& WithBrokerName(Aws::String&& value) { SetBrokerName(std::move(value)); return *this;}
86 inline BrokerSummary& WithBrokerName(const char* value) { SetBrokerName(value); return *this;}
88
90
93 inline const BrokerState& GetBrokerState() const{ return m_brokerState; }
94 inline bool BrokerStateHasBeenSet() const { return m_brokerStateHasBeenSet; }
95 inline void SetBrokerState(const BrokerState& value) { m_brokerStateHasBeenSet = true; m_brokerState = value; }
96 inline void SetBrokerState(BrokerState&& value) { m_brokerStateHasBeenSet = true; m_brokerState = std::move(value); }
97 inline BrokerSummary& WithBrokerState(const BrokerState& value) { SetBrokerState(value); return *this;}
98 inline BrokerSummary& WithBrokerState(BrokerState&& value) { SetBrokerState(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
106 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
107 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
108 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
109 inline BrokerSummary& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
110 inline BrokerSummary& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
112
114
117 inline const DeploymentMode& GetDeploymentMode() const{ return m_deploymentMode; }
118 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
119 inline void SetDeploymentMode(const DeploymentMode& value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = value; }
120 inline void SetDeploymentMode(DeploymentMode&& value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = std::move(value); }
121 inline BrokerSummary& WithDeploymentMode(const DeploymentMode& value) { SetDeploymentMode(value); return *this;}
122 inline BrokerSummary& WithDeploymentMode(DeploymentMode&& value) { SetDeploymentMode(std::move(value)); return *this;}
124
126
129 inline const EngineType& GetEngineType() const{ return m_engineType; }
130 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
131 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
132 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
133 inline BrokerSummary& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
134 inline BrokerSummary& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
136
138
141 inline const Aws::String& GetHostInstanceType() const{ return m_hostInstanceType; }
142 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
143 inline void SetHostInstanceType(const Aws::String& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = value; }
144 inline void SetHostInstanceType(Aws::String&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::move(value); }
145 inline void SetHostInstanceType(const char* value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType.assign(value); }
146 inline BrokerSummary& WithHostInstanceType(const Aws::String& value) { SetHostInstanceType(value); return *this;}
147 inline BrokerSummary& WithHostInstanceType(Aws::String&& value) { SetHostInstanceType(std::move(value)); return *this;}
148 inline BrokerSummary& WithHostInstanceType(const char* value) { SetHostInstanceType(value); return *this;}
150 private:
151
152 Aws::String m_brokerArn;
153 bool m_brokerArnHasBeenSet = false;
154
155 Aws::String m_brokerId;
156 bool m_brokerIdHasBeenSet = false;
157
158 Aws::String m_brokerName;
159 bool m_brokerNameHasBeenSet = false;
160
161 BrokerState m_brokerState;
162 bool m_brokerStateHasBeenSet = false;
163
164 Aws::Utils::DateTime m_created;
165 bool m_createdHasBeenSet = false;
166
167 DeploymentMode m_deploymentMode;
168 bool m_deploymentModeHasBeenSet = false;
169
170 EngineType m_engineType;
171 bool m_engineTypeHasBeenSet = false;
172
173 Aws::String m_hostInstanceType;
174 bool m_hostInstanceTypeHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace MQ
179} // namespace Aws
void SetBrokerId(const char *value)
void SetBrokerArn(const char *value)
void SetBrokerState(BrokerState &&value)
void SetCreated(const Aws::Utils::DateTime &value)
BrokerSummary & WithBrokerState(const BrokerState &value)
BrokerSummary & WithBrokerId(const Aws::String &value)
BrokerSummary & WithEngineType(EngineType &&value)
void SetBrokerId(const Aws::String &value)
void SetEngineType(const EngineType &value)
const Aws::Utils::DateTime & GetCreated() const
const Aws::String & GetHostInstanceType() const
void SetHostInstanceType(Aws::String &&value)
BrokerSummary & WithBrokerState(BrokerState &&value)
BrokerSummary & WithDeploymentMode(DeploymentMode &&value)
BrokerSummary & WithBrokerName(Aws::String &&value)
const Aws::String & GetBrokerArn() const
void SetBrokerId(Aws::String &&value)
void SetHostInstanceType(const char *value)
AWS_MQ_API BrokerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBrokerName(const Aws::String &value)
void SetBrokerName(Aws::String &&value)
AWS_MQ_API BrokerSummary(Aws::Utils::Json::JsonView jsonValue)
BrokerSummary & WithBrokerArn(const Aws::String &value)
void SetHostInstanceType(const Aws::String &value)
BrokerSummary & WithCreated(Aws::Utils::DateTime &&value)
BrokerSummary & WithBrokerArn(Aws::String &&value)
BrokerSummary & WithHostInstanceType(const char *value)
void SetDeploymentMode(DeploymentMode &&value)
void SetBrokerState(const BrokerState &value)
const DeploymentMode & GetDeploymentMode() const
void SetEngineType(EngineType &&value)
void SetBrokerName(const char *value)
BrokerSummary & WithEngineType(const EngineType &value)
BrokerSummary & WithBrokerArn(const char *value)
void SetBrokerArn(const Aws::String &value)
BrokerSummary & WithBrokerName(const char *value)
BrokerSummary & WithBrokerId(Aws::String &&value)
const Aws::String & GetBrokerId() const
void SetDeploymentMode(const DeploymentMode &value)
const BrokerState & GetBrokerState() const
void SetCreated(Aws::Utils::DateTime &&value)
BrokerSummary & WithDeploymentMode(const DeploymentMode &value)
BrokerSummary & WithCreated(const Aws::Utils::DateTime &value)
BrokerSummary & WithHostInstanceType(const Aws::String &value)
void SetBrokerArn(Aws::String &&value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
BrokerSummary & WithHostInstanceType(Aws::String &&value)
BrokerSummary & WithBrokerName(const Aws::String &value)
const EngineType & GetEngineType() const
const Aws::String & GetBrokerName() const
BrokerSummary & WithBrokerId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue