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>
12#include <aws/synthetics/model/BrowserType.h>
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
63 template<
typename ScheduledRunIdT = Aws::String>
64 void SetScheduledRunId(ScheduledRunIdT&& value) { m_scheduledRunIdHasBeenSet =
true; m_scheduledRunId = std::forward<ScheduledRunIdT>(value); }
65 template<
typename ScheduledRunIdT = Aws::String>
75 inline void SetRetryAttempt(
int value) { m_retryAttemptHasBeenSet =
true; m_retryAttempt = value; }
85 template<
typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
87 template<
typename NameT = Aws::String>
97 template<
typename StatusT = CanaryRunStatus>
98 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
99 template<
typename StatusT = CanaryRunStatus>
109 template<
typename TimelineT = CanaryRunTimeline>
110 void SetTimeline(TimelineT&& value) { m_timelineHasBeenSet =
true; m_timeline = std::forward<TimelineT>(value); }
111 template<
typename TimelineT = CanaryRunTimeline>
122 template<
typename ArtifactS3LocationT = Aws::String>
123 void SetArtifactS3Location(ArtifactS3LocationT&& value) { m_artifactS3LocationHasBeenSet =
true; m_artifactS3Location = std::forward<ArtifactS3LocationT>(value); }
124 template<
typename ArtifactS3LocationT = Aws::String>
134 template<
typename DryRunConfigT = CanaryDryRunConfigOutput>
135 void SetDryRunConfig(DryRunConfigT&& value) { m_dryRunConfigHasBeenSet =
true; m_dryRunConfig = std::forward<DryRunConfigT>(value); }
136 template<
typename DryRunConfigT = CanaryDryRunConfigOutput>
152 bool m_idHasBeenSet =
false;
155 bool m_scheduledRunIdHasBeenSet =
false;
157 int m_retryAttempt{0};
158 bool m_retryAttemptHasBeenSet =
false;
161 bool m_nameHasBeenSet =
false;
163 CanaryRunStatus m_status;
164 bool m_statusHasBeenSet =
false;
166 CanaryRunTimeline m_timeline;
167 bool m_timelineHasBeenSet =
false;
170 bool m_artifactS3LocationHasBeenSet =
false;
172 CanaryDryRunConfigOutput m_dryRunConfig;
173 bool m_dryRunConfigHasBeenSet =
false;
176 bool m_browserTypeHasBeenSet =
false;
bool ArtifactS3LocationHasBeenSet() const
void SetBrowserType(BrowserType value)
bool StatusHasBeenSet() const
BrowserType GetBrowserType() const
AWS_SYNTHETICS_API CanaryRun()=default
AWS_SYNTHETICS_API CanaryRun & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
CanaryRun & WithBrowserType(BrowserType value)
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 BrowserTypeHasBeenSet() const
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