/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace finspace { namespace Model { /** */ class GetKxConnectionStringRequest : public FinspaceRequest { public: AWS_FINSPACE_API GetKxConnectionStringRequest(); // 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 "GetKxConnectionString"; } AWS_FINSPACE_API Aws::String SerializePayload() const override; AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.

*/ inline const Aws::String& GetUserArn() const{ return m_userArn; } /** *

The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.

*/ inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.

*/ inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; } /** *

The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.

*/ inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.

*/ inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.

*/ inline GetKxConnectionStringRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.

*/ inline GetKxConnectionStringRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.

*/ inline GetKxConnectionStringRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;} /** *

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 GetKxConnectionStringRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

A unique identifier for the kdb environment.

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

A unique identifier for the kdb environment.

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

A name of the kdb cluster.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *

A name of the kdb cluster.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *

A name of the kdb cluster.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *

A name of the kdb cluster.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *

A name of the kdb cluster.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *

A name of the kdb cluster.

*/ inline GetKxConnectionStringRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *

A name of the kdb cluster.

*/ inline GetKxConnectionStringRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *

A name of the kdb cluster.

*/ inline GetKxConnectionStringRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} private: Aws::String m_userArn; bool m_userArnHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws