/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/finspace/Finspace_EXPORTS.h> #include <aws/finspace/FinspaceRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Http { class URI; } //namespace Http namespace finspace { namespace Model { /** */ class ListKxClusterNodesRequest : public FinspaceRequest { public: AWS_FINSPACE_API ListKxClusterNodesRequest(); // 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 "ListKxClusterNodes"; } AWS_FINSPACE_API Aws::String SerializePayload() const override; AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** * <p>A unique identifier for the kdb environment.</p> */ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** * <p>A unique identifier for the kdb environment.</p> */ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** * <p>A unique identifier for the kdb environment.</p> */ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** * <p>A unique identifier for the kdb environment.</p> */ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** * <p>A unique identifier for the kdb environment.</p> */ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** * <p>A unique identifier for the kdb environment.</p> */ inline ListKxClusterNodesRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** * <p>A unique identifier for the kdb environment.</p> */ inline ListKxClusterNodesRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** * <p>A unique identifier for the kdb environment.</p> */ inline ListKxClusterNodesRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** * <p>A unique name for the cluster.</p> */ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** * <p>A unique name for the cluster.</p> */ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** * <p>A unique name for the cluster.</p> */ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** * <p>A unique name for the cluster.</p> */ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** * <p>A unique name for the cluster.</p> */ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** * <p>A unique name for the cluster.</p> */ inline ListKxClusterNodesRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** * <p>A unique name for the cluster.</p> */ inline ListKxClusterNodesRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** * <p>A unique name for the cluster.</p> */ inline ListKxClusterNodesRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** * <p>A token that indicates where a results page should begin.</p> */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** * <p>A token that indicates where a results page should begin.</p> */ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** * <p>A token that indicates where a results page should begin.</p> */ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** * <p>A token that indicates where a results page should begin.</p> */ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** * <p>A token that indicates where a results page should begin.</p> */ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** * <p>A token that indicates where a results page should begin.</p> */ inline ListKxClusterNodesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** * <p>A token that indicates where a results page should begin.</p> */ inline ListKxClusterNodesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** * <p>A token that indicates where a results page should begin.</p> */ inline ListKxClusterNodesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** * <p>The maximum number of results to return in this request.</p> */ inline int GetMaxResults() const{ return m_maxResults; } /** * <p>The maximum number of results to return in this request.</p> */ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** * <p>The maximum number of results to return in this request.</p> */ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** * <p>The maximum number of results to return in this request.</p> */ inline ListKxClusterNodesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws