/* * 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 quicksight-2018-04-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.QuickSight.Model { /// /// Container for the parameters to the CreateAccountCustomization operation. /// Creates Amazon QuickSight customizations for the current Amazon Web Services Region. /// Currently, you can add a custom default theme by using the CreateAccountCustomization /// or UpdateAccountCustomization API operation. To further customize Amazon /// QuickSight by removing Amazon QuickSight sample assets and videos for all new users, /// see Customizing /// Amazon QuickSight in the Amazon QuickSight User Guide. /// /// /// /// You can create customizations for your Amazon Web Services account or, if you specify /// a namespace, for a QuickSight namespace instead. Customizations that apply to a namespace /// always override customizations that apply to an Amazon Web Services account. To find /// out which customizations apply, use the DescribeAccountCustomization /// API operation. /// /// /// /// Before you use the CreateAccountCustomization API operation to add a /// theme as the namespace default, make sure that you first share the theme with the /// namespace. If you don't share it with the namespace, the theme isn't visible to your /// users even if you make it the default theme. To check if the theme is shared, view /// the current permissions by using the DescribeThemePermissions /// API operation. To share the theme, grant permissions by using the UpdateThemePermissions /// API operation. /// /// public partial class CreateAccountCustomizationRequest : AmazonQuickSightRequest { private AccountCustomization _accountCustomization; private string _awsAccountId; private string _awsNamespace; private List _tags = new List(); /// /// Gets and sets the property AccountCustomization. /// /// The Amazon QuickSight customizations you're adding in the current Amazon Web Services /// Region. You can add these to an Amazon Web Services account and a QuickSight namespace. /// /// /// /// /// For example, you can add a default theme by setting AccountCustomization /// to the midnight theme: "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT" /// }. Or, you can add a custom theme by specifying "AccountCustomization": /// { "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" /// }. /// /// [AWSProperty(Required=true)] public AccountCustomization AccountCustomization { get { return this._accountCustomization; } set { this._accountCustomization = value; } } // Check to see if AccountCustomization property is set internal bool IsSetAccountCustomization() { return this._accountCustomization != null; } /// /// Gets and sets the property AwsAccountId. /// /// The ID for the Amazon Web Services account that you want to customize Amazon QuickSight /// for. /// /// [AWSProperty(Required=true, Min=12, Max=12)] public string AwsAccountId { get { return this._awsAccountId; } set { this._awsAccountId = value; } } // Check to see if AwsAccountId property is set internal bool IsSetAwsAccountId() { return this._awsAccountId != null; } /// /// Gets and sets the property Namespace. /// /// The Amazon QuickSight namespace that you want to add customizations to. /// /// [AWSProperty(Max=64)] public string Namespace { get { return this._awsNamespace; } set { this._awsNamespace = value; } } // Check to see if Namespace property is set internal bool IsSetNamespace() { return this._awsNamespace != null; } /// /// Gets and sets the property Tags. /// /// A list of the tags that you want to attach to this resource. /// /// [AWSProperty(Min=1, Max=200)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }