AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartReplayResult.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ReplayState.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CloudWatchEvents
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHEVENTS_API StartReplayResult();
35
36
38
41 inline const Aws::String& GetReplayArn() const{ return m_replayArn; }
42 inline void SetReplayArn(const Aws::String& value) { m_replayArn = value; }
43 inline void SetReplayArn(Aws::String&& value) { m_replayArn = std::move(value); }
44 inline void SetReplayArn(const char* value) { m_replayArn.assign(value); }
45 inline StartReplayResult& WithReplayArn(const Aws::String& value) { SetReplayArn(value); return *this;}
46 inline StartReplayResult& WithReplayArn(Aws::String&& value) { SetReplayArn(std::move(value)); return *this;}
47 inline StartReplayResult& WithReplayArn(const char* value) { SetReplayArn(value); return *this;}
49
51
54 inline const ReplayState& GetState() const{ return m_state; }
55 inline void SetState(const ReplayState& value) { m_state = value; }
56 inline void SetState(ReplayState&& value) { m_state = std::move(value); }
57 inline StartReplayResult& WithState(const ReplayState& value) { SetState(value); return *this;}
58 inline StartReplayResult& WithState(ReplayState&& value) { SetState(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
66 inline void SetStateReason(const Aws::String& value) { m_stateReason = value; }
67 inline void SetStateReason(Aws::String&& value) { m_stateReason = std::move(value); }
68 inline void SetStateReason(const char* value) { m_stateReason.assign(value); }
69 inline StartReplayResult& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
70 inline StartReplayResult& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
71 inline StartReplayResult& WithStateReason(const char* value) { SetStateReason(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetReplayStartTime() const{ return m_replayStartTime; }
79 inline void SetReplayStartTime(const Aws::Utils::DateTime& value) { m_replayStartTime = value; }
80 inline void SetReplayStartTime(Aws::Utils::DateTime&& value) { m_replayStartTime = std::move(value); }
82 inline StartReplayResult& WithReplayStartTime(Aws::Utils::DateTime&& value) { SetReplayStartTime(std::move(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline StartReplayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline StartReplayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline StartReplayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_replayArn;
98
99 ReplayState m_state;
100
101 Aws::String m_stateReason;
102
103 Aws::Utils::DateTime m_replayStartTime;
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace CloudWatchEvents
110} // namespace Aws
StartReplayResult & WithReplayStartTime(const Aws::Utils::DateTime &value)
StartReplayResult & WithRequestId(const char *value)
AWS_CLOUDWATCHEVENTS_API StartReplayResult()
StartReplayResult & WithReplayStartTime(Aws::Utils::DateTime &&value)
StartReplayResult & WithState(const ReplayState &value)
StartReplayResult & WithStateReason(const char *value)
StartReplayResult & WithStateReason(Aws::String &&value)
StartReplayResult & WithReplayArn(Aws::String &&value)
StartReplayResult & WithRequestId(Aws::String &&value)
StartReplayResult & WithReplayArn(const Aws::String &value)
StartReplayResult & WithState(ReplayState &&value)
const Aws::Utils::DateTime & GetReplayStartTime() const
AWS_CLOUDWATCHEVENTS_API StartReplayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartReplayResult & WithRequestId(const Aws::String &value)
void SetReplayStartTime(Aws::Utils::DateTime &&value)
StartReplayResult & WithReplayArn(const char *value)
StartReplayResult & WithStateReason(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API StartReplayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReplayStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue