7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appintegrations/model/EventFilter.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
17namespace AppIntegrationsService
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
56 template<
typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
58 template<
typename DescriptionT = Aws::String>
68 template<
typename EventFilterT = EventFilter>
69 void SetEventFilter(EventFilterT&& value) { m_eventFilterHasBeenSet =
true; m_eventFilter = std::forward<EventFilterT>(value); }
70 template<
typename EventFilterT = EventFilter>
80 template<
typename EventBr
idgeBusT = Aws::String>
81 void SetEventBridgeBus(EventBridgeBusT&& value) { m_eventBridgeBusHasBeenSet =
true; m_eventBridgeBus = std::forward<EventBridgeBusT>(value); }
82 template<
typename EventBr
idgeBusT = Aws::String>
96 template<
typename ClientTokenT = Aws::String>
97 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
98 template<
typename ClientTokenT = Aws::String>
109 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
111 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
115 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
121 bool m_nameHasBeenSet =
false;
124 bool m_descriptionHasBeenSet =
false;
127 bool m_eventFilterHasBeenSet =
false;
130 bool m_eventBridgeBusHasBeenSet =
false;
133 bool m_clientTokenHasBeenSet =
true;
136 bool m_tagsHasBeenSet =
false;
bool EventFilterHasBeenSet() const
CreateEventIntegrationRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
bool NameHasBeenSet() const
const EventFilter & GetEventFilter() const
void SetEventFilter(EventFilterT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool EventBridgeBusHasBeenSet() const
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
CreateEventIntegrationRequest & WithEventBridgeBus(EventBridgeBusT &&value)
CreateEventIntegrationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetEventBridgeBus() const
CreateEventIntegrationRequest & WithEventFilter(EventFilterT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateEventIntegrationRequest & WithName(NameT &&value)
bool ClientTokenHasBeenSet() const
CreateEventIntegrationRequest & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetName() const
void SetEventBridgeBus(EventBridgeBusT &&value)
CreateEventIntegrationRequest & WithTags(TagsT &&value)
AWS_APPINTEGRATIONSSERVICE_API CreateEventIntegrationRequest()=default
bool TagsHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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