/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the state of an experiment.See Also:
AWS
* API Reference
The state of the experiment.
*/ inline const ExperimentStatus& GetStatus() const{ return m_status; } /** *The state of the experiment.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The state of the experiment.
*/ inline void SetStatus(const ExperimentStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The state of the experiment.
*/ inline void SetStatus(ExperimentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The state of the experiment.
*/ inline ExperimentState& WithStatus(const ExperimentStatus& value) { SetStatus(value); return *this;} /** *The state of the experiment.
*/ inline ExperimentState& WithStatus(ExperimentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The reason for the state.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *The reason for the state.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason for the state.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for the state.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for the state.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *The reason for the state.
*/ inline ExperimentState& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *The reason for the state.
*/ inline ExperimentState& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *The reason for the state.
*/ inline ExperimentState& WithReason(const char* value) { SetReason(value); return *this;} private: ExperimentStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace FIS } // namespace Aws