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

This structure defines a project, which is the logical object in Evidently * that can contain features, launches, and experiments. Use projects to group * similar features together.

See Also:

AWS * API Reference

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

The number of ongoing experiments currently in the project.

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

The number of ongoing experiments currently in the project.

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

The number of ongoing experiments currently in the project.

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

The number of ongoing experiments currently in the project.

*/ inline Project& 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 Project& WithActiveLaunchCount(long long value) { SetActiveLaunchCount(value); return *this;} /** *

This structure defines the configuration of how your application integrates * with AppConfig to run client-side evaluation.

*/ inline const ProjectAppConfigResource& GetAppConfigResource() const{ return m_appConfigResource; } /** *

This structure defines the configuration of how your application integrates * with AppConfig to run client-side evaluation.

*/ inline bool AppConfigResourceHasBeenSet() const { return m_appConfigResourceHasBeenSet; } /** *

This structure defines the configuration of how your application integrates * with AppConfig to run client-side evaluation.

*/ inline void SetAppConfigResource(const ProjectAppConfigResource& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = value; } /** *

This structure defines the configuration of how your application integrates * with AppConfig to run client-side evaluation.

*/ inline void SetAppConfigResource(ProjectAppConfigResource&& value) { m_appConfigResourceHasBeenSet = true; m_appConfigResource = std::move(value); } /** *

This structure defines the configuration of how your application integrates * with AppConfig to run client-side evaluation.

*/ inline Project& WithAppConfigResource(const ProjectAppConfigResource& value) { SetAppConfigResource(value); return *this;} /** *

This structure defines the configuration of how your application integrates * with AppConfig to run client-side evaluation.

*/ inline Project& WithAppConfigResource(ProjectAppConfigResource&& value) { SetAppConfigResource(std::move(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 Project& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The name or ARN of the project.

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

The name or ARN of the project.

*/ inline Project& 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 Project& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The date and time that the project is created.

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

A structure that contains information about where Evidently is to store * evaluation events for longer term storage.

*/ inline const ProjectDataDelivery& GetDataDelivery() const{ return m_dataDelivery; } /** *

A structure that contains information about where Evidently is to store * evaluation events for longer term storage.

*/ inline bool DataDeliveryHasBeenSet() const { return m_dataDeliveryHasBeenSet; } /** *

A structure that contains information about where Evidently is to store * evaluation events for longer term storage.

*/ inline void SetDataDelivery(const ProjectDataDelivery& value) { m_dataDeliveryHasBeenSet = true; m_dataDelivery = value; } /** *

A structure that contains information about where Evidently is to store * evaluation events for longer term storage.

*/ inline void SetDataDelivery(ProjectDataDelivery&& value) { m_dataDeliveryHasBeenSet = true; m_dataDelivery = std::move(value); } /** *

A structure that contains information about where Evidently is to store * evaluation events for longer term storage.

*/ inline Project& WithDataDelivery(const ProjectDataDelivery& value) { SetDataDelivery(value); return *this;} /** *

A structure that contains information about where Evidently is to store * evaluation events for longer term storage.

*/ inline Project& WithDataDelivery(ProjectDataDelivery&& value) { SetDataDelivery(std::move(value)); return *this;} /** *

The user-entered description of the project.

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

The user-entered description of the project.

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

The user-entered description of the project.

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

The user-entered description of the project.

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

The user-entered description of the project.

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

The user-entered description of the project.

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

The user-entered description of the project.

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

The user-entered description of the project.

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

The number of experiments currently in the project. This includes all * experiments that have been created and not deleted, whether they are ongoing or * not.

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

The number of experiments currently in the project. This includes all * experiments that have been created and not deleted, whether they are ongoing or * not.

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

The number of experiments currently in the project. This includes all * experiments that have been created and not deleted, whether they are ongoing or * not.

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

The number of experiments currently in the project. This includes all * experiments that have been created and not deleted, whether they are ongoing or * not.

*/ inline Project& 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 Project& 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 Project& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

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

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

The number of launches currently in the project. This includes all launches * that have been created and not deleted, whether they are ongoing or not.

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

The number of launches currently in the project. This includes all launches * that have been created and not deleted, whether they are ongoing or not.

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

The number of launches currently in the project. This includes all launches * that have been created and not deleted, whether they are ongoing or not.

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

The number of launches currently in the project. This includes all launches * that have been created and not deleted, whether they are ongoing or not.

*/ inline Project& 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 Project& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the project.

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

The name of the project.

*/ inline Project& 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 Project& WithStatus(const ProjectStatus& value) { SetStatus(value); return *this;} /** *

The current state of the project.

*/ inline Project& 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 Project& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

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

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

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

*/ inline Project& 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 Project& 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 Project& 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 Project& 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 Project& 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 Project& 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 Project& 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; ProjectAppConfigResource m_appConfigResource; bool m_appConfigResourceHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; ProjectDataDelivery m_dataDelivery; bool m_dataDeliveryHasBeenSet = 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