/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class CreateNamespaceResult { public: AWS_QUICKSIGHT_API CreateNamespaceResult(); AWS_QUICKSIGHT_API CreateNamespaceResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API CreateNamespaceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the Amazon QuickSight namespace you created.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the Amazon QuickSight namespace you created.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The ARN of the Amazon QuickSight namespace you created.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The ARN of the Amazon QuickSight namespace you created.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the Amazon QuickSight namespace you created.

*/ inline CreateNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the Amazon QuickSight namespace you created.

*/ inline CreateNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the Amazon QuickSight namespace you created.

*/ inline CreateNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the new namespace that you created.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the new namespace that you created.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the new namespace that you created.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the new namespace that you created.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the new namespace that you created.

*/ inline CreateNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the new namespace that you created.

*/ inline CreateNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the new namespace that you created.

*/ inline CreateNamespaceResult& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon Web Services Region; that you want to use for the free SPICE * capacity for the new namespace. This is set to the region that you run * CreateNamespace in.

*/ inline const Aws::String& GetCapacityRegion() const{ return m_capacityRegion; } /** *

The Amazon Web Services Region; that you want to use for the free SPICE * capacity for the new namespace. This is set to the region that you run * CreateNamespace in.

*/ inline void SetCapacityRegion(const Aws::String& value) { m_capacityRegion = value; } /** *

The Amazon Web Services Region; that you want to use for the free SPICE * capacity for the new namespace. This is set to the region that you run * CreateNamespace in.

*/ inline void SetCapacityRegion(Aws::String&& value) { m_capacityRegion = std::move(value); } /** *

The Amazon Web Services Region; that you want to use for the free SPICE * capacity for the new namespace. This is set to the region that you run * CreateNamespace in.

*/ inline void SetCapacityRegion(const char* value) { m_capacityRegion.assign(value); } /** *

The Amazon Web Services Region; that you want to use for the free SPICE * capacity for the new namespace. This is set to the region that you run * CreateNamespace in.

*/ inline CreateNamespaceResult& WithCapacityRegion(const Aws::String& value) { SetCapacityRegion(value); return *this;} /** *

The Amazon Web Services Region; that you want to use for the free SPICE * capacity for the new namespace. This is set to the region that you run * CreateNamespace in.

*/ inline CreateNamespaceResult& WithCapacityRegion(Aws::String&& value) { SetCapacityRegion(std::move(value)); return *this;} /** *

The Amazon Web Services Region; that you want to use for the free SPICE * capacity for the new namespace. This is set to the region that you run * CreateNamespace in.

*/ inline CreateNamespaceResult& WithCapacityRegion(const char* value) { SetCapacityRegion(value); return *this;} /** *

The status of the creation of the namespace. This is an asynchronous process. * A status of CREATED means that your namespace is ready to use. If * an error occurs, it indicates if the process is retryable or * non-retryable. In the case of a non-retryable error, refer to the * error message for follow-up tasks.

*/ inline const NamespaceStatus& GetCreationStatus() const{ return m_creationStatus; } /** *

The status of the creation of the namespace. This is an asynchronous process. * A status of CREATED means that your namespace is ready to use. If * an error occurs, it indicates if the process is retryable or * non-retryable. In the case of a non-retryable error, refer to the * error message for follow-up tasks.

*/ inline void SetCreationStatus(const NamespaceStatus& value) { m_creationStatus = value; } /** *

The status of the creation of the namespace. This is an asynchronous process. * A status of CREATED means that your namespace is ready to use. If * an error occurs, it indicates if the process is retryable or * non-retryable. In the case of a non-retryable error, refer to the * error message for follow-up tasks.

*/ inline void SetCreationStatus(NamespaceStatus&& value) { m_creationStatus = std::move(value); } /** *

The status of the creation of the namespace. This is an asynchronous process. * A status of CREATED means that your namespace is ready to use. If * an error occurs, it indicates if the process is retryable or * non-retryable. In the case of a non-retryable error, refer to the * error message for follow-up tasks.

*/ inline CreateNamespaceResult& WithCreationStatus(const NamespaceStatus& value) { SetCreationStatus(value); return *this;} /** *

The status of the creation of the namespace. This is an asynchronous process. * A status of CREATED means that your namespace is ready to use. If * an error occurs, it indicates if the process is retryable or * non-retryable. In the case of a non-retryable error, refer to the * error message for follow-up tasks.

*/ inline CreateNamespaceResult& WithCreationStatus(NamespaceStatus&& value) { SetCreationStatus(std::move(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 void SetIdentityStore(const IdentityStore& value) { 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_identityStore = std::move(value); } /** *

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

*/ inline CreateNamespaceResult& 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 CreateNamespaceResult& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline CreateNamespaceResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::String m_arn; Aws::String m_name; Aws::String m_capacityRegion; NamespaceStatus m_creationStatus; IdentityStore m_identityStore; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws