/*
* 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
{
///
/// The Amazon QuickSight settings associated with your Amazon Web Services account.
///
public partial class AccountSettings
{
private string _accountName;
private string _defaultNamespace;
private Edition _edition;
private string _notificationEmail;
private bool? _publicSharingEnabled;
private bool? _terminationProtectionEnabled;
///
/// Gets and sets the property AccountName.
///
/// The "account name" you provided for the Amazon QuickSight subscription in your Amazon
/// Web Services account. You create this name when you sign up for Amazon QuickSight.
/// It is unique in all of Amazon Web Services and it appears only when users sign in.
///
///
public string AccountName
{
get { return this._accountName; }
set { this._accountName = value; }
}
// Check to see if AccountName property is set
internal bool IsSetAccountName()
{
return this._accountName != null;
}
///
/// Gets and sets the property DefaultNamespace.
///
/// The default Amazon QuickSight namespace for your Amazon Web Services account.
///
///
[AWSProperty(Max=64)]
public string DefaultNamespace
{
get { return this._defaultNamespace; }
set { this._defaultNamespace = value; }
}
// Check to see if DefaultNamespace property is set
internal bool IsSetDefaultNamespace()
{
return this._defaultNamespace != null;
}
///
/// Gets and sets the property Edition.
///
/// The edition of Amazon QuickSight that you're currently subscribed to: Enterprise edition
/// or Standard edition.
///
///
public Edition Edition
{
get { return this._edition; }
set { this._edition = value; }
}
// Check to see if Edition property is set
internal bool IsSetEdition()
{
return this._edition != null;
}
///
/// Gets and sets the property NotificationEmail.
///
/// The main notification email for your Amazon QuickSight subscription.
///
///
public string NotificationEmail
{
get { return this._notificationEmail; }
set { this._notificationEmail = value; }
}
// Check to see if NotificationEmail property is set
internal bool IsSetNotificationEmail()
{
return this._notificationEmail != null;
}
///
/// Gets and sets the property PublicSharingEnabled.
///
/// A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight
/// account. For more information about turning on public sharing, see UpdatePublicSharingSettings.
///
///
public bool PublicSharingEnabled
{
get { return this._publicSharingEnabled.GetValueOrDefault(); }
set { this._publicSharingEnabled = value; }
}
// Check to see if PublicSharingEnabled property is set
internal bool IsSetPublicSharingEnabled()
{
return this._publicSharingEnabled.HasValue;
}
///
/// Gets and sets the property TerminationProtectionEnabled.
///
/// A boolean value that determines whether or not an Amazon QuickSight account can be
/// deleted. A True
value doesn't allow the account to be deleted and results
/// in an error message if a user tries to make a DeleteAccountSubsctiption
/// request. A False
value will allow the ccount to be deleted.
///
///
public bool TerminationProtectionEnabled
{
get { return this._terminationProtectionEnabled.GetValueOrDefault(); }
set { this._terminationProtectionEnabled = value; }
}
// Check to see if TerminationProtectionEnabled property is set
internal bool IsSetTerminationProtectionEnabled()
{
return this._terminationProtectionEnabled.HasValue;
}
}
}