/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudWatchEvidently { namespace Model { /** *

A structure that contains configuration information about an Evidently * project.

See Also:

AWS * API Reference

*/ class ProjectSummary { public: AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary(); AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of experiments currently in the project.

*/ inline long long GetActiveExperimentCount() const{ return m_activeExperimentCount; } /** *

The number of experiments currently in the project.

*/ inline bool ActiveExperimentCountHasBeenSet() const { return m_activeExperimentCountHasBeenSet; } /** *

The number of experiments currently in the project.

*/ inline void SetActiveExperimentCount(long long value) { m_activeExperimentCountHasBeenSet = true; m_activeExperimentCount = value; } /** *

The number of experiments currently in the project.

*/ inline ProjectSummary& WithActiveExperimentCount(long long value) { SetActiveExperimentCount(value); return *this;} /** *

The number of ongoing launches currently in the project.

*/ inline long long GetActiveLaunchCount() const{ return m_activeLaunchCount; } /** *

The number of ongoing launches currently in the project.

*/ inline bool ActiveLaunchCountHasBeenSet() const { return m_activeLaunchCountHasBeenSet; } /** *

The number of ongoing launches currently in the project.

*/ inline void SetActiveLaunchCount(long long value) { m_activeLaunchCountHasBeenSet = true; m_activeLaunchCount = value; } /** *

The number of ongoing launches currently in the project.

*/ inline ProjectSummary& WithActiveLaunchCount(long long value) { SetActiveLaunchCount(value); return *this;} /** *

The name or ARN of the project.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The name or ARN of the project.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The name or ARN of the project.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The name or ARN of the project.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The name or ARN of the project.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The name or ARN of the project.

*/ inline ProjectSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The name or ARN of the project.

*/ inline ProjectSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The name or ARN of the project.

*/ inline ProjectSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The date and time that the project is created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The date and time that the project is created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The date and time that the project is created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The date and time that the project is created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The date and time that the project is created.

*/ inline ProjectSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The date and time that the project is created.

*/ inline ProjectSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The description of the project.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the project.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the project.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the project.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the project.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the project.

*/ inline ProjectSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the project.

*/ inline ProjectSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the project.

*/ inline ProjectSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The number of experiments currently in the project.

*/ inline long long GetExperimentCount() const{ return m_experimentCount; } /** *

The number of experiments currently in the project.

*/ inline bool ExperimentCountHasBeenSet() const { return m_experimentCountHasBeenSet; } /** *

The number of experiments currently in the project.

*/ inline void SetExperimentCount(long long value) { m_experimentCountHasBeenSet = true; m_experimentCount = value; } /** *

The number of experiments currently in the project.

*/ inline ProjectSummary& WithExperimentCount(long long value) { SetExperimentCount(value); return *this;} /** *

The number of features currently in the project.

*/ inline long long GetFeatureCount() const{ return m_featureCount; } /** *

The number of features currently in the project.

*/ inline bool FeatureCountHasBeenSet() const { return m_featureCountHasBeenSet; } /** *

The number of features currently in the project.

*/ inline void SetFeatureCount(long long value) { m_featureCountHasBeenSet = true; m_featureCount = value; } /** *

The number of features currently in the project.

*/ inline ProjectSummary& WithFeatureCount(long long value) { SetFeatureCount(value); return *this;} /** *

The date and time that the project was most recently updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The date and time that the project was most recently updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

The date and time that the project was most recently updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

The date and time that the project was most recently updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

The date and time that the project was most recently updated.

*/ inline ProjectSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

The date and time that the project was most recently updated.

*/ inline ProjectSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The number of launches currently in the project, including launches that are * ongoing, completed, and not started yet.

*/ inline long long GetLaunchCount() const{ return m_launchCount; } /** *

The number of launches currently in the project, including launches that are * ongoing, completed, and not started yet.

*/ inline bool LaunchCountHasBeenSet() const { return m_launchCountHasBeenSet; } /** *

The number of launches currently in the project, including launches that are * ongoing, completed, and not started yet.

*/ inline void SetLaunchCount(long long value) { m_launchCountHasBeenSet = true; m_launchCount = value; } /** *

The number of launches currently in the project, including launches that are * ongoing, completed, and not started yet.

*/ inline ProjectSummary& WithLaunchCount(long long value) { SetLaunchCount(value); return *this;} /** *

The name of the project.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the project.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the project.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the project.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the project.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the project.

*/ inline ProjectSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the project.

*/ inline ProjectSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the project.

*/ inline ProjectSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The current state of the project.

*/ inline const ProjectStatus& GetStatus() const{ return m_status; } /** *

The current state of the project.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current state of the project.

*/ inline void SetStatus(const ProjectStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current state of the project.

*/ inline void SetStatus(ProjectStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current state of the project.

*/ inline ProjectSummary& WithStatus(const ProjectStatus& value) { SetStatus(value); return *this;} /** *

The current state of the project.

*/ inline ProjectSummary& WithStatus(ProjectStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The list of tag keys and values associated with this project.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The list of tag keys and values associated with this project.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The list of tag keys and values associated with this project.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The list of tag keys and values associated with this project.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The list of tag keys and values associated with this project.

*/ inline ProjectSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: long long m_activeExperimentCount; bool m_activeExperimentCountHasBeenSet = false; long long m_activeLaunchCount; bool m_activeLaunchCountHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; long long m_experimentCount; bool m_experimentCountHasBeenSet = false; long long m_featureCount; bool m_featureCountHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; long long m_launchCount; bool m_launchCountHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ProjectStatus m_status; bool m_statusHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws