AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateEventActionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/DataExchange_EXPORTS.h>
10#include <aws/dataexchange/model/Action.h>
11#include <aws/dataexchange/model/Event.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataExchange {
25namespace Model {
27 public:
28 AWS_DATAEXCHANGE_API UpdateEventActionResult() = default;
31
33
36 inline const Action& GetAction() const { return m_action; }
37 template <typename ActionT = Action>
38 void SetAction(ActionT&& value) {
39 m_actionHasBeenSet = true;
40 m_action = std::forward<ActionT>(value);
41 }
42 template <typename ActionT = Action>
44 SetAction(std::forward<ActionT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 template <typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) {
73 m_createdAtHasBeenSet = true;
74 m_createdAt = std::forward<CreatedAtT>(value);
75 }
76 template <typename CreatedAtT = Aws::Utils::DateTime>
78 SetCreatedAt(std::forward<CreatedAtT>(value));
79 return *this;
80 }
82
84
87 inline const Event& GetEvent() const { return m_event; }
88 template <typename EventT = Event>
89 void SetEvent(EventT&& value) {
90 m_eventHasBeenSet = true;
91 m_event = std::forward<EventT>(value);
92 }
93 template <typename EventT = Event>
95 SetEvent(std::forward<EventT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetId() const { return m_id; }
105 template <typename IdT = Aws::String>
106 void SetId(IdT&& value) {
107 m_idHasBeenSet = true;
108 m_id = std::forward<IdT>(value);
109 }
110 template <typename IdT = Aws::String>
112 SetId(std::forward<IdT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
123 template <typename UpdatedAtT = Aws::Utils::DateTime>
124 void SetUpdatedAt(UpdatedAtT&& value) {
125 m_updatedAtHasBeenSet = true;
126 m_updatedAt = std::forward<UpdatedAtT>(value);
127 }
128 template <typename UpdatedAtT = Aws::Utils::DateTime>
130 SetUpdatedAt(std::forward<UpdatedAtT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 private:
150 Action m_action;
151
152 Aws::String m_arn;
153
154 Aws::Utils::DateTime m_createdAt{};
155
156 Event m_event;
157
158 Aws::String m_id;
159
160 Aws::Utils::DateTime m_updatedAt{};
161
162 Aws::String m_requestId;
163 bool m_actionHasBeenSet = false;
164 bool m_arnHasBeenSet = false;
165 bool m_createdAtHasBeenSet = false;
166 bool m_eventHasBeenSet = false;
167 bool m_idHasBeenSet = false;
168 bool m_updatedAtHasBeenSet = false;
169 bool m_requestIdHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace DataExchange
174} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue