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/DeploymentMode.h>
13#include <aws/mq/model/EncryptionOptions.h>
14#include <aws/mq/model/EngineType.h>
15#include <aws/mq/model/LdapServerMetadataInput.h>
16#include <aws/mq/model/Logs.h>
17#include <aws/mq/model/WeeklyStartTime.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/mq/model/BrokerStorageType.h>
20#include <aws/core/utils/memory/stl/AWSMap.h>
21#include <aws/mq/model/DataReplicationMode.h>
22#include <aws/mq/model/User.h>
24#include <aws/core/utils/UUID.h>
96 inline void SetBrokerName(
const char* value) { m_brokerNameHasBeenSet =
true; m_brokerName.assign(value); }
125 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
181 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
195 inline void SetHostInstanceType(
const char* value) { m_hostInstanceTypeHasBeenSet =
true; m_hostInstanceType.assign(value); }
220 inline void SetLogs(
const Logs& value) { m_logsHasBeenSet =
true; m_logs = value; }
221 inline void SetLogs(
Logs&& value) { m_logsHasBeenSet =
true; m_logs = std::move(value); }
245 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
322 inline CreateBrokerRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
373 bool m_authenticationStrategyHasBeenSet =
false;
375 bool m_autoMinorVersionUpgrade;
376 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
379 bool m_brokerNameHasBeenSet =
false;
382 bool m_configurationHasBeenSet =
false;
385 bool m_creatorRequestIdHasBeenSet =
false;
388 bool m_deploymentModeHasBeenSet =
false;
391 bool m_encryptionOptionsHasBeenSet =
false;
394 bool m_engineTypeHasBeenSet =
false;
397 bool m_engineVersionHasBeenSet =
false;
400 bool m_hostInstanceTypeHasBeenSet =
false;
403 bool m_ldapServerMetadataHasBeenSet =
false;
406 bool m_logsHasBeenSet =
false;
409 bool m_maintenanceWindowStartTimeHasBeenSet =
false;
411 bool m_publiclyAccessible;
412 bool m_publiclyAccessibleHasBeenSet =
false;
415 bool m_securityGroupsHasBeenSet =
false;
418 bool m_storageTypeHasBeenSet =
false;
421 bool m_subnetIdsHasBeenSet =
false;
424 bool m_tagsHasBeenSet =
false;
427 bool m_usersHasBeenSet =
false;
430 bool m_dataReplicationModeHasBeenSet =
false;
433 bool m_dataReplicationPrimaryBrokerArnHasBeenSet =
false;
void SetEncryptionOptions(EncryptionOptions &&value)
CreateBrokerRequest & WithBrokerName(const char *value)
void SetDataReplicationPrimaryBrokerArn(const char *value)
CreateBrokerRequest & WithDataReplicationPrimaryBrokerArn(const char *value)
bool EngineVersionHasBeenSet() const
CreateBrokerRequest & WithEngineType(const EngineType &value)
bool CreatorRequestIdHasBeenSet() const
CreateBrokerRequest & AddSecurityGroups(Aws::String &&value)
void SetLdapServerMetadata(const LdapServerMetadataInput &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateBrokerRequest & WithMaintenanceWindowStartTime(const WeeklyStartTime &value)
CreateBrokerRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
CreateBrokerRequest & WithDataReplicationMode(DataReplicationMode &&value)
CreateBrokerRequest & WithMaintenanceWindowStartTime(WeeklyStartTime &&value)
const EngineType & GetEngineType() const
const Aws::Vector< Aws::String > & GetSecurityGroups() const
const Aws::String & GetBrokerName() const
bool HostInstanceTypeHasBeenSet() const
bool AutoMinorVersionUpgradeHasBeenSet() const
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetAuthenticationStrategy(const AuthenticationStrategy &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool SubnetIdsHasBeenSet() const
bool LdapServerMetadataHasBeenSet() const
bool UsersHasBeenSet() const
CreateBrokerRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetCreatorRequestId() const
CreateBrokerRequest & WithCreatorRequestId(const Aws::String &value)
CreateBrokerRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateBrokerRequest & WithAutoMinorVersionUpgrade(bool value)
CreateBrokerRequest & WithEngineVersion(const char *value)
CreateBrokerRequest & WithLogs(const Logs &value)
bool AuthenticationStrategyHasBeenSet() const
CreateBrokerRequest & AddSubnetIds(const char *value)
CreateBrokerRequest & AddSecurityGroups(const char *value)
CreateBrokerRequest & WithStorageType(BrokerStorageType &&value)
void SetDataReplicationMode(DataReplicationMode &&value)
void SetConfiguration(ConfigurationId &&value)
CreateBrokerRequest & WithEncryptionOptions(EncryptionOptions &&value)
void SetBrokerName(const char *value)
CreateBrokerRequest & AddSubnetIds(const Aws::String &value)
CreateBrokerRequest & WithEncryptionOptions(const EncryptionOptions &value)
CreateBrokerRequest & WithConfiguration(const ConfigurationId &value)
void SetCreatorRequestId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool ConfigurationHasBeenSet() const
void SetEngineVersion(const char *value)
void SetAutoMinorVersionUpgrade(bool value)
bool GetPubliclyAccessible() const
CreateBrokerRequest & WithBrokerName(const Aws::String &value)
void SetEngineVersion(Aws::String &&value)
void SetDeploymentMode(const DeploymentMode &value)
void SetMaintenanceWindowStartTime(WeeklyStartTime &&value)
bool DeploymentModeHasBeenSet() const
CreateBrokerRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateBrokerRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateBrokerRequest & WithLdapServerMetadata(LdapServerMetadataInput &&value)
CreateBrokerRequest & WithHostInstanceType(const Aws::String &value)
CreateBrokerRequest & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetDataReplicationMode(const DataReplicationMode &value)
void SetHostInstanceType(const Aws::String &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
CreateBrokerRequest & AddUsers(const User &value)
CreateBrokerRequest & AddUsers(User &&value)
void SetLogs(Logs &&value)
void SetEngineVersion(const Aws::String &value)
CreateBrokerRequest & WithBrokerName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const DataReplicationMode & GetDataReplicationMode() const
void SetPubliclyAccessible(bool value)
CreateBrokerRequest & WithUsers(Aws::Vector< User > &&value)
const DeploymentMode & GetDeploymentMode() const
void SetStorageType(BrokerStorageType &&value)
void SetDataReplicationPrimaryBrokerArn(Aws::String &&value)
CreateBrokerRequest & WithDeploymentMode(const DeploymentMode &value)
CreateBrokerRequest & AddTags(Aws::String &&key, const char *value)
bool TagsHasBeenSet() const
const LdapServerMetadataInput & GetLdapServerMetadata() const
bool LogsHasBeenSet() const
const WeeklyStartTime & GetMaintenanceWindowStartTime() const
void SetDeploymentMode(DeploymentMode &&value)
bool BrokerNameHasBeenSet() const
CreateBrokerRequest & WithAuthenticationStrategy(AuthenticationStrategy &&value)
CreateBrokerRequest & WithAuthenticationStrategy(const AuthenticationStrategy &value)
bool EngineTypeHasBeenSet() const
const EncryptionOptions & GetEncryptionOptions() const
void SetEngineType(EngineType &&value)
bool PubliclyAccessibleHasBeenSet() const
bool StorageTypeHasBeenSet() const
const ConfigurationId & GetConfiguration() const
void SetConfiguration(const ConfigurationId &value)
CreateBrokerRequest & WithEngineVersion(Aws::String &&value)
CreateBrokerRequest & WithDataReplicationMode(const DataReplicationMode &value)
const Aws::String & GetDataReplicationPrimaryBrokerArn() const
void SetDataReplicationPrimaryBrokerArn(const Aws::String &value)
CreateBrokerRequest & WithDeploymentMode(DeploymentMode &&value)
CreateBrokerRequest & WithStorageType(const BrokerStorageType &value)
void SetLogs(const Logs &value)
CreateBrokerRequest & AddTags(const char *key, Aws::String &&value)
CreateBrokerRequest & WithDataReplicationPrimaryBrokerArn(const Aws::String &value)
CreateBrokerRequest & WithLogs(Logs &&value)
CreateBrokerRequest & WithPubliclyAccessible(bool value)
CreateBrokerRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetUsers(Aws::Vector< User > &&value)
void SetBrokerName(const Aws::String &value)
CreateBrokerRequest & WithCreatorRequestId(const char *value)
AWS_MQ_API Aws::String SerializePayload() const override
bool DataReplicationModeHasBeenSet() const
CreateBrokerRequest & WithConfiguration(ConfigurationId &&value)
void SetHostInstanceType(const char *value)
bool GetAutoMinorVersionUpgrade() const
void SetStorageType(const BrokerStorageType &value)
CreateBrokerRequest & AddSubnetIds(Aws::String &&value)
void SetEncryptionOptions(const EncryptionOptions &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateBrokerRequest & AddSecurityGroups(const Aws::String &value)
const Aws::String & GetHostInstanceType() const
void SetHostInstanceType(Aws::String &&value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetUsers(const Aws::Vector< User > &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
bool SecurityGroupsHasBeenSet() const
bool DataReplicationPrimaryBrokerArnHasBeenSet() const
void SetMaintenanceWindowStartTime(const WeeklyStartTime &value)
void SetEngineType(const EngineType &value)
void SetCreatorRequestId(const char *value)
void SetBrokerName(Aws::String &&value)
const Aws::String & GetEngineVersion() const
CreateBrokerRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const AuthenticationStrategy & GetAuthenticationStrategy() const
CreateBrokerRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateBrokerRequest & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
const Logs & GetLogs() const
CreateBrokerRequest & AddTags(const char *key, const char *value)
AWS_MQ_API CreateBrokerRequest()
void SetAuthenticationStrategy(AuthenticationStrategy &&value)
CreateBrokerRequest & WithDataReplicationPrimaryBrokerArn(Aws::String &&value)
bool EncryptionOptionsHasBeenSet() const
CreateBrokerRequest & WithEngineType(EngineType &&value)
const BrokerStorageType & GetStorageType() const
bool MaintenanceWindowStartTimeHasBeenSet() const
CreateBrokerRequest & WithLdapServerMetadata(const LdapServerMetadataInput &value)
void SetLdapServerMetadata(LdapServerMetadataInput &&value)
CreateBrokerRequest & WithHostInstanceType(Aws::String &&value)
void SetCreatorRequestId(Aws::String &&value)
const Aws::Vector< User > & GetUsers() const
CreateBrokerRequest & WithUsers(const Aws::Vector< User > &value)
CreateBrokerRequest & WithHostInstanceType(const char *value)
CreateBrokerRequest & WithCreatorRequestId(Aws::String &&value)
CreateBrokerRequest & WithEngineVersion(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector