7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dataexchange/DataExchange_EXPORTS.h>
11#include <aws/dataexchange/model/Action.h>
12#include <aws/dataexchange/model/Event.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace DataExchange {
38 template <
typename ActionT = Action>
40 m_actionHasBeenSet =
true;
41 m_action = std::forward<ActionT>(value);
43 template <
typename ActionT = Action>
55 template <
typename ArnT = Aws::String>
57 m_arnHasBeenSet =
true;
58 m_arn = std::forward<ArnT>(value);
60 template <
typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
72 template <
typename CreatedAtT = Aws::Utils::DateTime>
74 m_createdAtHasBeenSet =
true;
75 m_createdAt = std::forward<CreatedAtT>(value);
77 template <
typename CreatedAtT = Aws::Utils::DateTime>
89 template <
typename EventT = Event>
91 m_eventHasBeenSet =
true;
92 m_event = std::forward<EventT>(value);
94 template <
typename EventT = Event>
96 SetEvent(std::forward<EventT>(value));
106 template <
typename IdT = Aws::String>
108 m_idHasBeenSet =
true;
109 m_id = std::forward<IdT>(value);
111 template <
typename IdT = Aws::String>
113 SetId(std::forward<IdT>(value));
123 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 m_tagsHasBeenSet =
true;
126 m_tags = std::forward<TagsT>(value);
128 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 SetTags(std::forward<TagsT>(value));
133 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
135 m_tagsHasBeenSet =
true;
136 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
147 template <
typename UpdatedAtT = Aws::Utils::DateTime>
149 m_updatedAtHasBeenSet =
true;
150 m_updatedAt = std::forward<UpdatedAtT>(value);
152 template <
typename UpdatedAtT = Aws::Utils::DateTime>
162 template <
typename RequestIdT = Aws::String>
164 m_requestIdHasBeenSet =
true;
165 m_requestId = std::forward<RequestIdT>(value);
167 template <
typename RequestIdT = Aws::String>
189 bool m_actionHasBeenSet =
false;
190 bool m_arnHasBeenSet =
false;
191 bool m_createdAtHasBeenSet =
false;
192 bool m_eventHasBeenSet =
false;
193 bool m_idHasBeenSet =
false;
194 bool m_tagsHasBeenSet =
false;
195 bool m_updatedAtHasBeenSet =
false;
196 bool m_requestIdHasBeenSet =
false;
AWS_DATAEXCHANGE_API GetEventActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
GetEventActionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
GetEventActionResult & WithArn(ArnT &&value)
const Action & GetAction() const
const Event & GetEvent() const
void SetCreatedAt(CreatedAtT &&value)
GetEventActionResult & WithTags(TagsT &&value)
void SetAction(ActionT &&value)
AWS_DATAEXCHANGE_API GetEventActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetEventActionResult & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_DATAEXCHANGE_API GetEventActionResult()=default
GetEventActionResult & WithCreatedAt(CreatedAtT &&value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetArn() const
GetEventActionResult & WithAction(ActionT &&value)
void SetRequestId(RequestIdT &&value)
void SetEvent(EventT &&value)
GetEventActionResult & WithEvent(EventT &&value)
GetEventActionResult & WithId(IdT &&value)
GetEventActionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
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
Aws::Utils::Json::JsonValue JsonValue