/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace QuickSight { namespace Model { /** */ class AWS_QUICKSIGHT_API CreateAccountCustomizationRequest : public QuickSightRequest { public: CreateAccountCustomizationRequest(); // 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 "CreateAccountCustomization"; } Aws::String SerializePayload() const override; void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID for the AWS account that you want to customize QuickSight for.

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

The ID for the AWS account that you want to customize QuickSight for.

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

The ID for the AWS account that you want to customize QuickSight for.

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

The ID for the AWS account that you want to customize QuickSight for.

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

The ID for the AWS account that you want to customize QuickSight for.

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

The ID for the AWS account that you want to customize QuickSight for.

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

The ID for the AWS account that you want to customize QuickSight for.

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

The ID for the AWS account that you want to customize QuickSight for.

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

The QuickSight namespace that you want to add customizations to.

*/ inline const Aws::String& GetNamespace() const{ return m_namespace; } /** *

The QuickSight namespace that you want to add customizations to.

*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *

The QuickSight namespace that you want to add customizations to.

*/ inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *

The QuickSight namespace that you want to add customizations to.

*/ inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *

The QuickSight namespace that you want to add customizations to.

*/ inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } /** *

The QuickSight namespace that you want to add customizations to.

*/ inline CreateAccountCustomizationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} /** *

The QuickSight namespace that you want to add customizations to.

*/ inline CreateAccountCustomizationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} /** *

The QuickSight namespace that you want to add customizations to.

*/ inline CreateAccountCustomizationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} /** *

The QuickSight customizations you're adding in the current AWS Region. You * can add these to an AWS account and a QuickSight namespace.

For example, * you could add a default theme by setting AccountCustomization to * the midnight theme: "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight::aws:theme/MIDNIGHT" }. . Or, you could add a custom * theme by specifying "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" * }.

*/ inline const AccountCustomization& GetAccountCustomization() const{ return m_accountCustomization; } /** *

The QuickSight customizations you're adding in the current AWS Region. You * can add these to an AWS account and a QuickSight namespace.

For example, * you could add a default theme by setting AccountCustomization to * the midnight theme: "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight::aws:theme/MIDNIGHT" }. . Or, you could add a custom * theme by specifying "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" * }.

*/ inline bool AccountCustomizationHasBeenSet() const { return m_accountCustomizationHasBeenSet; } /** *

The QuickSight customizations you're adding in the current AWS Region. You * can add these to an AWS account and a QuickSight namespace.

For example, * you could add a default theme by setting AccountCustomization to * the midnight theme: "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight::aws:theme/MIDNIGHT" }. . Or, you could add a custom * theme by specifying "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" * }.

*/ inline void SetAccountCustomization(const AccountCustomization& value) { m_accountCustomizationHasBeenSet = true; m_accountCustomization = value; } /** *

The QuickSight customizations you're adding in the current AWS Region. You * can add these to an AWS account and a QuickSight namespace.

For example, * you could add a default theme by setting AccountCustomization to * the midnight theme: "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight::aws:theme/MIDNIGHT" }. . Or, you could add a custom * theme by specifying "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" * }.

*/ inline void SetAccountCustomization(AccountCustomization&& value) { m_accountCustomizationHasBeenSet = true; m_accountCustomization = std::move(value); } /** *

The QuickSight customizations you're adding in the current AWS Region. You * can add these to an AWS account and a QuickSight namespace.

For example, * you could add a default theme by setting AccountCustomization to * the midnight theme: "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight::aws:theme/MIDNIGHT" }. . Or, you could add a custom * theme by specifying "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" * }.

*/ inline CreateAccountCustomizationRequest& WithAccountCustomization(const AccountCustomization& value) { SetAccountCustomization(value); return *this;} /** *

The QuickSight customizations you're adding in the current AWS Region. You * can add these to an AWS account and a QuickSight namespace.

For example, * you could add a default theme by setting AccountCustomization to * the midnight theme: "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight::aws:theme/MIDNIGHT" }. . Or, you could add a custom * theme by specifying "AccountCustomization": { "DefaultTheme": * "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" * }.

*/ inline CreateAccountCustomizationRequest& WithAccountCustomization(AccountCustomization&& value) { SetAccountCustomization(std::move(value)); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet; Aws::String m_namespace; bool m_namespaceHasBeenSet; AccountCustomization m_accountCustomization; bool m_accountCustomizationHasBeenSet; }; } // namespace Model } // namespace QuickSight } // namespace Aws