7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/synthetics/SyntheticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/synthetics/model/CanaryCodeInput.h>
11#include <aws/synthetics/model/CanaryScheduleInput.h>
12#include <aws/synthetics/model/CanaryRunConfigInput.h>
13#include <aws/synthetics/model/VpcConfigInput.h>
14#include <aws/synthetics/model/VisualReferenceInput.h>
15#include <aws/synthetics/model/ArtifactConfigInput.h>
16#include <aws/synthetics/model/ProvisionedResourceCleanupSetting.h>
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
65 template<
typename CodeT = CanaryCodeInput>
66 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
67 template<
typename CodeT = CanaryCodeInput>
86 template<
typename ExecutionRoleArnT = Aws::String>
87 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
88 template<
typename ExecutionRoleArnT = Aws::String>
101 template<
typename RuntimeVersionT = Aws::String>
102 void SetRuntimeVersion(RuntimeVersionT&& value) { m_runtimeVersionHasBeenSet =
true; m_runtimeVersion = std::forward<RuntimeVersionT>(value); }
103 template<
typename RuntimeVersionT = Aws::String>
114 template<
typename ScheduleT = CanaryScheduleInput>
115 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
116 template<
typename ScheduleT = CanaryScheduleInput>
130 template<
typename RunConfigT = CanaryRunConfigInput>
131 void SetRunConfig(RunConfigT&& value) { m_runConfigHasBeenSet =
true; m_runConfig = std::forward<RunConfigT>(value); }
132 template<
typename RunConfigT = CanaryRunConfigInput>
172 template<
typename VpcConfigT = VpcConfigInput>
173 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
174 template<
typename VpcConfigT = VpcConfigInput>
192 template<
typename VisualReferenceT = VisualReferenceInput>
193 void SetVisualReference(VisualReferenceT&& value) { m_visualReferenceHasBeenSet =
true; m_visualReference = std::forward<VisualReferenceT>(value); }
194 template<
typename VisualReferenceT = VisualReferenceInput>
206 template<
typename ArtifactS3LocationT = Aws::String>
207 void SetArtifactS3Location(ArtifactS3LocationT&& value) { m_artifactS3LocationHasBeenSet =
true; m_artifactS3Location = std::forward<ArtifactS3LocationT>(value); }
208 template<
typename ArtifactS3LocationT = Aws::String>
220 template<
typename ArtifactConfigT = ArtifactConfigInput>
221 void SetArtifactConfig(ArtifactConfigT&& value) { m_artifactConfigHasBeenSet =
true; m_artifactConfig = std::forward<ArtifactConfigT>(value); }
222 template<
typename ArtifactConfigT = ArtifactConfigInput>
252 template<
typename DryRunIdT = Aws::String>
253 void SetDryRunId(DryRunIdT&& value) { m_dryRunIdHasBeenSet =
true; m_dryRunId = std::forward<DryRunIdT>(value); }
254 template<
typename DryRunIdT = Aws::String>
260 bool m_nameHasBeenSet =
false;
263 bool m_codeHasBeenSet =
false;
266 bool m_executionRoleArnHasBeenSet =
false;
269 bool m_runtimeVersionHasBeenSet =
false;
272 bool m_scheduleHasBeenSet =
false;
275 bool m_runConfigHasBeenSet =
false;
277 int m_successRetentionPeriodInDays{0};
278 bool m_successRetentionPeriodInDaysHasBeenSet =
false;
280 int m_failureRetentionPeriodInDays{0};
281 bool m_failureRetentionPeriodInDaysHasBeenSet =
false;
283 VpcConfigInput m_vpcConfig;
284 bool m_vpcConfigHasBeenSet =
false;
286 VisualReferenceInput m_visualReference;
287 bool m_visualReferenceHasBeenSet =
false;
290 bool m_artifactS3LocationHasBeenSet =
false;
292 ArtifactConfigInput m_artifactConfig;
293 bool m_artifactConfigHasBeenSet =
false;
296 bool m_provisionedResourceCleanupHasBeenSet =
false;
299 bool m_dryRunIdHasBeenSet =
false;
bool DryRunIdHasBeenSet() const
void SetSchedule(ScheduleT &&value)
bool FailureRetentionPeriodInDaysHasBeenSet() const
const VisualReferenceInput & GetVisualReference() const
void SetName(NameT &&value)
void SetVpcConfig(VpcConfigT &&value)
const Aws::String & GetArtifactS3Location() const
const Aws::String & GetName() const
UpdateCanaryRequest & WithRunConfig(RunConfigT &&value)
bool RuntimeVersionHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
const Aws::String & GetRuntimeVersion() const
UpdateCanaryRequest & WithFailureRetentionPeriodInDays(int value)
AWS_SYNTHETICS_API Aws::String SerializePayload() const override
const VpcConfigInput & GetVpcConfig() const
UpdateCanaryRequest & WithArtifactS3Location(ArtifactS3LocationT &&value)
void SetProvisionedResourceCleanup(ProvisionedResourceCleanupSetting value)
UpdateCanaryRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
bool SuccessRetentionPeriodInDaysHasBeenSet() const
bool ArtifactS3LocationHasBeenSet() const
const Aws::String & GetDryRunId() const
const CanaryCodeInput & GetCode() const
bool NameHasBeenSet() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
bool CodeHasBeenSet() const
const CanaryScheduleInput & GetSchedule() const
void SetCode(CodeT &&value)
const ArtifactConfigInput & GetArtifactConfig() const
UpdateCanaryRequest & WithVisualReference(VisualReferenceT &&value)
UpdateCanaryRequest & WithName(NameT &&value)
void SetArtifactConfig(ArtifactConfigT &&value)
bool ScheduleHasBeenSet() const
UpdateCanaryRequest & WithSchedule(ScheduleT &&value)
void SetVisualReference(VisualReferenceT &&value)
void SetFailureRetentionPeriodInDays(int value)
bool RunConfigHasBeenSet() const
void SetSuccessRetentionPeriodInDays(int value)
UpdateCanaryRequest & WithRuntimeVersion(RuntimeVersionT &&value)
void SetDryRunId(DryRunIdT &&value)
AWS_SYNTHETICS_API UpdateCanaryRequest()=default
bool VisualReferenceHasBeenSet() const
bool ArtifactConfigHasBeenSet() const
const CanaryRunConfigInput & GetRunConfig() const
const Aws::String & GetExecutionRoleArn() const
int GetFailureRetentionPeriodInDays() const
void SetRuntimeVersion(RuntimeVersionT &&value)
int GetSuccessRetentionPeriodInDays() const
UpdateCanaryRequest & WithArtifactConfig(ArtifactConfigT &&value)
UpdateCanaryRequest & WithDryRunId(DryRunIdT &&value)
UpdateCanaryRequest & WithProvisionedResourceCleanup(ProvisionedResourceCleanupSetting value)
void SetArtifactS3Location(ArtifactS3LocationT &&value)
virtual const char * GetServiceRequestName() const override
UpdateCanaryRequest & WithCode(CodeT &&value)
bool ProvisionedResourceCleanupHasBeenSet() const
ProvisionedResourceCleanupSetting GetProvisionedResourceCleanup() const
void SetRunConfig(RunConfigT &&value)
bool VpcConfigHasBeenSet() const
UpdateCanaryRequest & WithSuccessRetentionPeriodInDays(int value)
UpdateCanaryRequest & WithVpcConfig(VpcConfigT &&value)
ProvisionedResourceCleanupSetting
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String