AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBrokerRequest.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/MQRequest.h>
9#include <aws/mq/model/AuthenticationStrategy.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mq/model/ConfigurationId.h>
12#include <aws/mq/model/LdapServerMetadataInput.h>
13#include <aws/mq/model/Logs.h>
14#include <aws/mq/model/WeeklyStartTime.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/mq/model/DataReplicationMode.h>
17#include <utility>
18
19namespace Aws
20{
21namespace MQ
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MQ_API UpdateBrokerRequest();
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "UpdateBroker"; }
42
43 AWS_MQ_API Aws::String SerializePayload() const override;
44
45
47
51 inline const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; }
52 inline bool AuthenticationStrategyHasBeenSet() const { return m_authenticationStrategyHasBeenSet; }
53 inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = value; }
54 inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = std::move(value); }
58
60
67 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
68 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
69 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
72
74
77 inline const Aws::String& GetBrokerId() const{ return m_brokerId; }
78 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
79 inline void SetBrokerId(const Aws::String& value) { m_brokerIdHasBeenSet = true; m_brokerId = value; }
80 inline void SetBrokerId(Aws::String&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::move(value); }
81 inline void SetBrokerId(const char* value) { m_brokerIdHasBeenSet = true; m_brokerId.assign(value); }
82 inline UpdateBrokerRequest& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;}
83 inline UpdateBrokerRequest& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;}
84 inline UpdateBrokerRequest& WithBrokerId(const char* value) { SetBrokerId(value); return *this;}
86
88
91 inline const ConfigurationId& GetConfiguration() const{ return m_configuration; }
92 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
93 inline void SetConfiguration(const ConfigurationId& value) { m_configurationHasBeenSet = true; m_configuration = value; }
94 inline void SetConfiguration(ConfigurationId&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
95 inline UpdateBrokerRequest& WithConfiguration(const ConfigurationId& value) { SetConfiguration(value); return *this;}
96 inline UpdateBrokerRequest& WithConfiguration(ConfigurationId&& value) { SetConfiguration(std::move(value)); return *this;}
98
100
110 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
111 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
112 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
113 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
114 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
115 inline UpdateBrokerRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
116 inline UpdateBrokerRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
117 inline UpdateBrokerRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
119
121
127 inline const Aws::String& GetHostInstanceType() const{ return m_hostInstanceType; }
128 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
129 inline void SetHostInstanceType(const Aws::String& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = value; }
130 inline void SetHostInstanceType(Aws::String&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::move(value); }
131 inline void SetHostInstanceType(const char* value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType.assign(value); }
132 inline UpdateBrokerRequest& WithHostInstanceType(const Aws::String& value) { SetHostInstanceType(value); return *this;}
133 inline UpdateBrokerRequest& WithHostInstanceType(Aws::String&& value) { SetHostInstanceType(std::move(value)); return *this;}
134 inline UpdateBrokerRequest& WithHostInstanceType(const char* value) { SetHostInstanceType(value); return *this;}
136
138
142 inline const LdapServerMetadataInput& GetLdapServerMetadata() const{ return m_ldapServerMetadata; }
143 inline bool LdapServerMetadataHasBeenSet() const { return m_ldapServerMetadataHasBeenSet; }
144 inline void SetLdapServerMetadata(const LdapServerMetadataInput& value) { m_ldapServerMetadataHasBeenSet = true; m_ldapServerMetadata = value; }
145 inline void SetLdapServerMetadata(LdapServerMetadataInput&& value) { m_ldapServerMetadataHasBeenSet = true; m_ldapServerMetadata = std::move(value); }
149
151
154 inline const Logs& GetLogs() const{ return m_logs; }
155 inline bool LogsHasBeenSet() const { return m_logsHasBeenSet; }
156 inline void SetLogs(const Logs& value) { m_logsHasBeenSet = true; m_logs = value; }
157 inline void SetLogs(Logs&& value) { m_logsHasBeenSet = true; m_logs = std::move(value); }
158 inline UpdateBrokerRequest& WithLogs(const Logs& value) { SetLogs(value); return *this;}
159 inline UpdateBrokerRequest& WithLogs(Logs&& value) { SetLogs(std::move(value)); return *this;}
161
163
166 inline const WeeklyStartTime& GetMaintenanceWindowStartTime() const{ return m_maintenanceWindowStartTime; }
167 inline bool MaintenanceWindowStartTimeHasBeenSet() const { return m_maintenanceWindowStartTimeHasBeenSet; }
168 inline void SetMaintenanceWindowStartTime(const WeeklyStartTime& value) { m_maintenanceWindowStartTimeHasBeenSet = true; m_maintenanceWindowStartTime = value; }
169 inline void SetMaintenanceWindowStartTime(WeeklyStartTime&& value) { m_maintenanceWindowStartTimeHasBeenSet = true; m_maintenanceWindowStartTime = std::move(value); }
173
175
179 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
180 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
181 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
182 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
184 inline UpdateBrokerRequest& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
185 inline UpdateBrokerRequest& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
186 inline UpdateBrokerRequest& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
187 inline UpdateBrokerRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
189
191
194 inline const DataReplicationMode& GetDataReplicationMode() const{ return m_dataReplicationMode; }
195 inline bool DataReplicationModeHasBeenSet() const { return m_dataReplicationModeHasBeenSet; }
196 inline void SetDataReplicationMode(const DataReplicationMode& value) { m_dataReplicationModeHasBeenSet = true; m_dataReplicationMode = value; }
197 inline void SetDataReplicationMode(DataReplicationMode&& value) { m_dataReplicationModeHasBeenSet = true; m_dataReplicationMode = std::move(value); }
201 private:
202
203 AuthenticationStrategy m_authenticationStrategy;
204 bool m_authenticationStrategyHasBeenSet = false;
205
206 bool m_autoMinorVersionUpgrade;
207 bool m_autoMinorVersionUpgradeHasBeenSet = false;
208
209 Aws::String m_brokerId;
210 bool m_brokerIdHasBeenSet = false;
211
212 ConfigurationId m_configuration;
213 bool m_configurationHasBeenSet = false;
214
215 Aws::String m_engineVersion;
216 bool m_engineVersionHasBeenSet = false;
217
218 Aws::String m_hostInstanceType;
219 bool m_hostInstanceTypeHasBeenSet = false;
220
221 LdapServerMetadataInput m_ldapServerMetadata;
222 bool m_ldapServerMetadataHasBeenSet = false;
223
224 Logs m_logs;
225 bool m_logsHasBeenSet = false;
226
227 WeeklyStartTime m_maintenanceWindowStartTime;
228 bool m_maintenanceWindowStartTimeHasBeenSet = false;
229
230 Aws::Vector<Aws::String> m_securityGroups;
231 bool m_securityGroupsHasBeenSet = false;
232
233 DataReplicationMode m_dataReplicationMode;
234 bool m_dataReplicationModeHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace MQ
239} // namespace Aws
UpdateBrokerRequest & WithLdapServerMetadata(const LdapServerMetadataInput &value)
const Aws::String & GetEngineVersion() const
UpdateBrokerRequest & WithLogs(Logs &&value)
UpdateBrokerRequest & WithEngineVersion(const Aws::String &value)
UpdateBrokerRequest & WithHostInstanceType(const char *value)
UpdateBrokerRequest & WithDataReplicationMode(const DataReplicationMode &value)
void SetHostInstanceType(Aws::String &&value)
const DataReplicationMode & GetDataReplicationMode() const
UpdateBrokerRequest & AddSecurityGroups(const Aws::String &value)
UpdateBrokerRequest & AddSecurityGroups(Aws::String &&value)
UpdateBrokerRequest & WithConfiguration(ConfigurationId &&value)
void SetHostInstanceType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
UpdateBrokerRequest & WithDataReplicationMode(DataReplicationMode &&value)
void SetEngineVersion(Aws::String &&value)
UpdateBrokerRequest & AddSecurityGroups(const char *value)
const ConfigurationId & GetConfiguration() const
UpdateBrokerRequest & WithAuthenticationStrategy(const AuthenticationStrategy &value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
const AuthenticationStrategy & GetAuthenticationStrategy() const
UpdateBrokerRequest & WithBrokerId(const char *value)
UpdateBrokerRequest & WithEngineVersion(const char *value)
UpdateBrokerRequest & WithHostInstanceType(const Aws::String &value)
void SetMaintenanceWindowStartTime(const WeeklyStartTime &value)
AWS_MQ_API Aws::String SerializePayload() const override
void SetAuthenticationStrategy(const AuthenticationStrategy &value)
const Aws::String & GetBrokerId() const
UpdateBrokerRequest & WithBrokerId(Aws::String &&value)
void SetDataReplicationMode(const DataReplicationMode &value)
const WeeklyStartTime & GetMaintenanceWindowStartTime() const
UpdateBrokerRequest & WithLogs(const Logs &value)
UpdateBrokerRequest & WithConfiguration(const ConfigurationId &value)
void SetEngineVersion(const Aws::String &value)
UpdateBrokerRequest & WithEngineVersion(Aws::String &&value)
void SetBrokerId(Aws::String &&value)
void SetMaintenanceWindowStartTime(WeeklyStartTime &&value)
UpdateBrokerRequest & WithAutoMinorVersionUpgrade(bool value)
void SetBrokerId(const Aws::String &value)
void SetConfiguration(ConfigurationId &&value)
UpdateBrokerRequest & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
UpdateBrokerRequest & WithAuthenticationStrategy(AuthenticationStrategy &&value)
UpdateBrokerRequest & WithLdapServerMetadata(LdapServerMetadataInput &&value)
void SetLdapServerMetadata(const LdapServerMetadataInput &value)
void SetAuthenticationStrategy(AuthenticationStrategy &&value)
UpdateBrokerRequest & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
const Aws::String & GetHostInstanceType() const
void SetHostInstanceType(const char *value)
virtual const char * GetServiceRequestName() const override
const LdapServerMetadataInput & GetLdapServerMetadata() const
void SetDataReplicationMode(DataReplicationMode &&value)
UpdateBrokerRequest & WithHostInstanceType(Aws::String &&value)
void SetLdapServerMetadata(LdapServerMetadataInput &&value)
UpdateBrokerRequest & WithMaintenanceWindowStartTime(const WeeklyStartTime &value)
UpdateBrokerRequest & WithMaintenanceWindowStartTime(WeeklyStartTime &&value)
void SetConfiguration(const ConfigurationId &value)
UpdateBrokerRequest & WithBrokerId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector