AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 UpdateEventActionResult& WithAction(const Action& value) { SetAction(value); return *this;}
46 inline UpdateEventActionResult& 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 UpdateEventActionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline UpdateEventActionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline UpdateEventActionResult& 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 UpdateEventActionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
70 inline UpdateEventActionResult& 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 UpdateEventActionResult& WithEvent(const Event& value) { SetEvent(value); return *this;}
81 inline UpdateEventActionResult& 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 UpdateEventActionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
93 inline UpdateEventActionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
94 inline UpdateEventActionResult& 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 UpdateEventActionResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
106 inline UpdateEventActionResult& 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 UpdateEventActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline UpdateEventActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline UpdateEventActionResult& 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
UpdateEventActionResult & WithEvent(Event &&value)
UpdateEventActionResult & WithArn(const char *value)
UpdateEventActionResult & WithId(Aws::String &&value)
UpdateEventActionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateEventActionResult & WithRequestId(Aws::String &&value)
UpdateEventActionResult & WithArn(Aws::String &&value)
UpdateEventActionResult & WithRequestId(const char *value)
UpdateEventActionResult & WithAction(const Action &value)
UpdateEventActionResult & WithAction(Action &&value)
AWS_DATAEXCHANGE_API UpdateEventActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEventActionResult & WithId(const char *value)
UpdateEventActionResult & WithEvent(const Event &value)
AWS_DATAEXCHANGE_API UpdateEventActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEventActionResult & WithId(const Aws::String &value)
UpdateEventActionResult & WithRequestId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
UpdateEventActionResult & WithArn(const Aws::String &value)
UpdateEventActionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
UpdateEventActionResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
UpdateEventActionResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue