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>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
106 inline void SetRuntimeVersion(
const char* value) { m_runtimeVersionHasBeenSet =
true; m_runtimeVersion.assign(value); }
206 inline void SetArtifactS3Location(
const char* value) { m_artifactS3LocationHasBeenSet =
true; m_artifactS3Location.assign(value); }
228 bool m_nameHasBeenSet =
false;
231 bool m_codeHasBeenSet =
false;
234 bool m_executionRoleArnHasBeenSet =
false;
237 bool m_runtimeVersionHasBeenSet =
false;
240 bool m_scheduleHasBeenSet =
false;
243 bool m_runConfigHasBeenSet =
false;
245 int m_successRetentionPeriodInDays;
246 bool m_successRetentionPeriodInDaysHasBeenSet =
false;
248 int m_failureRetentionPeriodInDays;
249 bool m_failureRetentionPeriodInDaysHasBeenSet =
false;
252 bool m_vpcConfigHasBeenSet =
false;
255 bool m_visualReferenceHasBeenSet =
false;
258 bool m_artifactS3LocationHasBeenSet =
false;
261 bool m_artifactConfigHasBeenSet =
false;
UpdateCanaryRequest & WithCode(const CanaryCodeInput &value)
void SetArtifactS3Location(const Aws::String &value)
void SetSchedule(const CanaryScheduleInput &value)
bool FailureRetentionPeriodInDaysHasBeenSet() const
void SetExecutionRoleArn(const Aws::String &value)
const VisualReferenceInput & GetVisualReference() const
UpdateCanaryRequest & WithRuntimeVersion(const Aws::String &value)
UpdateCanaryRequest & WithArtifactConfig(ArtifactConfigInput &&value)
UpdateCanaryRequest & WithRunConfig(const CanaryRunConfigInput &value)
void SetName(const char *value)
void SetSchedule(CanaryScheduleInput &&value)
UpdateCanaryRequest & WithArtifactS3Location(const char *value)
const Aws::String & GetArtifactS3Location() const
const Aws::String & GetName() const
UpdateCanaryRequest & WithName(Aws::String &&value)
UpdateCanaryRequest & WithArtifactS3Location(const Aws::String &value)
UpdateCanaryRequest & WithName(const char *value)
UpdateCanaryRequest & WithExecutionRoleArn(Aws::String &&value)
UpdateCanaryRequest & WithVisualReference(VisualReferenceInput &&value)
bool RuntimeVersionHasBeenSet() const
void SetVisualReference(const VisualReferenceInput &value)
bool ExecutionRoleArnHasBeenSet() const
const Aws::String & GetRuntimeVersion() const
UpdateCanaryRequest & WithRunConfig(CanaryRunConfigInput &&value)
void SetRuntimeVersion(Aws::String &&value)
UpdateCanaryRequest & WithFailureRetentionPeriodInDays(int value)
void SetCode(const CanaryCodeInput &value)
AWS_SYNTHETICS_API Aws::String SerializePayload() const override
const VpcConfigInput & GetVpcConfig() const
UpdateCanaryRequest & WithVisualReference(const VisualReferenceInput &value)
void SetRunConfig(const CanaryRunConfigInput &value)
UpdateCanaryRequest & WithRuntimeVersion(const char *value)
bool SuccessRetentionPeriodInDaysHasBeenSet() const
bool ArtifactS3LocationHasBeenSet() const
UpdateCanaryRequest & WithSchedule(CanaryScheduleInput &&value)
AWS_SYNTHETICS_API UpdateCanaryRequest()
void SetVpcConfig(const VpcConfigInput &value)
const CanaryCodeInput & GetCode() const
bool NameHasBeenSet() const
UpdateCanaryRequest & WithArtifactS3Location(Aws::String &&value)
bool CodeHasBeenSet() const
void SetCode(CanaryCodeInput &&value)
void SetVpcConfig(VpcConfigInput &&value)
const CanaryScheduleInput & GetSchedule() const
const ArtifactConfigInput & GetArtifactConfig() const
UpdateCanaryRequest & WithSchedule(const CanaryScheduleInput &value)
bool ScheduleHasBeenSet() const
void SetArtifactS3Location(Aws::String &&value)
void SetName(const Aws::String &value)
UpdateCanaryRequest & WithName(const Aws::String &value)
void SetFailureRetentionPeriodInDays(int value)
bool RunConfigHasBeenSet() const
UpdateCanaryRequest & WithVpcConfig(VpcConfigInput &&value)
void SetSuccessRetentionPeriodInDays(int value)
void SetRuntimeVersion(const Aws::String &value)
UpdateCanaryRequest & WithExecutionRoleArn(const char *value)
void SetExecutionRoleArn(Aws::String &&value)
bool VisualReferenceHasBeenSet() const
UpdateCanaryRequest & WithRuntimeVersion(Aws::String &&value)
UpdateCanaryRequest & WithArtifactConfig(const ArtifactConfigInput &value)
bool ArtifactConfigHasBeenSet() const
void SetVisualReference(VisualReferenceInput &&value)
void SetRuntimeVersion(const char *value)
void SetRunConfig(CanaryRunConfigInput &&value)
const CanaryRunConfigInput & GetRunConfig() const
const Aws::String & GetExecutionRoleArn() const
int GetFailureRetentionPeriodInDays() const
int GetSuccessRetentionPeriodInDays() const
virtual const char * GetServiceRequestName() const override
void SetName(Aws::String &&value)
UpdateCanaryRequest & WithVpcConfig(const VpcConfigInput &value)
void SetArtifactConfig(ArtifactConfigInput &&value)
UpdateCanaryRequest & WithCode(CanaryCodeInput &&value)
void SetArtifactS3Location(const char *value)
UpdateCanaryRequest & WithExecutionRoleArn(const Aws::String &value)
void SetArtifactConfig(const ArtifactConfigInput &value)
bool VpcConfigHasBeenSet() const
UpdateCanaryRequest & WithSuccessRetentionPeriodInDays(int value)
void SetExecutionRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String