7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/synthetics/model/CanaryCodeOutput.h>
10#include <aws/synthetics/model/CanaryScheduleOutput.h>
11#include <aws/synthetics/model/CanaryRunConfigOutput.h>
12#include <aws/synthetics/model/CanaryStatus.h>
13#include <aws/synthetics/model/CanaryTimeline.h>
14#include <aws/synthetics/model/VpcConfigOutput.h>
15#include <aws/synthetics/model/VisualReferenceOutput.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/synthetics/model/ArtifactConfigOutput.h>
57 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
58 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
72 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
97 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
180 inline void SetArtifactS3Location(
const char* value) { m_artifactS3LocationHasBeenSet =
true; m_artifactS3Location.assign(value); }
197 inline void SetEngineArn(
const char* value) { m_engineArnHasBeenSet =
true; m_engineArn.assign(value); }
214 inline void SetRuntimeVersion(
const char* value) { m_runtimeVersionHasBeenSet =
true; m_runtimeVersion.assign(value); }
259 inline Canary&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
260 inline Canary&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
261 inline Canary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
280 bool m_idHasBeenSet =
false;
283 bool m_nameHasBeenSet =
false;
286 bool m_codeHasBeenSet =
false;
289 bool m_executionRoleArnHasBeenSet =
false;
292 bool m_scheduleHasBeenSet =
false;
295 bool m_runConfigHasBeenSet =
false;
297 int m_successRetentionPeriodInDays;
298 bool m_successRetentionPeriodInDaysHasBeenSet =
false;
300 int m_failureRetentionPeriodInDays;
301 bool m_failureRetentionPeriodInDaysHasBeenSet =
false;
304 bool m_statusHasBeenSet =
false;
307 bool m_timelineHasBeenSet =
false;
310 bool m_artifactS3LocationHasBeenSet =
false;
313 bool m_engineArnHasBeenSet =
false;
316 bool m_runtimeVersionHasBeenSet =
false;
319 bool m_vpcConfigHasBeenSet =
false;
322 bool m_visualReferenceHasBeenSet =
false;
325 bool m_tagsHasBeenSet =
false;
328 bool m_artifactConfigHasBeenSet =
false;
const VpcConfigOutput & GetVpcConfig() const
Canary & WithArtifactS3Location(Aws::String &&value)
void SetRuntimeVersion(Aws::String &&value)
bool IdHasBeenSet() const
Canary & WithCode(const CanaryCodeOutput &value)
const CanaryTimeline & GetTimeline() const
Canary & WithExecutionRoleArn(const Aws::String &value)
void SetExecutionRoleArn(Aws::String &&value)
void SetCode(const CanaryCodeOutput &value)
void SetId(const char *value)
bool RuntimeVersionHasBeenSet() const
Canary & WithRuntimeVersion(const char *value)
Canary & WithVpcConfig(const VpcConfigOutput &value)
void SetArtifactS3Location(const char *value)
const Aws::String & GetName() const
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
void SetVisualReference(const VisualReferenceOutput &value)
bool ArtifactConfigHasBeenSet() const
Canary & WithStatus(const CanaryStatus &value)
Canary & WithName(Aws::String &&value)
Canary & WithRuntimeVersion(const Aws::String &value)
void SetExecutionRoleArn(const Aws::String &value)
Canary & WithEngineArn(const char *value)
Canary & WithId(Aws::String &&value)
Canary & WithSchedule(CanaryScheduleOutput &&value)
void SetCode(CanaryCodeOutput &&value)
bool ExecutionRoleArnHasBeenSet() const
void SetArtifactConfig(const ArtifactConfigOutput &value)
Canary & WithName(const Aws::String &value)
bool VpcConfigHasBeenSet() const
void SetTimeline(const CanaryTimeline &value)
Canary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Canary & WithArtifactConfig(ArtifactConfigOutput &&value)
bool ScheduleHasBeenSet() const
void SetStatus(const CanaryStatus &value)
Canary & WithRuntimeVersion(Aws::String &&value)
int GetSuccessRetentionPeriodInDays() const
Canary & WithEngineArn(Aws::String &&value)
void SetId(const Aws::String &value)
const Aws::String & GetRuntimeVersion() const
Canary & WithEngineArn(const Aws::String &value)
void SetRunConfig(const CanaryRunConfigOutput &value)
Canary & WithRunConfig(const CanaryRunConfigOutput &value)
const Aws::String & GetId() const
void SetRuntimeVersion(const Aws::String &value)
Canary & WithId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
Canary & WithArtifactS3Location(const Aws::String &value)
const CanaryStatus & GetStatus() const
const CanaryCodeOutput & GetCode() const
const Aws::String & GetEngineArn() const
Canary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SYNTHETICS_API Canary()
void SetSchedule(CanaryScheduleOutput &&value)
bool StatusHasBeenSet() const
void SetEngineArn(const Aws::String &value)
void SetVpcConfig(const VpcConfigOutput &value)
Canary & AddTags(Aws::String &&key, Aws::String &&value)
Canary & AddTags(const Aws::String &key, const Aws::String &value)
const VisualReferenceOutput & GetVisualReference() const
bool FailureRetentionPeriodInDaysHasBeenSet() const
Canary & WithSchedule(const CanaryScheduleOutput &value)
Canary & WithTimeline(const CanaryTimeline &value)
bool SuccessRetentionPeriodInDaysHasBeenSet() const
const ArtifactConfigOutput & GetArtifactConfig() const
Canary & WithStatus(CanaryStatus &&value)
void SetName(Aws::String &&value)
Canary & AddTags(const char *key, Aws::String &&value)
Canary & WithName(const char *value)
const Aws::String & GetArtifactS3Location() const
Canary & AddTags(Aws::String &&key, const char *value)
Canary & WithFailureRetentionPeriodInDays(int value)
void SetName(const char *value)
Canary & AddTags(const Aws::String &key, Aws::String &&value)
void SetArtifactS3Location(Aws::String &&value)
void SetFailureRetentionPeriodInDays(int value)
void SetName(const Aws::String &value)
int GetFailureRetentionPeriodInDays() const
Canary & WithVisualReference(VisualReferenceOutput &&value)
Canary & AddTags(const char *key, const char *value)
Canary & WithVpcConfig(VpcConfigOutput &&value)
void SetRunConfig(CanaryRunConfigOutput &&value)
const CanaryRunConfigOutput & GetRunConfig() const
void SetArtifactConfig(ArtifactConfigOutput &&value)
Canary & WithArtifactS3Location(const char *value)
void SetVisualReference(VisualReferenceOutput &&value)
const CanaryScheduleOutput & GetSchedule() const
AWS_SYNTHETICS_API Canary(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionRoleArn(const char *value)
bool RunConfigHasBeenSet() const
const Aws::String & GetExecutionRoleArn() const
void SetStatus(CanaryStatus &&value)
Canary & WithExecutionRoleArn(const char *value)
Canary & WithId(const Aws::String &value)
void SetEngineArn(Aws::String &&value)
void SetRuntimeVersion(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSuccessRetentionPeriodInDays(int value)
Canary & WithSuccessRetentionPeriodInDays(int value)
void SetArtifactS3Location(const Aws::String &value)
bool CodeHasBeenSet() const
Canary & WithVisualReference(const VisualReferenceOutput &value)
void SetEngineArn(const char *value)
Canary & WithTimeline(CanaryTimeline &&value)
bool VisualReferenceHasBeenSet() const
Canary & WithArtifactConfig(const ArtifactConfigOutput &value)
void SetTimeline(CanaryTimeline &&value)
bool ArtifactS3LocationHasBeenSet() const
Canary & WithRunConfig(CanaryRunConfigOutput &&value)
bool TimelineHasBeenSet() const
Canary & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetId(Aws::String &&value)
Canary & WithCode(CanaryCodeOutput &&value)
bool EngineArnHasBeenSet() const
Canary & WithExecutionRoleArn(Aws::String &&value)
void SetVpcConfig(VpcConfigOutput &&value)
AWS_SYNTHETICS_API Canary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSchedule(const CanaryScheduleOutput &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue