7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dataexchange/DataExchange_EXPORTS.h>
12#include <aws/dataexchange/model/Action.h>
13#include <aws/dataexchange/model/Event.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace DataExchange {
39 template <
typename ActionT = Action>
41 m_actionHasBeenSet =
true;
42 m_action = std::forward<ActionT>(value);
44 template <
typename ActionT = Action>
56 template <
typename ArnT = Aws::String>
58 m_arnHasBeenSet =
true;
59 m_arn = std::forward<ArnT>(value);
61 template <
typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
73 template <
typename CreatedAtT = Aws::Utils::DateTime>
75 m_createdAtHasBeenSet =
true;
76 m_createdAt = std::forward<CreatedAtT>(value);
78 template <
typename CreatedAtT = Aws::Utils::DateTime>
90 template <
typename EventT = Event>
92 m_eventHasBeenSet =
true;
93 m_event = std::forward<EventT>(value);
95 template <
typename EventT = Event>
97 SetEvent(std::forward<EventT>(value));
107 template <
typename IdT = Aws::String>
109 m_idHasBeenSet =
true;
110 m_id = std::forward<IdT>(value);
112 template <
typename IdT = Aws::String>
114 SetId(std::forward<IdT>(value));
124 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 m_tagsHasBeenSet =
true;
127 m_tags = std::forward<TagsT>(value);
129 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 SetTags(std::forward<TagsT>(value));
134 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
136 m_tagsHasBeenSet =
true;
137 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
148 template <
typename UpdatedAtT = Aws::Utils::DateTime>
150 m_updatedAtHasBeenSet =
true;
151 m_updatedAt = std::forward<UpdatedAtT>(value);
153 template <
typename UpdatedAtT = Aws::Utils::DateTime>
163 template <
typename RequestIdT = Aws::String>
165 m_requestIdHasBeenSet =
true;
166 m_requestId = std::forward<RequestIdT>(value);
168 template <
typename RequestIdT = Aws::String>
193 bool m_actionHasBeenSet =
false;
194 bool m_arnHasBeenSet =
false;
195 bool m_createdAtHasBeenSet =
false;
196 bool m_eventHasBeenSet =
false;
197 bool m_idHasBeenSet =
false;
198 bool m_tagsHasBeenSet =
false;
199 bool m_updatedAtHasBeenSet =
false;
200 bool m_requestIdHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetTags(TagsT &&value)
CreateEventActionResult & WithArn(ArnT &&value)
const Aws::String & GetArn() const
const Action & GetAction() const
void SetAction(ActionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateEventActionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_DATAEXCHANGE_API CreateEventActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(ArnT &&value)
const Event & GetEvent() const
CreateEventActionResult & WithId(IdT &&value)
CreateEventActionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetEvent(EventT &&value)
AWS_DATAEXCHANGE_API CreateEventActionResult()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
CreateEventActionResult & WithTags(TagsT &&value)
CreateEventActionResult & WithEvent(EventT &&value)
AWS_DATAEXCHANGE_API CreateEventActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEventActionResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetId() const
void SetRequestId(RequestIdT &&value)
CreateEventActionResult & WithAction(ActionT &&value)
CreateEventActionResult & WithUpdatedAt(UpdatedAtT &&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