/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of an experiment.See Also:
AWS
* API Reference
The ID of the experiment.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the experiment.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the experiment.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the experiment.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the experiment.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the experiment.
*/ inline ExperimentSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the experiment.
*/ inline ExperimentSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the experiment.
*/ inline ExperimentSummary& WithId(const char* value) { SetId(value); return *this;} /** *The ID of the experiment template.
*/ inline const Aws::String& GetExperimentTemplateId() const{ return m_experimentTemplateId; } /** *The ID of the experiment template.
*/ inline bool ExperimentTemplateIdHasBeenSet() const { return m_experimentTemplateIdHasBeenSet; } /** *The ID of the experiment template.
*/ inline void SetExperimentTemplateId(const Aws::String& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = value; } /** *The ID of the experiment template.
*/ inline void SetExperimentTemplateId(Aws::String&& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = std::move(value); } /** *The ID of the experiment template.
*/ inline void SetExperimentTemplateId(const char* value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId.assign(value); } /** *The ID of the experiment template.
*/ inline ExperimentSummary& WithExperimentTemplateId(const Aws::String& value) { SetExperimentTemplateId(value); return *this;} /** *The ID of the experiment template.
*/ inline ExperimentSummary& WithExperimentTemplateId(Aws::String&& value) { SetExperimentTemplateId(std::move(value)); return *this;} /** *The ID of the experiment template.
*/ inline ExperimentSummary& WithExperimentTemplateId(const char* value) { SetExperimentTemplateId(value); return *this;} /** *The state of the experiment.
*/ inline const ExperimentState& GetState() const{ return m_state; } /** *The state of the experiment.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the experiment.
*/ inline void SetState(const ExperimentState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the experiment.
*/ inline void SetState(ExperimentState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the experiment.
*/ inline ExperimentSummary& WithState(const ExperimentState& value) { SetState(value); return *this;} /** *The state of the experiment.
*/ inline ExperimentSummary& WithState(ExperimentState&& value) { SetState(std::move(value)); return *this;} /** *The time that the experiment was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time that the experiment was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time that the experiment was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time that the experiment was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time that the experiment was created.
*/ inline ExperimentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time that the experiment was created.
*/ inline ExperimentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The tags for the experiment.
*/ inline const Aws::MapThe tags for the experiment.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags for the experiment.
*/ inline void SetTags(const Aws::MapThe tags for the experiment.
*/ inline void SetTags(Aws::MapThe tags for the experiment.
*/ inline ExperimentSummary& WithTags(const Aws::MapThe tags for the experiment.
*/ inline ExperimentSummary& WithTags(Aws::MapThe tags for the experiment.
*/ inline ExperimentSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags for the experiment.
*/ inline ExperimentSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags for the experiment.
*/ inline ExperimentSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags for the experiment.
*/ inline ExperimentSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags for the experiment.
*/ inline ExperimentSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags for the experiment.
*/ inline ExperimentSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags for the experiment.
*/ inline ExperimentSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_experimentTemplateId; bool m_experimentTemplateIdHasBeenSet = false; ExperimentState m_state; bool m_stateHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Map