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/EventSourceConfiguration.h>
17namespace EventBridgeV2 {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
61 template <
typename EventBusArnT = Aws::String>
63 m_eventBusArnHasBeenSet =
true;
64 m_eventBusArn = std::forward<EventBusArnT>(value);
66 template <
typename EventBusArnT = Aws::String>
77 template <
typename ConfigurationT = EventSourceConfiguration>
79 m_configurationHasBeenSet =
true;
80 m_configuration = std::forward<ConfigurationT>(value);
82 template <
typename ConfigurationT = EventSourceConfiguration>
93 template <
typename DescriptionT = Aws::String>
95 m_descriptionHasBeenSet =
true;
96 m_description = std::forward<DescriptionT>(value);
98 template <
typename DescriptionT = Aws::String>
109 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 m_tagsHasBeenSet =
true;
112 m_tags = std::forward<TagsT>(value);
114 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
116 SetTags(std::forward<TagsT>(value));
119 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
121 m_tagsHasBeenSet =
true;
122 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
131 template <
typename ClientTokenT = Aws::String>
133 m_clientTokenHasBeenSet =
true;
134 m_clientToken = std::forward<ClientTokenT>(value);
136 template <
typename ClientTokenT = Aws::String>
154 bool m_nameHasBeenSet =
false;
155 bool m_eventBusArnHasBeenSet =
false;
156 bool m_configurationHasBeenSet =
false;
157 bool m_descriptionHasBeenSet =
false;
158 bool m_tagsHasBeenSet =
false;
159 bool m_clientTokenHasBeenSet =
true;
Aws::Endpoint::EndpointParameters EndpointParameters
CreateEventSourceRequest & WithConfiguration(ConfigurationT &&value)
CreateEventSourceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetClientToken(ClientTokenT &&value)
AWS_EVENTBRIDGEV2_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
CreateEventSourceRequest & WithTags(TagsT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetEventBusArn() const
void SetEventBusArn(EventBusArnT &&value)
const Aws::String & GetDescription() const
CreateEventSourceRequest & WithName(NameT &&value)
void SetConfiguration(ConfigurationT &&value)
AWS_EVENTBRIDGEV2_API EndpointParameters GetEndpointContextParams() const override
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_EVENTBRIDGEV2_API CreateEventSourceRequest()=default
CreateEventSourceRequest & WithEventBusArn(EventBusArnT &&value)
CreateEventSourceRequest & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const EventSourceConfiguration & GetConfiguration() const
bool ConfigurationHasBeenSet() const
CreateEventSourceRequest & WithClientToken(ClientTokenT &&value)
AWS_EVENTBRIDGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool EventBusArnHasBeenSet() const
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