/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchEvidently.Model
{
///
/// Container for the parameters to the UpdateProject operation.
/// Updates the description of an existing project.
///
///
///
/// To create a new project, use CreateProject.
///
///
///
/// Don't use this operation to update the data storage options of a project. Instead,
/// use UpdateProjectDataDelivery.
///
///
///
///
/// Don't use this operation to update the tags of a project. Instead, use TagResource.
///
///
///
public partial class UpdateProjectRequest : AmazonCloudWatchEvidentlyRequest
{
private ProjectAppConfigResourceConfig _appConfigResource;
private string _description;
private string _project;
///
/// Gets and sets the property 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. allows you to
///
///
///
/// This parameter is a structure that contains information about the AppConfig application
/// that will be used for client-side evaluation.
///
///
public ProjectAppConfigResourceConfig AppConfigResource
{
get { return this._appConfigResource; }
set { this._appConfigResource = value; }
}
// Check to see if AppConfigResource property is set
internal bool IsSetAppConfigResource()
{
return this._appConfigResource != null;
}
///
/// Gets and sets the property Description.
///
/// An optional description of the project.
///
///
[AWSProperty(Min=0, Max=160)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Project.
///
/// The name or ARN of the project to update.
///
///
[AWSProperty(Required=true, Min=0, Max=2048)]
public string Project
{
get { return this._project; }
set { this._project = value; }
}
// Check to see if Project property is set
internal bool IsSetProject()
{
return this._project != null;
}
}
}