AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReplayResult.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/ReplayState.h>
10#include <aws/eventbridge/model/ReplayDestination.h>
11#include <aws/core/utils/DateTime.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 EventBridge
27{
28namespace Model
29{
31 {
32 public:
33 AWS_EVENTBRIDGE_API DescribeReplayResult();
36
37
39
42 inline const Aws::String& GetReplayName() const{ return m_replayName; }
43 inline void SetReplayName(const Aws::String& value) { m_replayName = value; }
44 inline void SetReplayName(Aws::String&& value) { m_replayName = std::move(value); }
45 inline void SetReplayName(const char* value) { m_replayName.assign(value); }
46 inline DescribeReplayResult& WithReplayName(const Aws::String& value) { SetReplayName(value); return *this;}
47 inline DescribeReplayResult& WithReplayName(Aws::String&& value) { SetReplayName(std::move(value)); return *this;}
48 inline DescribeReplayResult& WithReplayName(const char* value) { SetReplayName(value); return *this;}
50
52
55 inline const Aws::String& GetReplayArn() const{ return m_replayArn; }
56 inline void SetReplayArn(const Aws::String& value) { m_replayArn = value; }
57 inline void SetReplayArn(Aws::String&& value) { m_replayArn = std::move(value); }
58 inline void SetReplayArn(const char* value) { m_replayArn.assign(value); }
59 inline DescribeReplayResult& WithReplayArn(const Aws::String& value) { SetReplayArn(value); return *this;}
60 inline DescribeReplayResult& WithReplayArn(Aws::String&& value) { SetReplayArn(std::move(value)); return *this;}
61 inline DescribeReplayResult& WithReplayArn(const char* value) { SetReplayArn(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline void SetDescription(const Aws::String& value) { m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_description.assign(value); }
72 inline DescribeReplayResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline DescribeReplayResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline DescribeReplayResult& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const ReplayState& GetState() const{ return m_state; }
82 inline void SetState(const ReplayState& value) { m_state = value; }
83 inline void SetState(ReplayState&& value) { m_state = std::move(value); }
84 inline DescribeReplayResult& WithState(const ReplayState& value) { SetState(value); return *this;}
85 inline DescribeReplayResult& WithState(ReplayState&& value) { SetState(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
93 inline void SetStateReason(const Aws::String& value) { m_stateReason = value; }
94 inline void SetStateReason(Aws::String&& value) { m_stateReason = std::move(value); }
95 inline void SetStateReason(const char* value) { m_stateReason.assign(value); }
96 inline DescribeReplayResult& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
97 inline DescribeReplayResult& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
98 inline DescribeReplayResult& WithStateReason(const char* value) { SetStateReason(value); return *this;}
100
102
105 inline const Aws::String& GetEventSourceArn() const{ return m_eventSourceArn; }
106 inline void SetEventSourceArn(const Aws::String& value) { m_eventSourceArn = value; }
107 inline void SetEventSourceArn(Aws::String&& value) { m_eventSourceArn = std::move(value); }
108 inline void SetEventSourceArn(const char* value) { m_eventSourceArn.assign(value); }
109 inline DescribeReplayResult& WithEventSourceArn(const Aws::String& value) { SetEventSourceArn(value); return *this;}
110 inline DescribeReplayResult& WithEventSourceArn(Aws::String&& value) { SetEventSourceArn(std::move(value)); return *this;}
111 inline DescribeReplayResult& WithEventSourceArn(const char* value) { SetEventSourceArn(value); return *this;}
113
115
119 inline const ReplayDestination& GetDestination() const{ return m_destination; }
120 inline void SetDestination(const ReplayDestination& value) { m_destination = value; }
121 inline void SetDestination(ReplayDestination&& value) { m_destination = std::move(value); }
122 inline DescribeReplayResult& WithDestination(const ReplayDestination& value) { SetDestination(value); return *this;}
123 inline DescribeReplayResult& WithDestination(ReplayDestination&& value) { SetDestination(std::move(value)); return *this;}
125
127
131 inline const Aws::Utils::DateTime& GetEventStartTime() const{ return m_eventStartTime; }
132 inline void SetEventStartTime(const Aws::Utils::DateTime& value) { m_eventStartTime = value; }
133 inline void SetEventStartTime(Aws::Utils::DateTime&& value) { m_eventStartTime = std::move(value); }
135 inline DescribeReplayResult& WithEventStartTime(Aws::Utils::DateTime&& value) { SetEventStartTime(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetEventEndTime() const{ return m_eventEndTime; }
143 inline void SetEventEndTime(const Aws::Utils::DateTime& value) { m_eventEndTime = value; }
144 inline void SetEventEndTime(Aws::Utils::DateTime&& value) { m_eventEndTime = std::move(value); }
145 inline DescribeReplayResult& WithEventEndTime(const Aws::Utils::DateTime& value) { SetEventEndTime(value); return *this;}
146 inline DescribeReplayResult& WithEventEndTime(Aws::Utils::DateTime&& value) { SetEventEndTime(std::move(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetEventLastReplayedTime() const{ return m_eventLastReplayedTime; }
154 inline void SetEventLastReplayedTime(const Aws::Utils::DateTime& value) { m_eventLastReplayedTime = value; }
155 inline void SetEventLastReplayedTime(Aws::Utils::DateTime&& value) { m_eventLastReplayedTime = std::move(value); }
159
161
164 inline const Aws::Utils::DateTime& GetReplayStartTime() const{ return m_replayStartTime; }
165 inline void SetReplayStartTime(const Aws::Utils::DateTime& value) { m_replayStartTime = value; }
166 inline void SetReplayStartTime(Aws::Utils::DateTime&& value) { m_replayStartTime = std::move(value); }
168 inline DescribeReplayResult& WithReplayStartTime(Aws::Utils::DateTime&& value) { SetReplayStartTime(std::move(value)); return *this;}
170
172
175 inline const Aws::Utils::DateTime& GetReplayEndTime() const{ return m_replayEndTime; }
176 inline void SetReplayEndTime(const Aws::Utils::DateTime& value) { m_replayEndTime = value; }
177 inline void SetReplayEndTime(Aws::Utils::DateTime&& value) { m_replayEndTime = std::move(value); }
179 inline DescribeReplayResult& WithReplayEndTime(Aws::Utils::DateTime&& value) { SetReplayEndTime(std::move(value)); return *this;}
181
183
184 inline const Aws::String& GetRequestId() const{ return m_requestId; }
185 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
186 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
187 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
188 inline DescribeReplayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
189 inline DescribeReplayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
190 inline DescribeReplayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
192 private:
193
194 Aws::String m_replayName;
195
196 Aws::String m_replayArn;
197
198 Aws::String m_description;
199
200 ReplayState m_state;
201
202 Aws::String m_stateReason;
203
204 Aws::String m_eventSourceArn;
205
206 ReplayDestination m_destination;
207
208 Aws::Utils::DateTime m_eventStartTime;
209
210 Aws::Utils::DateTime m_eventEndTime;
211
212 Aws::Utils::DateTime m_eventLastReplayedTime;
213
214 Aws::Utils::DateTime m_replayStartTime;
215
216 Aws::Utils::DateTime m_replayEndTime;
217
218 Aws::String m_requestId;
219 };
220
221} // namespace Model
222} // namespace EventBridge
223} // namespace Aws
DescribeReplayResult & WithEventSourceArn(const char *value)
DescribeReplayResult & WithReplayEndTime(const Aws::Utils::DateTime &value)
DescribeReplayResult & WithReplayName(const char *value)
const Aws::Utils::DateTime & GetEventLastReplayedTime() const
DescribeReplayResult & WithReplayEndTime(Aws::Utils::DateTime &&value)
void SetDestination(const ReplayDestination &value)
DescribeReplayResult & WithEventLastReplayedTime(const Aws::Utils::DateTime &value)
DescribeReplayResult & WithRequestId(const Aws::String &value)
DescribeReplayResult & WithReplayArn(Aws::String &&value)
DescribeReplayResult & WithReplayStartTime(Aws::Utils::DateTime &&value)
DescribeReplayResult & WithRequestId(const char *value)
DescribeReplayResult & WithRequestId(Aws::String &&value)
DescribeReplayResult & WithDestination(ReplayDestination &&value)
DescribeReplayResult & WithStateReason(const char *value)
DescribeReplayResult & WithDescription(const Aws::String &value)
void SetEventLastReplayedTime(const Aws::Utils::DateTime &value)
void SetReplayStartTime(Aws::Utils::DateTime &&value)
void SetReplayEndTime(Aws::Utils::DateTime &&value)
DescribeReplayResult & WithEventEndTime(const Aws::Utils::DateTime &value)
DescribeReplayResult & WithDestination(const ReplayDestination &value)
const Aws::Utils::DateTime & GetReplayStartTime() const
DescribeReplayResult & WithEventStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEventStartTime() const
const ReplayDestination & GetDestination() const
DescribeReplayResult & WithStateReason(Aws::String &&value)
DescribeReplayResult & WithState(const ReplayState &value)
void SetEventEndTime(Aws::Utils::DateTime &&value)
DescribeReplayResult & WithEventStartTime(const Aws::Utils::DateTime &value)
DescribeReplayResult & WithReplayName(Aws::String &&value)
DescribeReplayResult & WithDescription(const char *value)
void SetReplayStartTime(const Aws::Utils::DateTime &value)
DescribeReplayResult & WithReplayArn(const Aws::String &value)
AWS_EVENTBRIDGE_API DescribeReplayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplayResult & WithEventLastReplayedTime(Aws::Utils::DateTime &&value)
DescribeReplayResult & WithReplayName(const Aws::String &value)
void SetEventEndTime(const Aws::Utils::DateTime &value)
void SetEventStartTime(const Aws::Utils::DateTime &value)
void SetReplayEndTime(const Aws::Utils::DateTime &value)
DescribeReplayResult & WithReplayStartTime(const Aws::Utils::DateTime &value)
DescribeReplayResult & WithReplayArn(const char *value)
DescribeReplayResult & WithDescription(Aws::String &&value)
DescribeReplayResult & WithEventEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetReplayEndTime() const
DescribeReplayResult & WithStateReason(const Aws::String &value)
DescribeReplayResult & WithEventSourceArn(Aws::String &&value)
DescribeReplayResult & WithState(ReplayState &&value)
void SetEventLastReplayedTime(Aws::Utils::DateTime &&value)
DescribeReplayResult & WithEventSourceArn(const Aws::String &value)
AWS_EVENTBRIDGE_API DescribeReplayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEventStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEventEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue