This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CreateNamespaceResult.h

300 lines
11 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/quicksight/model/NamespaceStatus.h>
#include <aws/quicksight/model/IdentityStore.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{
class AWS_QUICKSIGHT_API CreateNamespaceResult
{
public:
CreateNamespaceResult();
CreateNamespaceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateNamespaceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the QuickSight namespace you created. </p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN of the QuickSight namespace you created. </p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The ARN of the QuickSight namespace you created. </p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The ARN of the QuickSight namespace you created. </p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The ARN of the QuickSight namespace you created. </p>
*/
inline CreateNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN of the QuickSight namespace you created. </p>
*/
inline CreateNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN of the QuickSight namespace you created. </p>
*/
inline CreateNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the new namespace that you created.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the new namespace that you created.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the new namespace that you created.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the new namespace that you created.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the new namespace that you created.</p>
*/
inline CreateNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the new namespace that you created.</p>
*/
inline CreateNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the new namespace that you created.</p>
*/
inline CreateNamespaceResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The AWS 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. </p>
*/
inline const Aws::String& GetCapacityRegion() const{ return m_capacityRegion; }
/**
* <p>The AWS 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. </p>
*/
inline void SetCapacityRegion(const Aws::String& value) { m_capacityRegion = value; }
/**
* <p>The AWS 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. </p>
*/
inline void SetCapacityRegion(Aws::String&& value) { m_capacityRegion = std::move(value); }
/**
* <p>The AWS 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. </p>
*/
inline void SetCapacityRegion(const char* value) { m_capacityRegion.assign(value); }
/**
* <p>The AWS 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. </p>
*/
inline CreateNamespaceResult& WithCapacityRegion(const Aws::String& value) { SetCapacityRegion(value); return *this;}
/**
* <p>The AWS 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. </p>
*/
inline CreateNamespaceResult& WithCapacityRegion(Aws::String&& value) { SetCapacityRegion(std::move(value)); return *this;}
/**
* <p>The AWS 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. </p>
*/
inline CreateNamespaceResult& WithCapacityRegion(const char* value) { SetCapacityRegion(value); return *this;}
/**
* <p>The status of the creation of the namespace. This is an asynchronous process.
* A status of <code>CREATED</code> means that your namespace is ready to use. If
* an error occurs, it indicates if the process is <code>retryable</code> or
* <code>non-retryable</code>. In the case of a non-retryable error, refer to the
* error message for follow-up tasks.</p>
*/
inline const NamespaceStatus& GetCreationStatus() const{ return m_creationStatus; }
/**
* <p>The status of the creation of the namespace. This is an asynchronous process.
* A status of <code>CREATED</code> means that your namespace is ready to use. If
* an error occurs, it indicates if the process is <code>retryable</code> or
* <code>non-retryable</code>. In the case of a non-retryable error, refer to the
* error message for follow-up tasks.</p>
*/
inline void SetCreationStatus(const NamespaceStatus& value) { m_creationStatus = value; }
/**
* <p>The status of the creation of the namespace. This is an asynchronous process.
* A status of <code>CREATED</code> means that your namespace is ready to use. If
* an error occurs, it indicates if the process is <code>retryable</code> or
* <code>non-retryable</code>. In the case of a non-retryable error, refer to the
* error message for follow-up tasks.</p>
*/
inline void SetCreationStatus(NamespaceStatus&& value) { m_creationStatus = std::move(value); }
/**
* <p>The status of the creation of the namespace. This is an asynchronous process.
* A status of <code>CREATED</code> means that your namespace is ready to use. If
* an error occurs, it indicates if the process is <code>retryable</code> or
* <code>non-retryable</code>. In the case of a non-retryable error, refer to the
* error message for follow-up tasks.</p>
*/
inline CreateNamespaceResult& WithCreationStatus(const NamespaceStatus& value) { SetCreationStatus(value); return *this;}
/**
* <p>The status of the creation of the namespace. This is an asynchronous process.
* A status of <code>CREATED</code> means that your namespace is ready to use. If
* an error occurs, it indicates if the process is <code>retryable</code> or
* <code>non-retryable</code>. In the case of a non-retryable error, refer to the
* error message for follow-up tasks.</p>
*/
inline CreateNamespaceResult& WithCreationStatus(NamespaceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
/**
* <p>Specifies the type of your user identity directory. Currently, this supports
* users with an identity type of <code>QUICKSIGHT</code>.</p>
*/
inline const IdentityStore& GetIdentityStore() const{ return m_identityStore; }
/**
* <p>Specifies the type of your user identity directory. Currently, this supports
* users with an identity type of <code>QUICKSIGHT</code>.</p>
*/
inline void SetIdentityStore(const IdentityStore& value) { m_identityStore = value; }
/**
* <p>Specifies the type of your user identity directory. Currently, this supports
* users with an identity type of <code>QUICKSIGHT</code>.</p>
*/
inline void SetIdentityStore(IdentityStore&& value) { m_identityStore = std::move(value); }
/**
* <p>Specifies the type of your user identity directory. Currently, this supports
* users with an identity type of <code>QUICKSIGHT</code>.</p>
*/
inline CreateNamespaceResult& WithIdentityStore(const IdentityStore& value) { SetIdentityStore(value); return *this;}
/**
* <p>Specifies the type of your user identity directory. Currently, this supports
* users with an identity type of <code>QUICKSIGHT</code>.</p>
*/
inline CreateNamespaceResult& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;}
/**
* <p>The AWS request ID for this operation.</p>
*/
inline const Aws::String& GetRequestId() const{ return m_requestId; }
/**
* <p>The AWS request ID for this operation.</p>
*/
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
/**
* <p>The AWS request ID for this operation.</p>
*/
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
/**
* <p>The AWS request ID for this operation.</p>
*/
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
/**
* <p>The AWS request ID for this operation.</p>
*/
inline CreateNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
/**
* <p>The AWS request ID for this operation.</p>
*/
inline CreateNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
/**
* <p>The AWS request ID for this operation.</p>
*/
inline CreateNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
/**
* <p>The HTTP status of the request.</p>
*/
inline int GetStatus() const{ return m_status; }
/**
* <p>The HTTP status of the request.</p>
*/
inline void SetStatus(int value) { m_status = value; }
/**
* <p>The HTTP status of the request.</p>
*/
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