7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/model/Action.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dataexchange/model/Event.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename ActionT = Action>
45 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
46 template<
typename ActionT = Action>
55 template<
typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
57 template<
typename ArnT = Aws::String>
66 template<
typename CreatedAtT = Aws::Utils::DateTime>
67 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
68 template<
typename CreatedAtT = Aws::Utils::DateTime>
77 template<
typename EventT = Event>
78 void SetEvent(EventT&& value) { m_eventHasBeenSet =
true; m_event = std::forward<EventT>(value); }
79 template<
typename EventT = Event>
88 template<
typename IdT = Aws::String>
89 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
90 template<
typename IdT = Aws::String>
99 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
101 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
105 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
115 template<
typename UpdatedAtT = Aws::Utils::DateTime>
116 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
117 template<
typename UpdatedAtT = Aws::Utils::DateTime>
124 template<
typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
126 template<
typename RequestIdT = Aws::String>
132 bool m_actionHasBeenSet =
false;
135 bool m_arnHasBeenSet =
false;
138 bool m_createdAtHasBeenSet =
false;
141 bool m_eventHasBeenSet =
false;
144 bool m_idHasBeenSet =
false;
147 bool m_tagsHasBeenSet =
false;
150 bool m_updatedAtHasBeenSet =
false;
153 bool m_requestIdHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
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