AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateEventActionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.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>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataExchange {
26namespace Model {
28 public:
29 AWS_DATAEXCHANGE_API UpdateEventActionResult() = default;
32
34
37 inline const Action& GetAction() const { return m_action; }
38 template <typename ActionT = Action>
39 void SetAction(ActionT&& value) {
40 m_actionHasBeenSet = true;
41 m_action = std::forward<ActionT>(value);
42 }
43 template <typename ActionT = Action>
45 SetAction(std::forward<ActionT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
72 template <typename CreatedAtT = Aws::Utils::DateTime>
73 void SetCreatedAt(CreatedAtT&& value) {
74 m_createdAtHasBeenSet = true;
75 m_createdAt = std::forward<CreatedAtT>(value);
76 }
77 template <typename CreatedAtT = Aws::Utils::DateTime>
79 SetCreatedAt(std::forward<CreatedAtT>(value));
80 return *this;
81 }
83
85
88 inline const Event& GetEvent() const { return m_event; }
89 template <typename EventT = Event>
90 void SetEvent(EventT&& value) {
91 m_eventHasBeenSet = true;
92 m_event = std::forward<EventT>(value);
93 }
94 template <typename EventT = Event>
96 SetEvent(std::forward<EventT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetId() const { return m_id; }
106 template <typename IdT = Aws::String>
107 void SetId(IdT&& value) {
108 m_idHasBeenSet = true;
109 m_id = std::forward<IdT>(value);
110 }
111 template <typename IdT = Aws::String>
113 SetId(std::forward<IdT>(value));
114 return *this;
115 }
117
119
123 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
124 template <typename UpdatedAtT = Aws::Utils::DateTime>
125 void SetUpdatedAt(UpdatedAtT&& value) {
126 m_updatedAtHasBeenSet = true;
127 m_updatedAt = std::forward<UpdatedAtT>(value);
128 }
129 template <typename UpdatedAtT = Aws::Utils::DateTime>
131 SetUpdatedAt(std::forward<UpdatedAtT>(value));
132 return *this;
133 }
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template <typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) {
141 m_requestIdHasBeenSet = true;
142 m_requestId = std::forward<RequestIdT>(value);
143 }
144 template <typename RequestIdT = Aws::String>
146 SetRequestId(std::forward<RequestIdT>(value));
147 return *this;
148 }
150 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
151
152 private:
153 Action m_action;
154
155 Aws::String m_arn;
156
157 Aws::Utils::DateTime m_createdAt{};
158
159 Event m_event;
160
161 Aws::String m_id;
162
163 Aws::Utils::DateTime m_updatedAt{};
164
165 Aws::String m_requestId;
166 Aws::Http::HttpResponseCode m_HttpResponseCode;
167 bool m_actionHasBeenSet = false;
168 bool m_arnHasBeenSet = false;
169 bool m_createdAtHasBeenSet = false;
170 bool m_eventHasBeenSet = false;
171 bool m_idHasBeenSet = false;
172 bool m_updatedAtHasBeenSet = false;
173 bool m_requestIdHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace DataExchange
178} // namespace Aws
UpdateEventActionResult & WithRequestId(RequestIdT &&value)
AWS_DATAEXCHANGE_API UpdateEventActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEventActionResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateEventActionResult & WithAction(ActionT &&value)
AWS_DATAEXCHANGE_API UpdateEventActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEventActionResult & WithArn(ArnT &&value)
AWS_DATAEXCHANGE_API UpdateEventActionResult()=default
UpdateEventActionResult & WithCreatedAt(CreatedAtT &&value)
UpdateEventActionResult & WithEvent(EventT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue