/** * 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 { namespace Http { class URI; } //namespace Http namespace finspace { namespace Model { /** */ class ListKxClustersRequest : public FinspaceRequest { public: AWS_FINSPACE_API ListKxClustersRequest(); // 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 "ListKxClusters"; } AWS_FINSPACE_API Aws::String SerializePayload() const override; AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

A unique identifier for the kdb environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

A unique identifier for the kdb environment.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

A unique identifier for the kdb environment.

*/ inline ListKxClustersRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline ListKxClustersRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline ListKxClustersRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

Specifies the type of KDB database that is being created. The following types * are available:

  • HDB – A Historical Database. The data is only * accessible with read-only permissions from one of the FinSpace managed kdb * databases mounted to the cluster.

  • RDB – A Realtime Database. * This type of database captures all the data from a ticker plant and stores it in * memory until the end of day, after which it writes all of its data to a disk and * reloads the HDB. This cluster type requires local storage for temporary storage * of data during the savedown process. If you specify this field in your request, * you must provide the savedownStorageConfiguration parameter.

    *
  • GATEWAY – A gateway cluster allows you to access data across * processes in kdb systems. It allows you to create your own routing logic using * the initialization scripts and custom code. This type of cluster does not * require a writable local storage.

*/ inline const KxClusterType& GetClusterType() const{ return m_clusterType; } /** *

Specifies the type of KDB database that is being created. The following types * are available:

  • HDB – A Historical Database. The data is only * accessible with read-only permissions from one of the FinSpace managed kdb * databases mounted to the cluster.

  • RDB – A Realtime Database. * This type of database captures all the data from a ticker plant and stores it in * memory until the end of day, after which it writes all of its data to a disk and * reloads the HDB. This cluster type requires local storage for temporary storage * of data during the savedown process. If you specify this field in your request, * you must provide the savedownStorageConfiguration parameter.

    *
  • GATEWAY – A gateway cluster allows you to access data across * processes in kdb systems. It allows you to create your own routing logic using * the initialization scripts and custom code. This type of cluster does not * require a writable local storage.

*/ inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; } /** *

Specifies the type of KDB database that is being created. The following types * are available:

  • HDB – A Historical Database. The data is only * accessible with read-only permissions from one of the FinSpace managed kdb * databases mounted to the cluster.

  • RDB – A Realtime Database. * This type of database captures all the data from a ticker plant and stores it in * memory until the end of day, after which it writes all of its data to a disk and * reloads the HDB. This cluster type requires local storage for temporary storage * of data during the savedown process. If you specify this field in your request, * you must provide the savedownStorageConfiguration parameter.

    *
  • GATEWAY – A gateway cluster allows you to access data across * processes in kdb systems. It allows you to create your own routing logic using * the initialization scripts and custom code. This type of cluster does not * require a writable local storage.

*/ inline void SetClusterType(const KxClusterType& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; } /** *

Specifies the type of KDB database that is being created. The following types * are available:

  • HDB – A Historical Database. The data is only * accessible with read-only permissions from one of the FinSpace managed kdb * databases mounted to the cluster.

  • RDB – A Realtime Database. * This type of database captures all the data from a ticker plant and stores it in * memory until the end of day, after which it writes all of its data to a disk and * reloads the HDB. This cluster type requires local storage for temporary storage * of data during the savedown process. If you specify this field in your request, * you must provide the savedownStorageConfiguration parameter.

    *
  • GATEWAY – A gateway cluster allows you to access data across * processes in kdb systems. It allows you to create your own routing logic using * the initialization scripts and custom code. This type of cluster does not * require a writable local storage.

*/ inline void SetClusterType(KxClusterType&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); } /** *

Specifies the type of KDB database that is being created. The following types * are available:

  • HDB – A Historical Database. The data is only * accessible with read-only permissions from one of the FinSpace managed kdb * databases mounted to the cluster.

  • RDB – A Realtime Database. * This type of database captures all the data from a ticker plant and stores it in * memory until the end of day, after which it writes all of its data to a disk and * reloads the HDB. This cluster type requires local storage for temporary storage * of data during the savedown process. If you specify this field in your request, * you must provide the savedownStorageConfiguration parameter.

    *
  • GATEWAY – A gateway cluster allows you to access data across * processes in kdb systems. It allows you to create your own routing logic using * the initialization scripts and custom code. This type of cluster does not * require a writable local storage.

*/ inline ListKxClustersRequest& WithClusterType(const KxClusterType& value) { SetClusterType(value); return *this;} /** *

Specifies the type of KDB database that is being created. The following types * are available:

  • HDB – A Historical Database. The data is only * accessible with read-only permissions from one of the FinSpace managed kdb * databases mounted to the cluster.

  • RDB – A Realtime Database. * This type of database captures all the data from a ticker plant and stores it in * memory until the end of day, after which it writes all of its data to a disk and * reloads the HDB. This cluster type requires local storage for temporary storage * of data during the savedown process. If you specify this field in your request, * you must provide the savedownStorageConfiguration parameter.

    *
  • GATEWAY – A gateway cluster allows you to access data across * processes in kdb systems. It allows you to create your own routing logic using * the initialization scripts and custom code. This type of cluster does not * require a writable local storage.

*/ inline ListKxClustersRequest& WithClusterType(KxClusterType&& value) { SetClusterType(std::move(value)); return *this;} /** *

The maximum number of results to return in this request.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return in this request.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return in this request.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return in this request.

*/ inline ListKxClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

A token that indicates where a results page should begin.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token that indicates where a results page should begin.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A token that indicates where a results page should begin.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A token that indicates where a results page should begin.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A token that indicates where a results page should begin.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A token that indicates where a results page should begin.

*/ inline ListKxClustersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token that indicates where a results page should begin.

*/ inline ListKxClustersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token that indicates where a results page should begin.

*/ inline ListKxClustersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; KxClusterType m_clusterType; bool m_clusterTypeHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws