AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelReplayResult.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 <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CloudWatchEvents
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CLOUDWATCHEVENTS_API CancelReplayResult();
34
35
37
40 inline const Aws::String& GetReplayArn() const{ return m_replayArn; }
41 inline void SetReplayArn(const Aws::String& value) { m_replayArn = value; }
42 inline void SetReplayArn(Aws::String&& value) { m_replayArn = std::move(value); }
43 inline void SetReplayArn(const char* value) { m_replayArn.assign(value); }
44 inline CancelReplayResult& WithReplayArn(const Aws::String& value) { SetReplayArn(value); return *this;}
45 inline CancelReplayResult& WithReplayArn(Aws::String&& value) { SetReplayArn(std::move(value)); return *this;}
46 inline CancelReplayResult& WithReplayArn(const char* value) { SetReplayArn(value); return *this;}
48
50
53 inline const ReplayState& GetState() const{ return m_state; }
54 inline void SetState(const ReplayState& value) { m_state = value; }
55 inline void SetState(ReplayState&& value) { m_state = std::move(value); }
56 inline CancelReplayResult& WithState(const ReplayState& value) { SetState(value); return *this;}
57 inline CancelReplayResult& WithState(ReplayState&& value) { SetState(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
65 inline void SetStateReason(const Aws::String& value) { m_stateReason = value; }
66 inline void SetStateReason(Aws::String&& value) { m_stateReason = std::move(value); }
67 inline void SetStateReason(const char* value) { m_stateReason.assign(value); }
68 inline CancelReplayResult& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
69 inline CancelReplayResult& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
70 inline CancelReplayResult& WithStateReason(const char* value) { SetStateReason(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CancelReplayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CancelReplayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CancelReplayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_replayArn;
86
87 ReplayState m_state;
88
89 Aws::String m_stateReason;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace CloudWatchEvents
96} // namespace Aws
CancelReplayResult & WithStateReason(const Aws::String &value)
CancelReplayResult & WithRequestId(const Aws::String &value)
CancelReplayResult & WithRequestId(const char *value)
CancelReplayResult & WithReplayArn(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API CancelReplayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelReplayResult & WithReplayArn(Aws::String &&value)
CancelReplayResult & WithStateReason(const char *value)
CancelReplayResult & WithState(ReplayState &&value)
CancelReplayResult & WithStateReason(Aws::String &&value)
CancelReplayResult & WithRequestId(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API CancelReplayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelReplayResult & WithReplayArn(const char *value)
CancelReplayResult & WithState(const ReplayState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue