/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a stop condition for an experiment template.See
* Also:
AWS
* API Reference
The source for the stop condition. Specify aws:cloudwatch:alarm
* if the stop condition is defined by a CloudWatch alarm. Specify
* none
if there is no stop condition.
The source for the stop condition. Specify aws:cloudwatch:alarm
* if the stop condition is defined by a CloudWatch alarm. Specify
* none
if there is no stop condition.
The source for the stop condition. Specify aws:cloudwatch:alarm
* if the stop condition is defined by a CloudWatch alarm. Specify
* none
if there is no stop condition.
The source for the stop condition. Specify aws:cloudwatch:alarm
* if the stop condition is defined by a CloudWatch alarm. Specify
* none
if there is no stop condition.
The source for the stop condition. Specify aws:cloudwatch:alarm
* if the stop condition is defined by a CloudWatch alarm. Specify
* none
if there is no stop condition.
The source for the stop condition. Specify aws:cloudwatch:alarm
* if the stop condition is defined by a CloudWatch alarm. Specify
* none
if there is no stop condition.
The source for the stop condition. Specify aws:cloudwatch:alarm
* if the stop condition is defined by a CloudWatch alarm. Specify
* none
if there is no stop condition.
The source for the stop condition. Specify aws:cloudwatch:alarm
* if the stop condition is defined by a CloudWatch alarm. Specify
* none
if there is no stop condition.
The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if * the source is a CloudWatch alarm.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if * the source is a CloudWatch alarm.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if * the source is a CloudWatch alarm.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if * the source is a CloudWatch alarm.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if * the source is a CloudWatch alarm.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if * the source is a CloudWatch alarm.
*/ inline CreateExperimentTemplateStopConditionInput& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if * the source is a CloudWatch alarm.
*/ inline CreateExperimentTemplateStopConditionInput& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if * the source is a CloudWatch alarm.
*/ inline CreateExperimentTemplateStopConditionInput& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_source; bool m_sourceHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace FIS } // namespace Aws