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/CanaryRunConfigInput.h>
12#include <aws/synthetics/model/VpcConfigInput.h>
13#include <aws/synthetics/model/VisualReferenceInput.h>
14#include <aws/synthetics/model/ArtifactConfigInput.h>
15#include <aws/synthetics/model/ProvisionedResourceCleanupSetting.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
58 template<
typename CodeT = CanaryCodeInput>
59 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
60 template<
typename CodeT = CanaryCodeInput>
73 template<
typename RuntimeVersionT = Aws::String>
74 void SetRuntimeVersion(RuntimeVersionT&& value) { m_runtimeVersionHasBeenSet =
true; m_runtimeVersion = std::forward<RuntimeVersionT>(value); }
75 template<
typename RuntimeVersionT = Aws::String>
83 template<
typename RunConfigT = CanaryRunConfigInput>
84 void SetRunConfig(RunConfigT&& value) { m_runConfigHasBeenSet =
true; m_runConfig = std::forward<RunConfigT>(value); }
85 template<
typename RunConfigT = CanaryRunConfigInput>
93 template<
typename VpcConfigT = VpcConfigInput>
94 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
95 template<
typename VpcConfigT = VpcConfigInput>
107 template<
typename ExecutionRoleArnT = Aws::String>
108 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
109 template<
typename ExecutionRoleArnT = Aws::String>
145 template<
typename VisualReferenceT = VisualReferenceInput>
146 void SetVisualReference(VisualReferenceT&& value) { m_visualReferenceHasBeenSet =
true; m_visualReference = std::forward<VisualReferenceT>(value); }
147 template<
typename VisualReferenceT = VisualReferenceInput>
159 template<
typename ArtifactS3LocationT = Aws::String>
160 void SetArtifactS3Location(ArtifactS3LocationT&& value) { m_artifactS3LocationHasBeenSet =
true; m_artifactS3Location = std::forward<ArtifactS3LocationT>(value); }
161 template<
typename ArtifactS3LocationT = Aws::String>
169 template<
typename ArtifactConfigT = ArtifactConfigInput>
170 void SetArtifactConfig(ArtifactConfigT&& value) { m_artifactConfigHasBeenSet =
true; m_artifactConfig = std::forward<ArtifactConfigT>(value); }
171 template<
typename ArtifactConfigT = ArtifactConfigInput>
195 bool m_nameHasBeenSet =
false;
198 bool m_codeHasBeenSet =
false;
201 bool m_runtimeVersionHasBeenSet =
false;
204 bool m_runConfigHasBeenSet =
false;
207 bool m_vpcConfigHasBeenSet =
false;
210 bool m_executionRoleArnHasBeenSet =
false;
212 int m_successRetentionPeriodInDays{0};
213 bool m_successRetentionPeriodInDaysHasBeenSet =
false;
215 int m_failureRetentionPeriodInDays{0};
216 bool m_failureRetentionPeriodInDaysHasBeenSet =
false;
218 VisualReferenceInput m_visualReference;
219 bool m_visualReferenceHasBeenSet =
false;
222 bool m_artifactS3LocationHasBeenSet =
false;
224 ArtifactConfigInput m_artifactConfig;
225 bool m_artifactConfigHasBeenSet =
false;
228 bool m_provisionedResourceCleanupHasBeenSet =
false;
bool RuntimeVersionHasBeenSet() const
void SetName(NameT &&value)
StartCanaryDryRunRequest & WithRunConfig(RunConfigT &&value)
void SetProvisionedResourceCleanup(ProvisionedResourceCleanupSetting value)
StartCanaryDryRunRequest & WithArtifactS3Location(ArtifactS3LocationT &&value)
bool ExecutionRoleArnHasBeenSet() const
int GetSuccessRetentionPeriodInDays() const
bool NameHasBeenSet() const
const Aws::String & GetRuntimeVersion() const
void SetVisualReference(VisualReferenceT &&value)
StartCanaryDryRunRequest & WithSuccessRetentionPeriodInDays(int value)
bool RunConfigHasBeenSet() const
const CanaryRunConfigInput & GetRunConfig() const
bool SuccessRetentionPeriodInDaysHasBeenSet() const
const VisualReferenceInput & GetVisualReference() const
int GetFailureRetentionPeriodInDays() const
bool CodeHasBeenSet() const
void SetCode(CodeT &&value)
virtual const char * GetServiceRequestName() const override
bool ArtifactS3LocationHasBeenSet() const
bool VpcConfigHasBeenSet() const
bool FailureRetentionPeriodInDaysHasBeenSet() const
ProvisionedResourceCleanupSetting GetProvisionedResourceCleanup() const
StartCanaryDryRunRequest & WithRuntimeVersion(RuntimeVersionT &&value)
StartCanaryDryRunRequest & WithFailureRetentionPeriodInDays(int value)
const ArtifactConfigInput & GetArtifactConfig() const
void SetArtifactS3Location(ArtifactS3LocationT &&value)
void SetSuccessRetentionPeriodInDays(int value)
StartCanaryDryRunRequest & WithProvisionedResourceCleanup(ProvisionedResourceCleanupSetting value)
bool ProvisionedResourceCleanupHasBeenSet() const
void SetArtifactConfig(ArtifactConfigT &&value)
StartCanaryDryRunRequest & WithCode(CodeT &&value)
StartCanaryDryRunRequest & WithName(NameT &&value)
void SetRuntimeVersion(RuntimeVersionT &&value)
const Aws::String & GetExecutionRoleArn() const
const VpcConfigInput & GetVpcConfig() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
StartCanaryDryRunRequest & WithArtifactConfig(ArtifactConfigT &&value)
const Aws::String & GetName() const
const CanaryCodeInput & GetCode() const
void SetRunConfig(RunConfigT &&value)
AWS_SYNTHETICS_API StartCanaryDryRunRequest()=default
bool VisualReferenceHasBeenSet() const
StartCanaryDryRunRequest & WithVpcConfig(VpcConfigT &&value)
void SetFailureRetentionPeriodInDays(int value)
const Aws::String & GetArtifactS3Location() const
StartCanaryDryRunRequest & WithVisualReference(VisualReferenceT &&value)
StartCanaryDryRunRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetVpcConfig(VpcConfigT &&value)
AWS_SYNTHETICS_API Aws::String SerializePayload() const override
bool ArtifactConfigHasBeenSet() const
ProvisionedResourceCleanupSetting
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String