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

The ID for the Amazon Web Services account that you want to customize Amazon * QuickSight for.

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

The ID for the Amazon Web Services account that you want to customize Amazon * QuickSight for.

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

The ID for the Amazon Web Services account that you want to customize Amazon * QuickSight for.

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

The ID for the Amazon Web Services account that you want to customize Amazon * QuickSight for.

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

The ID for the Amazon Web Services account that you want to customize Amazon * QuickSight for.

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

The ID for the Amazon Web Services account that you want to customize Amazon * QuickSight for.

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

The ID for the Amazon Web Services account that you want to customize Amazon * QuickSight for.

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

The ID for the Amazon Web Services account that you want to customize Amazon * QuickSight for.

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

The Amazon QuickSight namespace that you want to add customizations to.

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

The Amazon QuickSight namespace that you want to add customizations to.

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

The Amazon QuickSight namespace that you want to add customizations to.

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

The Amazon QuickSight namespace that you want to add customizations to.

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

The Amazon QuickSight namespace that you want to add customizations to.

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

The Amazon QuickSight namespace that you want to add customizations to.

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

The Amazon QuickSight namespace that you want to add customizations to.

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

The Amazon QuickSight namespace that you want to add customizations to.

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

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" * }.

*/ inline const AccountCustomization& GetAccountCustomization() const{ return m_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" * }.

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

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" * }.

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

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" * }.

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

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" * }.

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

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" * }.

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

A list of the tags that you want to attach to this resource.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of the tags that you want to attach to this resource.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of the tags that you want to attach to this resource.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of the tags that you want to attach to this resource.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of the tags that you want to attach to this resource.

*/ inline CreateAccountCustomizationRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of the tags that you want to attach to this resource.

*/ inline CreateAccountCustomizationRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of the tags that you want to attach to this resource.

*/ inline CreateAccountCustomizationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A list of the tags that you want to attach to this resource.

*/ inline CreateAccountCustomizationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_namespace; bool m_namespaceHasBeenSet = false; AccountCustomization m_accountCustomization; bool m_accountCustomizationHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws