/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace QuickSight { namespace Model { /** */ class UpdateAccountSettingsRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API UpdateAccountSettingsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSettings"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The ID for the Amazon Web Services account that contains the Amazon * QuickSight settings that you want to list.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The ID for the Amazon Web Services account that contains the Amazon * QuickSight settings that you want to list.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The ID for the Amazon Web Services account that contains the Amazon * QuickSight settings that you want to list.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The ID for the Amazon Web Services account that contains the Amazon * QuickSight settings that you want to list.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The ID for the Amazon Web Services account that contains the Amazon * QuickSight settings that you want to list.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The ID for the Amazon Web Services account that contains the Amazon * QuickSight settings that you want to list.

*/ inline UpdateAccountSettingsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The ID for the Amazon Web Services account that contains the Amazon * QuickSight settings that you want to list.

*/ inline UpdateAccountSettingsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The ID for the Amazon Web Services account that contains the Amazon * QuickSight settings that you want to list.

*/ inline UpdateAccountSettingsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The default namespace for this Amazon Web Services account. Currently, the * default is default. IAM users that register for the first time with * Amazon QuickSight provide an email address that becomes associated with the * default namespace.

*/ inline const Aws::String& GetDefaultNamespace() const{ return m_defaultNamespace; } /** *

The default namespace for this Amazon Web Services account. Currently, the * default is default. IAM users that register for the first time with * Amazon QuickSight provide an email address that becomes associated with the * default namespace.

*/ inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; } /** *

The default namespace for this Amazon Web Services account. Currently, the * default is default. IAM users that register for the first time with * Amazon QuickSight provide an email address that becomes associated with the * default namespace.

*/ inline void SetDefaultNamespace(const Aws::String& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = value; } /** *

The default namespace for this Amazon Web Services account. Currently, the * default is default. IAM users that register for the first time with * Amazon QuickSight provide an email address that becomes associated with the * default namespace.

*/ inline void SetDefaultNamespace(Aws::String&& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = std::move(value); } /** *

The default namespace for this Amazon Web Services account. Currently, the * default is default. IAM users that register for the first time with * Amazon QuickSight provide an email address that becomes associated with the * default namespace.

*/ inline void SetDefaultNamespace(const char* value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace.assign(value); } /** *

The default namespace for this Amazon Web Services account. Currently, the * default is default. IAM users that register for the first time with * Amazon QuickSight provide an email address that becomes associated with the * default namespace.

*/ inline UpdateAccountSettingsRequest& WithDefaultNamespace(const Aws::String& value) { SetDefaultNamespace(value); return *this;} /** *

The default namespace for this Amazon Web Services account. Currently, the * default is default. IAM users that register for the first time with * Amazon QuickSight provide an email address that becomes associated with the * default namespace.

*/ inline UpdateAccountSettingsRequest& WithDefaultNamespace(Aws::String&& value) { SetDefaultNamespace(std::move(value)); return *this;} /** *

The default namespace for this Amazon Web Services account. Currently, the * default is default. IAM users that register for the first time with * Amazon QuickSight provide an email address that becomes associated with the * default namespace.

*/ inline UpdateAccountSettingsRequest& WithDefaultNamespace(const char* value) { SetDefaultNamespace(value); return *this;} /** *

The email address that you want Amazon QuickSight to send notifications to * regarding your Amazon Web Services account or Amazon QuickSight * subscription.

*/ inline const Aws::String& GetNotificationEmail() const{ return m_notificationEmail; } /** *

The email address that you want Amazon QuickSight to send notifications to * regarding your Amazon Web Services account or Amazon QuickSight * subscription.

*/ inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; } /** *

The email address that you want Amazon QuickSight to send notifications to * regarding your Amazon Web Services account or Amazon QuickSight * subscription.

*/ inline void SetNotificationEmail(const Aws::String& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = value; } /** *

The email address that you want Amazon QuickSight to send notifications to * regarding your Amazon Web Services account or Amazon QuickSight * subscription.

*/ inline void SetNotificationEmail(Aws::String&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::move(value); } /** *

The email address that you want Amazon QuickSight to send notifications to * regarding your Amazon Web Services account or Amazon QuickSight * subscription.

*/ inline void SetNotificationEmail(const char* value) { m_notificationEmailHasBeenSet = true; m_notificationEmail.assign(value); } /** *

The email address that you want Amazon QuickSight to send notifications to * regarding your Amazon Web Services account or Amazon QuickSight * subscription.

*/ inline UpdateAccountSettingsRequest& WithNotificationEmail(const Aws::String& value) { SetNotificationEmail(value); return *this;} /** *

The email address that you want Amazon QuickSight to send notifications to * regarding your Amazon Web Services account or Amazon QuickSight * subscription.

*/ inline UpdateAccountSettingsRequest& WithNotificationEmail(Aws::String&& value) { SetNotificationEmail(std::move(value)); return *this;} /** *

The email address that you want Amazon QuickSight to send notifications to * regarding your Amazon Web Services account or Amazon QuickSight * subscription.

*/ inline UpdateAccountSettingsRequest& WithNotificationEmail(const char* value) { SetNotificationEmail(value); return *this;} /** *

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 * DeleteAccountSubscription request. A False value will * allow the account to be deleted.

*/ inline bool GetTerminationProtectionEnabled() const{ return m_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 * DeleteAccountSubscription request. A False value will * allow the account to be deleted.

*/ inline bool TerminationProtectionEnabledHasBeenSet() const { return m_terminationProtectionEnabledHasBeenSet; } /** *

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 * DeleteAccountSubscription request. A False value will * allow the account to be deleted.

*/ inline void SetTerminationProtectionEnabled(bool value) { m_terminationProtectionEnabledHasBeenSet = true; m_terminationProtectionEnabled = value; } /** *

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 * DeleteAccountSubscription request. A False value will * allow the account to be deleted.

*/ inline UpdateAccountSettingsRequest& WithTerminationProtectionEnabled(bool value) { SetTerminationProtectionEnabled(value); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_defaultNamespace; bool m_defaultNamespaceHasBeenSet = false; Aws::String m_notificationEmail; bool m_notificationEmailHasBeenSet = false; bool m_terminationProtectionEnabled; bool m_terminationProtectionEnabledHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws