/** * 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 QuickSight { namespace Model { /** */ class CreateNamespaceRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API CreateNamespaceRequest(); // 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 "CreateNamespace"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The ID for the Amazon Web Services account that you want to create the Amazon * QuickSight namespace in.

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

The ID for the Amazon Web Services account that you want to create the Amazon * QuickSight namespace in.

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

The ID for the Amazon Web Services account that you want to create the Amazon * QuickSight namespace in.

*/ 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 create the Amazon * QuickSight namespace in.

*/ 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 create the Amazon * QuickSight namespace in.

*/ 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 create the Amazon * QuickSight namespace in.

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

The ID for the Amazon Web Services account that you want to create the Amazon * QuickSight namespace in.

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

The ID for the Amazon Web Services account that you want to create the Amazon * QuickSight namespace in.

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

The name that you want to use to describe the new namespace.

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

The name that you want to use to describe the new namespace.

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

The name that you want to use to describe the new namespace.

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

The name that you want to use to describe the new namespace.

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

The name that you want to use to describe the new namespace.

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

The name that you want to use to describe the new namespace.

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

The name that you want to use to describe the new namespace.

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

The name that you want to use to describe the new namespace.

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

Specifies the type of your user identity directory. Currently, this supports * users with an identity type of QUICKSIGHT.

*/ inline const IdentityStore& GetIdentityStore() const{ return m_identityStore; } /** *

Specifies the type of your user identity directory. Currently, this supports * users with an identity type of QUICKSIGHT.

*/ inline bool IdentityStoreHasBeenSet() const { return m_identityStoreHasBeenSet; } /** *

Specifies the type of your user identity directory. Currently, this supports * users with an identity type of QUICKSIGHT.

*/ inline void SetIdentityStore(const IdentityStore& value) { m_identityStoreHasBeenSet = true; m_identityStore = value; } /** *

Specifies the type of your user identity directory. Currently, this supports * users with an identity type of QUICKSIGHT.

*/ inline void SetIdentityStore(IdentityStore&& value) { m_identityStoreHasBeenSet = true; m_identityStore = std::move(value); } /** *

Specifies the type of your user identity directory. Currently, this supports * users with an identity type of QUICKSIGHT.

*/ inline CreateNamespaceRequest& WithIdentityStore(const IdentityStore& value) { SetIdentityStore(value); return *this;} /** *

Specifies the type of your user identity directory. Currently, this supports * users with an identity type of QUICKSIGHT.

*/ inline CreateNamespaceRequest& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;} /** *

The tags that you want to associate with the namespace that you're * creating.

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

The tags that you want to associate with the namespace that you're * creating.

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

The tags that you want to associate with the namespace that you're * creating.

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

The tags that you want to associate with the namespace that you're * creating.

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

The tags that you want to associate with the namespace that you're * creating.

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

The tags that you want to associate with the namespace that you're * creating.

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

The tags that you want to associate with the namespace that you're * creating.

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

The tags that you want to associate with the namespace that you're * creating.

*/ inline CreateNamespaceRequest& 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; IdentityStore m_identityStore; bool m_identityStoreHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws