7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/DataExchangeRequest.h>
10#include <aws/dataexchange/DataExchange_EXPORTS.h>
11#include <aws/dataexchange/model/Action.h>
12#include <aws/dataexchange/model/Event.h>
17namespace DataExchange {
40 template <
typename ActionT = Action>
42 m_actionHasBeenSet =
true;
43 m_action = std::forward<ActionT>(value);
45 template <
typename ActionT = Action>
58 template <
typename EventT = Event>
60 m_eventHasBeenSet =
true;
61 m_event = std::forward<EventT>(value);
63 template <
typename EventT = Event>
65 SetEvent(std::forward<EventT>(value));
76 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
78 m_tagsHasBeenSet =
true;
79 m_tags = std::forward<TagsT>(value);
81 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 SetTags(std::forward<TagsT>(value));
86 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
88 m_tagsHasBeenSet =
true;
89 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
99 bool m_actionHasBeenSet =
false;
100 bool m_eventHasBeenSet =
false;
101 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