7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ReplayState.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
24namespace CloudWatchEvents
43 inline void SetReplayArn(
const char* value) { m_replayArn.assign(value); }
67 inline void SetStateReason(
const char* value) { m_stateReason.assign(value); }
78 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetState(const ReplayState &value)
CancelReplayResult & WithStateReason(const Aws::String &value)
CancelReplayResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
CancelReplayResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
CancelReplayResult & WithReplayArn(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API CancelReplayResult()
void SetStateReason(Aws::String &&value)
const Aws::String & GetStateReason() const
AWS_CLOUDWATCHEVENTS_API CancelReplayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelReplayResult & WithReplayArn(Aws::String &&value)
void SetStateReason(const char *value)
const ReplayState & GetState() const
CancelReplayResult & WithStateReason(const char *value)
CancelReplayResult & WithState(ReplayState &&value)
void SetRequestId(const char *value)
void SetStateReason(const Aws::String &value)
void SetRequestId(const Aws::String &value)
CancelReplayResult & WithStateReason(Aws::String &&value)
void SetReplayArn(Aws::String &&value)
CancelReplayResult & WithRequestId(Aws::String &&value)
const Aws::String & GetReplayArn() const
void SetState(ReplayState &&value)
AWS_CLOUDWATCHEVENTS_API CancelReplayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReplayArn(const char *value)
CancelReplayResult & WithReplayArn(const char *value)
void SetReplayArn(const Aws::String &value)
CancelReplayResult & WithState(const ReplayState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue