7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/synthetics/model/CanaryRunStatus.h>
10#include <aws/synthetics/model/CanaryRunTimeline.h>
11#include <aws/synthetics/model/CanaryDryRunConfigOutput.h>
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename ScheduledRunIdT = Aws::String>
63 void SetScheduledRunId(ScheduledRunIdT&& value) { m_scheduledRunIdHasBeenSet =
true; m_scheduledRunId = std::forward<ScheduledRunIdT>(value); }
64 template<
typename ScheduledRunIdT = Aws::String>
74 inline void SetRetryAttempt(
int value) { m_retryAttemptHasBeenSet =
true; m_retryAttempt = value; }
84 template<
typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
86 template<
typename NameT = Aws::String>
96 template<
typename StatusT = CanaryRunStatus>
97 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
98 template<
typename StatusT = CanaryRunStatus>
108 template<
typename TimelineT = CanaryRunTimeline>
109 void SetTimeline(TimelineT&& value) { m_timelineHasBeenSet =
true; m_timeline = std::forward<TimelineT>(value); }
110 template<
typename TimelineT = CanaryRunTimeline>
121 template<
typename ArtifactS3LocationT = Aws::String>
122 void SetArtifactS3Location(ArtifactS3LocationT&& value) { m_artifactS3LocationHasBeenSet =
true; m_artifactS3Location = std::forward<ArtifactS3LocationT>(value); }
123 template<
typename ArtifactS3LocationT = Aws::String>
133 template<
typename DryRunConfigT = CanaryDryRunConfigOutput>
134 void SetDryRunConfig(DryRunConfigT&& value) { m_dryRunConfigHasBeenSet =
true; m_dryRunConfig = std::forward<DryRunConfigT>(value); }
135 template<
typename DryRunConfigT = CanaryDryRunConfigOutput>
141 bool m_idHasBeenSet =
false;
144 bool m_scheduledRunIdHasBeenSet =
false;
146 int m_retryAttempt{0};
147 bool m_retryAttemptHasBeenSet =
false;
150 bool m_nameHasBeenSet =
false;
152 CanaryRunStatus m_status;
153 bool m_statusHasBeenSet =
false;
155 CanaryRunTimeline m_timeline;
156 bool m_timelineHasBeenSet =
false;
159 bool m_artifactS3LocationHasBeenSet =
false;
161 CanaryDryRunConfigOutput m_dryRunConfig;
162 bool m_dryRunConfigHasBeenSet =
false;
bool ArtifactS3LocationHasBeenSet() const
bool StatusHasBeenSet() const
AWS_SYNTHETICS_API CanaryRun()=default
AWS_SYNTHETICS_API CanaryRun & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetRetryAttempt(int value)
CanaryRun & WithId(IdT &&value)
bool DryRunConfigHasBeenSet() const
void SetName(NameT &&value)
CanaryRun & WithArtifactS3Location(ArtifactS3LocationT &&value)
bool RetryAttemptHasBeenSet() const
const CanaryRunTimeline & GetTimeline() const
const Aws::String & GetArtifactS3Location() const
CanaryRun & WithName(NameT &&value)
void SetArtifactS3Location(ArtifactS3LocationT &&value)
const CanaryDryRunConfigOutput & GetDryRunConfig() const
CanaryRun & WithStatus(StatusT &&value)
CanaryRun & WithTimeline(TimelineT &&value)
const Aws::String & GetScheduledRunId() const
CanaryRun & WithScheduledRunId(ScheduledRunIdT &&value)
CanaryRun & WithDryRunConfig(DryRunConfigT &&value)
bool TimelineHasBeenSet() const
CanaryRun & WithRetryAttempt(int value)
bool NameHasBeenSet() const
int GetRetryAttempt() const
const CanaryRunStatus & GetStatus() const
void SetScheduledRunId(ScheduledRunIdT &&value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API CanaryRun(Aws::Utils::Json::JsonView jsonValue)
void SetDryRunConfig(DryRunConfigT &&value)
bool IdHasBeenSet() const
void SetTimeline(TimelineT &&value)
bool ScheduledRunIdHasBeenSet() const
const Aws::String & GetId() const
void SetStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue