AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEventActionResult.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 GetEventActionResult();
36
37
39
42 inline const Action& GetAction() const{ return m_action; }
43 inline void SetAction(const Action& value) { m_action = value; }
44 inline void SetAction(Action&& value) { m_action = std::move(value); }
45 inline GetEventActionResult& WithAction(const Action& value) { SetAction(value); return *this;}
46 inline GetEventActionResult& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetArn() const{ return m_arn; }
54 inline void SetArn(const Aws::String& value) { m_arn = value; }
55 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
56 inline void SetArn(const char* value) { m_arn.assign(value); }
57 inline GetEventActionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline GetEventActionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline GetEventActionResult& WithArn(const char* value) { SetArn(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
67 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
68 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
69 inline GetEventActionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
70 inline GetEventActionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
72
74
77 inline const Event& GetEvent() const{ return m_event; }
78 inline void SetEvent(const Event& value) { m_event = value; }
79 inline void SetEvent(Event&& value) { m_event = std::move(value); }
80 inline GetEventActionResult& WithEvent(const Event& value) { SetEvent(value); return *this;}
81 inline GetEventActionResult& WithEvent(Event&& value) { SetEvent(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetId() const{ return m_id; }
89 inline void SetId(const Aws::String& value) { m_id = value; }
90 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
91 inline void SetId(const char* value) { m_id.assign(value); }
92 inline GetEventActionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
93 inline GetEventActionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
94 inline GetEventActionResult& WithId(const char* value) { SetId(value); return *this;}
96
98
102 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
103 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
104 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
105 inline GetEventActionResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
106 inline GetEventActionResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
115 inline GetEventActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline GetEventActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline GetEventActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
121 Action m_action;
122
123 Aws::String m_arn;
124
125 Aws::Utils::DateTime m_createdAt;
126
127 Event m_event;
128
129 Aws::String m_id;
130
131 Aws::Utils::DateTime m_updatedAt;
132
133 Aws::String m_requestId;
134 };
135
136} // namespace Model
137} // namespace DataExchange
138} // namespace Aws
AWS_DATAEXCHANGE_API GetEventActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetEventActionResult & WithEvent(Event &&value)
GetEventActionResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetEventActionResult & WithId(const Aws::String &value)
GetEventActionResult & WithRequestId(const char *value)
GetEventActionResult & WithId(Aws::String &&value)
GetEventActionResult & WithArn(const char *value)
GetEventActionResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetEventActionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetEventActionResult & WithArn(Aws::String &&value)
GetEventActionResult & WithAction(const Action &value)
AWS_DATAEXCHANGE_API GetEventActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
GetEventActionResult & WithRequestId(Aws::String &&value)
GetEventActionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetEventActionResult & WithAction(Action &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetEventActionResult & WithEvent(const Event &value)
GetEventActionResult & WithRequestId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetEventActionResult & WithId(const char *value)
GetEventActionResult & WithArn(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue