AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpdateEventActionResult.h
1
6#pragma once
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 <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataExchange
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAEXCHANGE_API UpdateEventActionResult() = default;
36
37
39
42 inline const Action& GetAction() const { return m_action; }
43 template<typename ActionT = Action>
44 void SetAction(ActionT&& value) { m_actionHasBeenSet = true; m_action = std::forward<ActionT>(value); }
45 template<typename ActionT = Action>
46 UpdateEventActionResult& WithAction(ActionT&& value) { SetAction(std::forward<ActionT>(value)); return *this;}
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 UpdateEventActionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
67 template<typename CreatedAtT = Aws::Utils::DateTime>
68 UpdateEventActionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
70
72
75 inline const Event& GetEvent() const { return m_event; }
76 template<typename EventT = Event>
77 void SetEvent(EventT&& value) { m_eventHasBeenSet = true; m_event = std::forward<EventT>(value); }
78 template<typename EventT = Event>
79 UpdateEventActionResult& WithEvent(EventT&& value) { SetEvent(std::forward<EventT>(value)); return *this;}
81
83
86 inline const Aws::String& GetId() const { return m_id; }
87 template<typename IdT = Aws::String>
88 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
89 template<typename IdT = Aws::String>
90 UpdateEventActionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
99 template<typename UpdatedAtT = Aws::Utils::DateTime>
100 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
101 template<typename UpdatedAtT = Aws::Utils::DateTime>
102 UpdateEventActionResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 UpdateEventActionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Action m_action;
116 bool m_actionHasBeenSet = false;
117
118 Aws::String m_arn;
119 bool m_arnHasBeenSet = false;
120
121 Aws::Utils::DateTime m_createdAt{};
122 bool m_createdAtHasBeenSet = false;
123
124 Event m_event;
125 bool m_eventHasBeenSet = false;
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 Aws::Utils::DateTime m_updatedAt{};
131 bool m_updatedAtHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace DataExchange
139} // 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