7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/DataExchangeRequest.h>
9#include <aws/dataexchange/model/Action.h>
10#include <aws/dataexchange/model/Event.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename ActionT = Action>
45 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
46 template<
typename ActionT = Action>
56 template<
typename EventT = Event>
57 void SetEvent(EventT&& value) { m_eventHasBeenSet =
true; m_event = std::forward<EventT>(value); }
58 template<
typename EventT = Event>
68 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
69 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
70 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
72 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
74 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
80 bool m_actionHasBeenSet =
false;
83 bool m_eventHasBeenSet =
false;
86 bool m_tagsHasBeenSet =
false;
AWS_DATAEXCHANGE_API CreateEventActionRequest()=default
bool TagsHasBeenSet() const
void SetAction(ActionT &&value)
void SetEvent(EventT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool EventHasBeenSet() const
void SetTags(TagsT &&value)
const Event & GetEvent() const
CreateEventActionRequest & WithTags(TagsT &&value)
CreateEventActionRequest & WithEvent(EventT &&value)
bool ActionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateEventActionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateEventActionRequest & WithAction(ActionT &&value)
const Action & GetAction() const
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
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