7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridgev2/EventBridgeV2Request.h>
11#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
12#include <aws/eventbridgev2/model/EncryptionConfiguration.h>
13#include <aws/eventbridgev2/model/StorageConfiguration.h>
18namespace EventBridgeV2 {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
57 template <
typename DescriptionT = Aws::String>
59 m_descriptionHasBeenSet =
true;
60 m_description = std::forward<DescriptionT>(value);
62 template <
typename DescriptionT = Aws::String>
73 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
75 m_encryptionConfigurationHasBeenSet =
true;
76 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
78 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
89 template <
typename StorageConfigurationT = StorageConfiguration>
91 m_storageConfigurationHasBeenSet =
true;
92 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
94 template <
typename StorageConfigurationT = StorageConfiguration>
105 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 m_tagsHasBeenSet =
true;
108 m_tags = std::forward<TagsT>(value);
110 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 SetTags(std::forward<TagsT>(value));
115 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
117 m_tagsHasBeenSet =
true;
118 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
127 template <
typename ClientTokenT = Aws::String>
129 m_clientTokenHasBeenSet =
true;
130 m_clientToken = std::forward<ClientTokenT>(value);
132 template <
typename ClientTokenT = Aws::String>
150 bool m_nameHasBeenSet =
false;
151 bool m_descriptionHasBeenSet =
false;
152 bool m_encryptionConfigurationHasBeenSet =
false;
153 bool m_storageConfigurationHasBeenSet =
false;
154 bool m_tagsHasBeenSet =
false;
155 bool m_clientTokenHasBeenSet =
true;
CreateEventBusRequest & WithStorageConfiguration(StorageConfigurationT &&value)
CreateEventBusRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_EVENTBRIDGEV2_API Aws::String SerializePayload() const override
void SetStorageConfiguration(StorageConfigurationT &&value)
const Aws::String & GetDescription() const
CreateEventBusRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
bool ClientTokenHasBeenSet() const
void SetName(NameT &&value)
bool TagsHasBeenSet() const
CreateEventBusRequest & WithTags(TagsT &&value)
bool EncryptionConfigurationHasBeenSet() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
bool NameHasBeenSet() const
AWS_EVENTBRIDGEV2_API CreateEventBusRequest()=default
bool StorageConfigurationHasBeenSet() const
CreateEventBusRequest & WithClientToken(ClientTokenT &&value)
const StorageConfiguration & GetStorageConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
const Aws::String & GetName() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
CreateEventBusRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_EVENTBRIDGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEventBusRequest & WithDescription(DescriptionT &&value)
void SetClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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