7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/synthetics/Synthetics_EXPORTS.h>
9#include <aws/synthetics/model/BrowserType.h>
10#include <aws/synthetics/model/CanaryDryRunConfigOutput.h>
11#include <aws/synthetics/model/CanaryRunStatus.h>
12#include <aws/synthetics/model/CanaryRunTimeline.h>
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename ScheduledRunIdT = Aws::String>
65 m_scheduledRunIdHasBeenSet =
true;
66 m_scheduledRunId = std::forward<ScheduledRunIdT>(value);
68 template <
typename ScheduledRunIdT = Aws::String>
82 m_retryAttemptHasBeenSet =
true;
83 m_retryAttempt = value;
97 template <
typename NameT = Aws::String>
99 m_nameHasBeenSet =
true;
100 m_name = std::forward<NameT>(value);
102 template <
typename NameT = Aws::String>
104 SetName(std::forward<NameT>(value));
115 template <
typename StatusT = CanaryRunStatus>
117 m_statusHasBeenSet =
true;
118 m_status = std::forward<StatusT>(value);
120 template <
typename StatusT = CanaryRunStatus>
133 template <
typename TimelineT = CanaryRunTimeline>
135 m_timelineHasBeenSet =
true;
136 m_timeline = std::forward<TimelineT>(value);
138 template <
typename TimelineT = CanaryRunTimeline>
152 template <
typename ArtifactS3LocationT = Aws::String>
154 m_artifactS3LocationHasBeenSet =
true;
155 m_artifactS3Location = std::forward<ArtifactS3LocationT>(value);
157 template <
typename ArtifactS3LocationT = Aws::String>
170 template <
typename DryRunConfigT = CanaryDryRunConfigOutput>
172 m_dryRunConfigHasBeenSet =
true;
173 m_dryRunConfig = std::forward<DryRunConfigT>(value);
175 template <
typename DryRunConfigT = CanaryDryRunConfigOutput>
189 m_browserTypeHasBeenSet =
true;
190 m_browserType = value;
199 bool m_idHasBeenSet =
false;
202 bool m_scheduledRunIdHasBeenSet =
false;
204 int m_retryAttempt{0};
205 bool m_retryAttemptHasBeenSet =
false;
208 bool m_nameHasBeenSet =
false;
210 CanaryRunStatus m_status;
211 bool m_statusHasBeenSet =
false;
213 CanaryRunTimeline m_timeline;
214 bool m_timelineHasBeenSet =
false;
217 bool m_artifactS3LocationHasBeenSet =
false;
219 CanaryDryRunConfigOutput m_dryRunConfig;
220 bool m_dryRunConfigHasBeenSet =
false;
223 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