AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBrokerResult.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/model/AuthenticationStrategy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mq/model/ConfigurationId.h>
11#include <aws/mq/model/LdapServerMetadataOutput.h>
12#include <aws/mq/model/Logs.h>
13#include <aws/mq/model/WeeklyStartTime.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/mq/model/DataReplicationMetadataOutput.h>
16#include <aws/mq/model/DataReplicationMode.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace MQ
32{
33namespace Model
34{
36 {
37 public:
38 AWS_MQ_API UpdateBrokerResult();
41
42
44
48 inline const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; }
49 inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategy = value; }
50 inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategy = std::move(value); }
54
56
61 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
62 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgrade = value; }
65
67
70 inline const Aws::String& GetBrokerId() const{ return m_brokerId; }
71 inline void SetBrokerId(const Aws::String& value) { m_brokerId = value; }
72 inline void SetBrokerId(Aws::String&& value) { m_brokerId = std::move(value); }
73 inline void SetBrokerId(const char* value) { m_brokerId.assign(value); }
74 inline UpdateBrokerResult& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;}
75 inline UpdateBrokerResult& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;}
76 inline UpdateBrokerResult& WithBrokerId(const char* value) { SetBrokerId(value); return *this;}
78
80
83 inline const ConfigurationId& GetConfiguration() const{ return m_configuration; }
84 inline void SetConfiguration(const ConfigurationId& value) { m_configuration = value; }
85 inline void SetConfiguration(ConfigurationId&& value) { m_configuration = std::move(value); }
86 inline UpdateBrokerResult& WithConfiguration(const ConfigurationId& value) { SetConfiguration(value); return *this;}
87 inline UpdateBrokerResult& WithConfiguration(ConfigurationId&& value) { SetConfiguration(std::move(value)); return *this;}
89
91
98 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
99 inline void SetEngineVersion(const Aws::String& value) { m_engineVersion = value; }
100 inline void SetEngineVersion(Aws::String&& value) { m_engineVersion = std::move(value); }
101 inline void SetEngineVersion(const char* value) { m_engineVersion.assign(value); }
102 inline UpdateBrokerResult& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
103 inline UpdateBrokerResult& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
104 inline UpdateBrokerResult& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
106
108
114 inline const Aws::String& GetHostInstanceType() const{ return m_hostInstanceType; }
115 inline void SetHostInstanceType(const Aws::String& value) { m_hostInstanceType = value; }
116 inline void SetHostInstanceType(Aws::String&& value) { m_hostInstanceType = std::move(value); }
117 inline void SetHostInstanceType(const char* value) { m_hostInstanceType.assign(value); }
118 inline UpdateBrokerResult& WithHostInstanceType(const Aws::String& value) { SetHostInstanceType(value); return *this;}
119 inline UpdateBrokerResult& WithHostInstanceType(Aws::String&& value) { SetHostInstanceType(std::move(value)); return *this;}
120 inline UpdateBrokerResult& WithHostInstanceType(const char* value) { SetHostInstanceType(value); return *this;}
122
124
128 inline const LdapServerMetadataOutput& GetLdapServerMetadata() const{ return m_ldapServerMetadata; }
129 inline void SetLdapServerMetadata(const LdapServerMetadataOutput& value) { m_ldapServerMetadata = value; }
130 inline void SetLdapServerMetadata(LdapServerMetadataOutput&& value) { m_ldapServerMetadata = std::move(value); }
134
136
140 inline const Logs& GetLogs() const{ return m_logs; }
141 inline void SetLogs(const Logs& value) { m_logs = value; }
142 inline void SetLogs(Logs&& value) { m_logs = std::move(value); }
143 inline UpdateBrokerResult& WithLogs(const Logs& value) { SetLogs(value); return *this;}
144 inline UpdateBrokerResult& WithLogs(Logs&& value) { SetLogs(std::move(value)); return *this;}
146
148
151 inline const WeeklyStartTime& GetMaintenanceWindowStartTime() const{ return m_maintenanceWindowStartTime; }
152 inline void SetMaintenanceWindowStartTime(const WeeklyStartTime& value) { m_maintenanceWindowStartTime = value; }
153 inline void SetMaintenanceWindowStartTime(WeeklyStartTime&& value) { m_maintenanceWindowStartTime = std::move(value); }
157
159
163 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
164 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroups = value; }
165 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroups = std::move(value); }
167 inline UpdateBrokerResult& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
168 inline UpdateBrokerResult& AddSecurityGroups(const Aws::String& value) { m_securityGroups.push_back(value); return *this; }
169 inline UpdateBrokerResult& AddSecurityGroups(Aws::String&& value) { m_securityGroups.push_back(std::move(value)); return *this; }
170 inline UpdateBrokerResult& AddSecurityGroups(const char* value) { m_securityGroups.push_back(value); return *this; }
172
174
178 inline const DataReplicationMetadataOutput& GetDataReplicationMetadata() const{ return m_dataReplicationMetadata; }
179 inline void SetDataReplicationMetadata(const DataReplicationMetadataOutput& value) { m_dataReplicationMetadata = value; }
180 inline void SetDataReplicationMetadata(DataReplicationMetadataOutput&& value) { m_dataReplicationMetadata = std::move(value); }
184
186
189 inline const DataReplicationMode& GetDataReplicationMode() const{ return m_dataReplicationMode; }
190 inline void SetDataReplicationMode(const DataReplicationMode& value) { m_dataReplicationMode = value; }
191 inline void SetDataReplicationMode(DataReplicationMode&& value) { m_dataReplicationMode = std::move(value); }
195
197
201 inline const DataReplicationMetadataOutput& GetPendingDataReplicationMetadata() const{ return m_pendingDataReplicationMetadata; }
202 inline void SetPendingDataReplicationMetadata(const DataReplicationMetadataOutput& value) { m_pendingDataReplicationMetadata = value; }
203 inline void SetPendingDataReplicationMetadata(DataReplicationMetadataOutput&& value) { m_pendingDataReplicationMetadata = std::move(value); }
207
209
213 inline const DataReplicationMode& GetPendingDataReplicationMode() const{ return m_pendingDataReplicationMode; }
214 inline void SetPendingDataReplicationMode(const DataReplicationMode& value) { m_pendingDataReplicationMode = value; }
215 inline void SetPendingDataReplicationMode(DataReplicationMode&& value) { m_pendingDataReplicationMode = std::move(value); }
219
221
222 inline const Aws::String& GetRequestId() const{ return m_requestId; }
223 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
224 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
225 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
226 inline UpdateBrokerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
227 inline UpdateBrokerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
228 inline UpdateBrokerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
230 private:
231
232 AuthenticationStrategy m_authenticationStrategy;
233
234 bool m_autoMinorVersionUpgrade;
235
236 Aws::String m_brokerId;
237
238 ConfigurationId m_configuration;
239
240 Aws::String m_engineVersion;
241
242 Aws::String m_hostInstanceType;
243
244 LdapServerMetadataOutput m_ldapServerMetadata;
245
246 Logs m_logs;
247
248 WeeklyStartTime m_maintenanceWindowStartTime;
249
250 Aws::Vector<Aws::String> m_securityGroups;
251
252 DataReplicationMetadataOutput m_dataReplicationMetadata;
253
254 DataReplicationMode m_dataReplicationMode;
255
256 DataReplicationMetadataOutput m_pendingDataReplicationMetadata;
257
258 DataReplicationMode m_pendingDataReplicationMode;
259
260 Aws::String m_requestId;
261 };
262
263} // namespace Model
264} // namespace MQ
265} // namespace Aws
UpdateBrokerResult & WithPendingDataReplicationMetadata(const DataReplicationMetadataOutput &value)
const DataReplicationMetadataOutput & GetDataReplicationMetadata() const
void SetPendingDataReplicationMetadata(DataReplicationMetadataOutput &&value)
void SetEngineVersion(Aws::String &&value)
void SetPendingDataReplicationMode(const DataReplicationMode &value)
UpdateBrokerResult & WithHostInstanceType(const Aws::String &value)
UpdateBrokerResult & AddSecurityGroups(Aws::String &&value)
UpdateBrokerResult & WithDataReplicationMetadata(const DataReplicationMetadataOutput &value)
UpdateBrokerResult & WithBrokerId(const Aws::String &value)
const Aws::String & GetRequestId() const
const DataReplicationMode & GetPendingDataReplicationMode() const
const Aws::Vector< Aws::String > & GetSecurityGroups() const
void SetAuthenticationStrategy(AuthenticationStrategy &&value)
UpdateBrokerResult & WithEngineVersion(Aws::String &&value)
UpdateBrokerResult & WithPendingDataReplicationMode(DataReplicationMode &&value)
UpdateBrokerResult & WithConfiguration(ConfigurationId &&value)
UpdateBrokerResult & WithAuthenticationStrategy(const AuthenticationStrategy &value)
UpdateBrokerResult & WithMaintenanceWindowStartTime(const WeeklyStartTime &value)
UpdateBrokerResult & AddSecurityGroups(const Aws::String &value)
UpdateBrokerResult & WithLdapServerMetadata(LdapServerMetadataOutput &&value)
UpdateBrokerResult & WithAuthenticationStrategy(AuthenticationStrategy &&value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetDataReplicationMetadata(const DataReplicationMetadataOutput &value)
UpdateBrokerResult & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetHostInstanceType(const char *value)
UpdateBrokerResult & WithBrokerId(Aws::String &&value)
UpdateBrokerResult & WithHostInstanceType(const char *value)
UpdateBrokerResult & WithConfiguration(const ConfigurationId &value)
UpdateBrokerResult & WithRequestId(Aws::String &&value)
const WeeklyStartTime & GetMaintenanceWindowStartTime() const
void SetRequestId(Aws::String &&value)
UpdateBrokerResult & WithEngineVersion(const Aws::String &value)
void SetAuthenticationStrategy(const AuthenticationStrategy &value)
UpdateBrokerResult & WithLogs(const Logs &value)
UpdateBrokerResult & WithLogs(Logs &&value)
void SetBrokerId(const Aws::String &value)
void SetBrokerId(Aws::String &&value)
void SetMaintenanceWindowStartTime(WeeklyStartTime &&value)
UpdateBrokerResult & WithPendingDataReplicationMode(const DataReplicationMode &value)
void SetConfiguration(ConfigurationId &&value)
AWS_MQ_API UpdateBrokerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBrokerResult & WithDataReplicationMode(DataReplicationMode &&value)
UpdateBrokerResult & WithBrokerId(const char *value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetRequestId(const Aws::String &value)
UpdateBrokerResult & WithEngineVersion(const char *value)
const Aws::String & GetBrokerId() const
void SetDataReplicationMode(const DataReplicationMode &value)
void SetDataReplicationMode(DataReplicationMode &&value)
const ConfigurationId & GetConfiguration() const
UpdateBrokerResult & WithPendingDataReplicationMetadata(DataReplicationMetadataOutput &&value)
void SetHostInstanceType(Aws::String &&value)
void SetHostInstanceType(const Aws::String &value)
UpdateBrokerResult & WithRequestId(const char *value)
const Aws::String & GetHostInstanceType() const
UpdateBrokerResult & WithAutoMinorVersionUpgrade(bool value)
UpdateBrokerResult & WithRequestId(const Aws::String &value)
UpdateBrokerResult & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
const DataReplicationMode & GetDataReplicationMode() const
const LdapServerMetadataOutput & GetLdapServerMetadata() const
const Aws::String & GetEngineVersion() const
const AuthenticationStrategy & GetAuthenticationStrategy() const
void SetLdapServerMetadata(LdapServerMetadataOutput &&value)
void SetDataReplicationMetadata(DataReplicationMetadataOutput &&value)
void SetLdapServerMetadata(const LdapServerMetadataOutput &value)
void SetConfiguration(const ConfigurationId &value)
const DataReplicationMetadataOutput & GetPendingDataReplicationMetadata() const
void SetMaintenanceWindowStartTime(const WeeklyStartTime &value)
UpdateBrokerResult & AddSecurityGroups(const char *value)
UpdateBrokerResult & WithMaintenanceWindowStartTime(WeeklyStartTime &&value)
void SetEngineVersion(const Aws::String &value)
UpdateBrokerResult & WithDataReplicationMode(const DataReplicationMode &value)
void SetPendingDataReplicationMode(DataReplicationMode &&value)
AWS_MQ_API UpdateBrokerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBrokerResult & WithHostInstanceType(Aws::String &&value)
void SetPendingDataReplicationMetadata(const DataReplicationMetadataOutput &value)
UpdateBrokerResult & WithLdapServerMetadata(const LdapServerMetadataOutput &value)
void SetEngineVersion(const char *value)
UpdateBrokerResult & WithDataReplicationMetadata(DataReplicationMetadataOutput &&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