/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The error type.

See Also:

AWS * API Reference

*/ class NamespaceInfoV2 { public: AWS_QUICKSIGHT_API NamespaceInfoV2(); AWS_QUICKSIGHT_API NamespaceInfoV2(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API NamespaceInfoV2& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the error.

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

The name of the error.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the error.

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

The name of the error.

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

The name of the error.

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

The name of the error.

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

The name of the error.

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

The name of the error.

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

The namespace ARN.

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

The namespace ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The namespace ARN.

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

The namespace ARN.

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

The namespace ARN.

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

The namespace ARN.

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

The namespace ARN.

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

The namespace ARN.

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

The namespace Amazon Web Services Region.

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

The namespace Amazon Web Services Region.

*/ inline bool CapacityRegionHasBeenSet() const { return m_capacityRegionHasBeenSet; } /** *

The namespace Amazon Web Services Region.

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

The namespace Amazon Web Services Region.

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

The namespace Amazon Web Services Region.

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

The namespace Amazon Web Services Region.

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

The namespace Amazon Web Services Region.

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

The namespace Amazon Web Services Region.

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

The creation status of a namespace that is not yet completely created.

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

The creation status of a namespace that is not yet completely created.

*/ inline bool CreationStatusHasBeenSet() const { return m_creationStatusHasBeenSet; } /** *

The creation status of a namespace that is not yet completely created.

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

The creation status of a namespace that is not yet completely created.

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

The creation status of a namespace that is not yet completely created.

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

The creation status of a namespace that is not yet completely created.

*/ inline NamespaceInfoV2& WithCreationStatus(NamespaceStatus&& value) { SetCreationStatus(std::move(value)); return *this;} /** *

The identity store used for the namespace.

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

The identity store used for the namespace.

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

The identity store used for the namespace.

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

The identity store used for the namespace.

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

The identity store used for the namespace.

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

The identity store used for the namespace.

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

An error that occurred when the namespace was created.

*/ inline const NamespaceError& GetNamespaceError() const{ return m_namespaceError; } /** *

An error that occurred when the namespace was created.

*/ inline bool NamespaceErrorHasBeenSet() const { return m_namespaceErrorHasBeenSet; } /** *

An error that occurred when the namespace was created.

*/ inline void SetNamespaceError(const NamespaceError& value) { m_namespaceErrorHasBeenSet = true; m_namespaceError = value; } /** *

An error that occurred when the namespace was created.

*/ inline void SetNamespaceError(NamespaceError&& value) { m_namespaceErrorHasBeenSet = true; m_namespaceError = std::move(value); } /** *

An error that occurred when the namespace was created.

*/ inline NamespaceInfoV2& WithNamespaceError(const NamespaceError& value) { SetNamespaceError(value); return *this;} /** *

An error that occurred when the namespace was created.

*/ inline NamespaceInfoV2& WithNamespaceError(NamespaceError&& value) { SetNamespaceError(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_capacityRegion; bool m_capacityRegionHasBeenSet = false; NamespaceStatus m_creationStatus; bool m_creationStatusHasBeenSet = false; IdentityStore m_identityStore; bool m_identityStoreHasBeenSet = false; NamespaceError m_namespaceError; bool m_namespaceErrorHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws