/*
* 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 connectcases-2022-10-03.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.ConnectCases.Model
{
///
/// Container for the parameters to the UpdateLayout operation.
/// Updates the attributes of an existing layout.
///
///
///
/// If the action is successful, the service sends back an HTTP 200 response with an empty
/// HTTP body.
///
///
///
/// A ValidationException
is returned when you add non-existent fieldIds
/// to a layout.
///
///
///
/// Title and Status fields cannot be part of layouts because they are not configurable.
///
///
///
public partial class UpdateLayoutRequest : AmazonConnectCasesRequest
{
private LayoutContent _content;
private string _domainId;
private string _layoutId;
private string _name;
///
/// Gets and sets the property Content.
///
/// Information about which fields will be present in the layout, the order of the fields,
/// and a read-only attribute of the field.
///
///
public LayoutContent Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
///
/// Gets and sets the property DomainId.
///
/// The unique identifier of the Cases domain.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string DomainId
{
get { return this._domainId; }
set { this._domainId = value; }
}
// Check to see if DomainId property is set
internal bool IsSetDomainId()
{
return this._domainId != null;
}
///
/// Gets and sets the property LayoutId.
///
/// The unique identifier of the layout.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string LayoutId
{
get { return this._layoutId; }
set { this._layoutId = value; }
}
// Check to see if LayoutId property is set
internal bool IsSetLayoutId()
{
return this._layoutId != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the layout. It must be unique per domain.
///
///
[AWSProperty(Min=1, Max=100)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
}