/** * 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 finspace { namespace Model { /** */ class GetKxDatabaseRequest : public FinspaceRequest { public: AWS_FINSPACE_API GetKxDatabaseRequest(); // 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 "GetKxDatabase"; } AWS_FINSPACE_API Aws::String SerializePayload() 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 GetKxDatabaseRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

A unique identifier for the kdb environment.

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

A unique identifier for the kdb environment.

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

The name of the kdb database.

*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *

The name of the kdb database.

*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *

The name of the kdb database.

*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *

The name of the kdb database.

*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *

The name of the kdb database.

*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *

The name of the kdb database.

*/ inline GetKxDatabaseRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *

The name of the kdb database.

*/ inline GetKxDatabaseRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *

The name of the kdb database.

*/ inline GetKxDatabaseRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} private: Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws