/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace RedshiftDataAPIService { namespace Model { class BatchExecuteStatementResult { public: AWS_REDSHIFTDATAAPISERVICE_API BatchExecuteStatementResult(); AWS_REDSHIFTDATAAPISERVICE_API BatchExecuteStatementResult(const Aws::AmazonWebServiceResult& result); AWS_REDSHIFTDATAAPISERVICE_API BatchExecuteStatementResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The cluster identifier. This element is not returned when connecting to a * serverless workgroup.

*/ inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } /** *

The cluster identifier. This element is not returned when connecting to a * serverless workgroup.

*/ inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifier = value; } /** *

The cluster identifier. This element is not returned when connecting to a * serverless workgroup.

*/ inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifier = std::move(value); } /** *

The cluster identifier. This element is not returned when connecting to a * serverless workgroup.

*/ inline void SetClusterIdentifier(const char* value) { m_clusterIdentifier.assign(value); } /** *

The cluster identifier. This element is not returned when connecting to a * serverless workgroup.

*/ inline BatchExecuteStatementResult& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;} /** *

The cluster identifier. This element is not returned when connecting to a * serverless workgroup.

*/ inline BatchExecuteStatementResult& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;} /** *

The cluster identifier. This element is not returned when connecting to a * serverless workgroup.

*/ inline BatchExecuteStatementResult& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} /** *

The date and time (UTC) the statement was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The date and time (UTC) the statement was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The date and time (UTC) the statement was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The date and time (UTC) the statement was created.

*/ inline BatchExecuteStatementResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The date and time (UTC) the statement was created.

*/ inline BatchExecuteStatementResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The name of the database.

*/ inline const Aws::String& GetDatabase() const{ return m_database; } /** *

The name of the database.

*/ inline void SetDatabase(const Aws::String& value) { m_database = value; } /** *

The name of the database.

*/ inline void SetDatabase(Aws::String&& value) { m_database = std::move(value); } /** *

The name of the database.

*/ inline void SetDatabase(const char* value) { m_database.assign(value); } /** *

The name of the database.

*/ inline BatchExecuteStatementResult& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;} /** *

The name of the database.

*/ inline BatchExecuteStatementResult& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;} /** *

The name of the database.

*/ inline BatchExecuteStatementResult& WithDatabase(const char* value) { SetDatabase(value); return *this;} /** *

The database user name.

*/ inline const Aws::String& GetDbUser() const{ return m_dbUser; } /** *

The database user name.

*/ inline void SetDbUser(const Aws::String& value) { m_dbUser = value; } /** *

The database user name.

*/ inline void SetDbUser(Aws::String&& value) { m_dbUser = std::move(value); } /** *

The database user name.

*/ inline void SetDbUser(const char* value) { m_dbUser.assign(value); } /** *

The database user name.

*/ inline BatchExecuteStatementResult& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;} /** *

The database user name.

*/ inline BatchExecuteStatementResult& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;} /** *

The database user name.

*/ inline BatchExecuteStatementResult& WithDbUser(const char* value) { SetDbUser(value); return *this;} /** *

The identifier of the SQL statement whose results are to be fetched. This * value is a universally unique identifier (UUID) generated by Amazon Redshift * Data API. This identifier is returned by BatchExecuteStatment.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier of the SQL statement whose results are to be fetched. This * value is a universally unique identifier (UUID) generated by Amazon Redshift * Data API. This identifier is returned by BatchExecuteStatment.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The identifier of the SQL statement whose results are to be fetched. This * value is a universally unique identifier (UUID) generated by Amazon Redshift * Data API. This identifier is returned by BatchExecuteStatment.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The identifier of the SQL statement whose results are to be fetched. This * value is a universally unique identifier (UUID) generated by Amazon Redshift * Data API. This identifier is returned by BatchExecuteStatment.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The identifier of the SQL statement whose results are to be fetched. This * value is a universally unique identifier (UUID) generated by Amazon Redshift * Data API. This identifier is returned by BatchExecuteStatment.

*/ inline BatchExecuteStatementResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the SQL statement whose results are to be fetched. This * value is a universally unique identifier (UUID) generated by Amazon Redshift * Data API. This identifier is returned by BatchExecuteStatment.

*/ inline BatchExecuteStatementResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the SQL statement whose results are to be fetched. This * value is a universally unique identifier (UUID) generated by Amazon Redshift * Data API. This identifier is returned by BatchExecuteStatment.

*/ inline BatchExecuteStatementResult& WithId(const char* value) { SetId(value); return *this;} /** *

The name or ARN of the secret that enables access to the database.

*/ inline const Aws::String& GetSecretArn() const{ return m_secretArn; } /** *

The name or ARN of the secret that enables access to the database.

*/ inline void SetSecretArn(const Aws::String& value) { m_secretArn = value; } /** *

The name or ARN of the secret that enables access to the database.

*/ inline void SetSecretArn(Aws::String&& value) { m_secretArn = std::move(value); } /** *

The name or ARN of the secret that enables access to the database.

*/ inline void SetSecretArn(const char* value) { m_secretArn.assign(value); } /** *

The name or ARN of the secret that enables access to the database.

*/ inline BatchExecuteStatementResult& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} /** *

The name or ARN of the secret that enables access to the database.

*/ inline BatchExecuteStatementResult& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} /** *

The name or ARN of the secret that enables access to the database.

*/ inline BatchExecuteStatementResult& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} /** *

The serverless workgroup name or Amazon Resource Name (ARN). This element is * not returned when connecting to a provisioned cluster.

*/ inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; } /** *

The serverless workgroup name or Amazon Resource Name (ARN). This element is * not returned when connecting to a provisioned cluster.

*/ inline void SetWorkgroupName(const Aws::String& value) { m_workgroupName = value; } /** *

The serverless workgroup name or Amazon Resource Name (ARN). This element is * not returned when connecting to a provisioned cluster.

*/ inline void SetWorkgroupName(Aws::String&& value) { m_workgroupName = std::move(value); } /** *

The serverless workgroup name or Amazon Resource Name (ARN). This element is * not returned when connecting to a provisioned cluster.

*/ inline void SetWorkgroupName(const char* value) { m_workgroupName.assign(value); } /** *

The serverless workgroup name or Amazon Resource Name (ARN). This element is * not returned when connecting to a provisioned cluster.

*/ inline BatchExecuteStatementResult& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;} /** *

The serverless workgroup name or Amazon Resource Name (ARN). This element is * not returned when connecting to a provisioned cluster.

*/ inline BatchExecuteStatementResult& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;} /** *

The serverless workgroup name or Amazon Resource Name (ARN). This element is * not returned when connecting to a provisioned cluster.

*/ inline BatchExecuteStatementResult& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchExecuteStatementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchExecuteStatementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchExecuteStatementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_clusterIdentifier; Aws::Utils::DateTime m_createdAt; Aws::String m_database; Aws::String m_dbUser; Aws::String m_id; Aws::String m_secretArn; Aws::String m_workgroupName; Aws::String m_requestId; }; } // namespace Model } // namespace RedshiftDataAPIService } // namespace Aws