/*
* 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 grafana-2020-08-18.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.ManagedGrafana.Model
{
///
/// Container for the parameters to the UpdateWorkspaceConfiguration operation.
/// Updates the configuration string for the given workspace
///
public partial class UpdateWorkspaceConfigurationRequest : AmazonManagedGrafanaRequest
{
private string _configuration;
private string _grafanaVersion;
private string _workspaceId;
///
/// Gets and sets the property Configuration.
///
/// The new configuration string for the workspace. For more information about the format
/// and configuration options available, see Working
/// in your Grafana workspace.
///
///
[AWSProperty(Required=true, Min=2, Max=65536)]
public string Configuration
{
get { return this._configuration; }
set { this._configuration = value; }
}
// Check to see if Configuration property is set
internal bool IsSetConfiguration()
{
return this._configuration != null;
}
///
/// Gets and sets the property GrafanaVersion.
///
/// Specifies the version of Grafana to support in the new workspace.
///
///
///
/// Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example,
/// from 9.4 to 8.4).
///
///
///
/// To know what versions are available to upgrade to for a specific workspace, see the
/// ListVersions
operation.
///
///
[AWSProperty(Min=1, Max=255)]
public string GrafanaVersion
{
get { return this._grafanaVersion; }
set { this._grafanaVersion = value; }
}
// Check to see if GrafanaVersion property is set
internal bool IsSetGrafanaVersion()
{
return this._grafanaVersion != null;
}
///
/// Gets and sets the property WorkspaceId.
///
/// The ID of the workspace to update.
///
///
[AWSProperty(Required=true)]
public string WorkspaceId
{
get { return this._workspaceId; }
set { this._workspaceId = value; }
}
// Check to see if WorkspaceId property is set
internal bool IsSetWorkspaceId()
{
return this._workspaceId != null;
}
}
}