7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/CloudWatchEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/events/model/ReplayDestination.h>
16namespace CloudWatchEvents
45 template<
typename ReplayNameT = Aws::String>
46 void SetReplayName(ReplayNameT&& value) { m_replayNameHasBeenSet =
true; m_replayName = std::forward<ReplayNameT>(value); }
47 template<
typename ReplayNameT = Aws::String>
57 template<
typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
59 template<
typename DescriptionT = Aws::String>
69 template<
typename EventSourceArnT = Aws::String>
70 void SetEventSourceArn(EventSourceArnT&& value) { m_eventSourceArnHasBeenSet =
true; m_eventSourceArn = std::forward<EventSourceArnT>(value); }
71 template<
typename EventSourceArnT = Aws::String>
83 template<
typename EventStartTimeT = Aws::Utils::DateTime>
84 void SetEventStartTime(EventStartTimeT&& value) { m_eventStartTimeHasBeenSet =
true; m_eventStartTime = std::forward<EventStartTimeT>(value); }
85 template<
typename EventStartTimeT = Aws::Utils::DateTime>
97 template<
typename EventEndTimeT = Aws::Utils::DateTime>
98 void SetEventEndTime(EventEndTimeT&& value) { m_eventEndTimeHasBeenSet =
true; m_eventEndTime = std::forward<EventEndTimeT>(value); }
99 template<
typename EventEndTimeT = Aws::Utils::DateTime>
110 template<
typename DestinationT = ReplayDestination>
111 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
112 template<
typename DestinationT = ReplayDestination>
118 bool m_replayNameHasBeenSet =
false;
121 bool m_descriptionHasBeenSet =
false;
124 bool m_eventSourceArnHasBeenSet =
false;
127 bool m_eventStartTimeHasBeenSet =
false;
130 bool m_eventEndTimeHasBeenSet =
false;
132 ReplayDestination m_destination;
133 bool m_destinationHasBeenSet =
false;
StartReplayRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
void SetEventEndTime(EventEndTimeT &&value)
bool EventStartTimeHasBeenSet() const
void SetEventSourceArn(EventSourceArnT &&value)
const Aws::String & GetReplayName() const
const Aws::Utils::DateTime & GetEventEndTime() const
const ReplayDestination & GetDestination() const
StartReplayRequest & WithEventSourceArn(EventSourceArnT &&value)
bool ReplayNameHasBeenSet() const
StartReplayRequest & WithReplayName(ReplayNameT &&value)
StartReplayRequest & WithEventEndTime(EventEndTimeT &&value)
bool DestinationHasBeenSet() const
bool EventEndTimeHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
void SetReplayName(ReplayNameT &&value)
AWS_CLOUDWATCHEVENTS_API StartReplayRequest()=default
void SetDestination(DestinationT &&value)
bool EventSourceArnHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
const Aws::Utils::DateTime & GetEventStartTime() const
void SetEventStartTime(EventStartTimeT &&value)
const Aws::String & GetEventSourceArn() const
StartReplayRequest & WithEventStartTime(EventStartTimeT &&value)
StartReplayRequest & WithDestination(DestinationT &&value)
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String