/** * 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 namespace Aws { namespace CloudWatchEvidently { namespace Model { /** */ class CreateProjectRequest : public CloudWatchEvidentlyRequest { public: AWS_CLOUDWATCHEVIDENTLY_API CreateProjectRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateProject"; } AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override; /** *

Use this parameter if the project will use client-side evaluation powered * by AppConfig. Client-side evaluation allows your application to assign * variations to user sessions locally instead of by calling the EvaluateFeature * operation. This mitigates the latency and availability risks that come with an * API call. For more information, see * Client-side evaluation - powered by AppConfig.

This parameter is a * structure that contains information about the AppConfig application and * environment that will be used as for client-side evaluation.

To create a * project that uses client-side evaluation, you must have the * evidently:ExportProjectAsConfiguration permission.

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

Use this parameter if the project will use client-side evaluation powered * by AppConfig. Client-side evaluation allows your application to assign * variations to user sessions locally instead of by calling the EvaluateFeature * operation. This mitigates the latency and availability risks that come with an * API call. For more information, see * Client-side evaluation - powered by AppConfig.

This parameter is a * structure that contains information about the AppConfig application and * environment that will be used as for client-side evaluation.

To create a * project that uses client-side evaluation, you must have the * evidently:ExportProjectAsConfiguration permission.

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

Use this parameter if the project will use client-side evaluation powered * by AppConfig. Client-side evaluation allows your application to assign * variations to user sessions locally instead of by calling the EvaluateFeature * operation. This mitigates the latency and availability risks that come with an * API call. For more information, see * Client-side evaluation - powered by AppConfig.

This parameter is a * structure that contains information about the AppConfig application and * environment that will be used as for client-side evaluation.

To create a * project that uses client-side evaluation, you must have the * evidently:ExportProjectAsConfiguration permission.

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

Use this parameter if the project will use client-side evaluation powered * by AppConfig. Client-side evaluation allows your application to assign * variations to user sessions locally instead of by calling the EvaluateFeature * operation. This mitigates the latency and availability risks that come with an * API call. For more information, see * Client-side evaluation - powered by AppConfig.

This parameter is a * structure that contains information about the AppConfig application and * environment that will be used as for client-side evaluation.

To create a * project that uses client-side evaluation, you must have the * evidently:ExportProjectAsConfiguration permission.

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

Use this parameter if the project will use client-side evaluation powered * by AppConfig. Client-side evaluation allows your application to assign * variations to user sessions locally instead of by calling the EvaluateFeature * operation. This mitigates the latency and availability risks that come with an * API call. For more information, see * Client-side evaluation - powered by AppConfig.

This parameter is a * structure that contains information about the AppConfig application and * environment that will be used as for client-side evaluation.

To create a * project that uses client-side evaluation, you must have the * evidently:ExportProjectAsConfiguration permission.

*/ inline CreateProjectRequest& WithAppConfigResource(const ProjectAppConfigResourceConfig& value) { SetAppConfigResource(value); return *this;} /** *

Use this parameter if the project will use client-side evaluation powered * by AppConfig. Client-side evaluation allows your application to assign * variations to user sessions locally instead of by calling the EvaluateFeature * operation. This mitigates the latency and availability risks that come with an * API call. For more information, see * Client-side evaluation - powered by AppConfig.

This parameter is a * structure that contains information about the AppConfig application and * environment that will be used as for client-side evaluation.

To create a * project that uses client-side evaluation, you must have the * evidently:ExportProjectAsConfiguration permission.

*/ inline CreateProjectRequest& WithAppConfigResource(ProjectAppConfigResourceConfig&& value) { SetAppConfigResource(std::move(value)); return *this;} /** *

A structure that contains information about where Evidently is to store * evaluation events for longer term storage, if you choose to do so. If you choose * not to store these events, Evidently deletes them after using them to produce * metrics and other experiment results that you can view.

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

A structure that contains information about where Evidently is to store * evaluation events for longer term storage, if you choose to do so. If you choose * not to store these events, Evidently deletes them after using them to produce * metrics and other experiment results that you can view.

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

A structure that contains information about where Evidently is to store * evaluation events for longer term storage, if you choose to do so. If you choose * not to store these events, Evidently deletes them after using them to produce * metrics and other experiment results that you can view.

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

A structure that contains information about where Evidently is to store * evaluation events for longer term storage, if you choose to do so. If you choose * not to store these events, Evidently deletes them after using them to produce * metrics and other experiment results that you can view.

*/ inline void SetDataDelivery(ProjectDataDeliveryConfig&& 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, if you choose to do so. If you choose * not to store these events, Evidently deletes them after using them to produce * metrics and other experiment results that you can view.

*/ inline CreateProjectRequest& WithDataDelivery(const ProjectDataDeliveryConfig& value) { SetDataDelivery(value); return *this;} /** *

A structure that contains information about where Evidently is to store * evaluation events for longer term storage, if you choose to do so. If you choose * not to store these events, Evidently deletes them after using them to produce * metrics and other experiment results that you can view.

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

An optional description of the project.

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

An optional description of the project.

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

An optional description of the project.

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

An optional description of the project.

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

An optional description of the project.

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

An optional description of the project.

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

An optional description of the project.

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

An optional description of the project.

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

The name for the project.

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

The name for the project.

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

The name for the project.

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

The name for the project.

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

The name for the project.

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

The name for the project.

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

The name for the project.

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

The name for the project.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

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

Assigns one or more tags (key-value pairs) to the project.

Tags can * help you organize and categorize your resources. You can also use them to scope * user permissions by granting a user permission to access or change only * resources with certain tag values.

Tags don't have any semantic meaning * to Amazon Web Services and are interpreted strictly as strings of * characters.

You can associate as many as 50 tags with a project.

*

For more information, see Tagging * Amazon Web Services resources.

*/ inline CreateProjectRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: ProjectAppConfigResourceConfig m_appConfigResource; bool m_appConfigResourceHasBeenSet = false; ProjectDataDeliveryConfig m_dataDelivery; bool m_dataDeliveryHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws