7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/evidently/model/ExperimentStopDesiredState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace CloudWatchEvidently
53 template<
typename ExperimentT = Aws::String>
54 void SetExperiment(ExperimentT&& value) { m_experimentHasBeenSet =
true; m_experiment = std::forward<ExperimentT>(value); }
55 template<
typename ExperimentT = Aws::String>
65 template<
typename ProjectT = Aws::String>
66 void SetProject(ProjectT&& value) { m_projectHasBeenSet =
true; m_project = std::forward<ProjectT>(value); }
67 template<
typename ProjectT = Aws::String>
77 template<
typename ReasonT = Aws::String>
78 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
79 template<
typename ReasonT = Aws::String>
85 bool m_desiredStateHasBeenSet =
false;
88 bool m_experimentHasBeenSet =
false;
91 bool m_projectHasBeenSet =
false;
94 bool m_reasonHasBeenSet =
false;
StopExperimentRequest & WithReason(ReasonT &&value)
StopExperimentRequest & WithDesiredState(ExperimentStopDesiredState value)
void SetExperiment(ExperimentT &&value)
bool DesiredStateHasBeenSet() const
const Aws::String & GetExperiment() const
bool ExperimentHasBeenSet() const
void SetDesiredState(ExperimentStopDesiredState value)
ExperimentStopDesiredState GetDesiredState() const
StopExperimentRequest & WithExperiment(ExperimentT &&value)
void SetProject(ProjectT &&value)
bool ReasonHasBeenSet() const
const Aws::String & GetProject() const
StopExperimentRequest & WithProject(ProjectT &&value)
AWS_CLOUDWATCHEVIDENTLY_API StopExperimentRequest()=default
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
const Aws::String & GetReason() const
bool ProjectHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetReason(ReasonT &&value)
ExperimentStopDesiredState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String