/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The properties of an experiment as returned by the Search
* API.See Also:
AWS
* API Reference
The name of the experiment.
*/ inline const Aws::String& GetExperimentName() const{ return m_experimentName; } /** *The name of the experiment.
*/ inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; } /** *The name of the experiment.
*/ inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; } /** *The name of the experiment.
*/ inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); } /** *The name of the experiment.
*/ inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); } /** *The name of the experiment.
*/ inline Experiment& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;} /** *The name of the experiment.
*/ inline Experiment& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;} /** *The name of the experiment.
*/ inline Experiment& WithExperimentName(const char* value) { SetExperimentName(value); return *this;} /** *The Amazon Resource Name (ARN) of the experiment.
*/ inline const Aws::String& GetExperimentArn() const{ return m_experimentArn; } /** *The Amazon Resource Name (ARN) of the experiment.
*/ inline bool ExperimentArnHasBeenSet() const { return m_experimentArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the experiment.
*/ inline void SetExperimentArn(const Aws::String& value) { m_experimentArnHasBeenSet = true; m_experimentArn = value; } /** *The Amazon Resource Name (ARN) of the experiment.
*/ inline void SetExperimentArn(Aws::String&& value) { m_experimentArnHasBeenSet = true; m_experimentArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the experiment.
*/ inline void SetExperimentArn(const char* value) { m_experimentArnHasBeenSet = true; m_experimentArn.assign(value); } /** *The Amazon Resource Name (ARN) of the experiment.
*/ inline Experiment& WithExperimentArn(const Aws::String& value) { SetExperimentArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the experiment.
*/ inline Experiment& WithExperimentArn(Aws::String&& value) { SetExperimentArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the experiment.
*/ inline Experiment& WithExperimentArn(const char* value) { SetExperimentArn(value); return *this;} /** *The name of the experiment as displayed. If DisplayName
isn't
* specified, ExperimentName
is displayed.
The name of the experiment as displayed. If DisplayName
isn't
* specified, ExperimentName
is displayed.
The name of the experiment as displayed. If DisplayName
isn't
* specified, ExperimentName
is displayed.
The name of the experiment as displayed. If DisplayName
isn't
* specified, ExperimentName
is displayed.
The name of the experiment as displayed. If DisplayName
isn't
* specified, ExperimentName
is displayed.
The name of the experiment as displayed. If DisplayName
isn't
* specified, ExperimentName
is displayed.
The name of the experiment as displayed. If DisplayName
isn't
* specified, ExperimentName
is displayed.
The name of the experiment as displayed. If DisplayName
isn't
* specified, ExperimentName
is displayed.
The description of the experiment.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the experiment.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the experiment.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the experiment.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the experiment.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the experiment.
*/ inline Experiment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the experiment.
*/ inline Experiment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the experiment.
*/ inline Experiment& WithDescription(const char* value) { SetDescription(value); return *this;} /** *When the experiment was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the experiment was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the experiment was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the experiment was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the experiment was created.
*/ inline Experiment& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the experiment was created.
*/ inline Experiment& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *Who created the experiment.
*/ inline const UserContext& GetCreatedBy() const{ return m_createdBy; } /** *Who created the experiment.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *Who created the experiment.
*/ inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *Who created the experiment.
*/ inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *Who created the experiment.
*/ inline Experiment& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;} /** *Who created the experiment.
*/ inline Experiment& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;} /** *When the experiment was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *When the experiment was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *When the experiment was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *When the experiment was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *When the experiment was last modified.
*/ inline Experiment& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *When the experiment was last modified.
*/ inline Experiment& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; } inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } inline Experiment& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;} inline Experiment& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *The list of tags that are associated with the experiment. You can use Search * API to search on the tags.
*/ inline const Aws::VectorThe list of tags that are associated with the experiment. You can use Search * API to search on the tags.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of tags that are associated with the experiment. You can use Search * API to search on the tags.
*/ inline void SetTags(const Aws::VectorThe list of tags that are associated with the experiment. You can use Search * API to search on the tags.
*/ inline void SetTags(Aws::VectorThe list of tags that are associated with the experiment. You can use Search * API to search on the tags.
*/ inline Experiment& WithTags(const Aws::VectorThe list of tags that are associated with the experiment. You can use Search * API to search on the tags.
*/ inline Experiment& WithTags(Aws::VectorThe list of tags that are associated with the experiment. You can use Search * API to search on the tags.
*/ inline Experiment& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The list of tags that are associated with the experiment. You can use Search * API to search on the tags.
*/ inline Experiment& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_experimentName; bool m_experimentNameHasBeenSet = false; Aws::String m_experimentArn; bool m_experimentArnHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; ExperimentSource m_source; bool m_sourceHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; UserContext m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; UserContext m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; Aws::Vector