/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request parameters represent the input of a request to start a SQL
* transaction.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline BeginTransactionRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline BeginTransactionRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline BeginTransactionRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline const Aws::String& GetSecretArn() const{ return m_secretArn; } /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline BeginTransactionRequest& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline BeginTransactionRequest& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline BeginTransactionRequest& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} /** *The name of the database.
*/ inline const Aws::String& GetDatabase() const{ return m_database; } /** *The name of the database.
*/ inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; } /** *The name of the database.
*/ inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; } /** *The name of the database.
*/ inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); } /** *The name of the database.
*/ inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); } /** *The name of the database.
*/ inline BeginTransactionRequest& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;} /** *The name of the database.
*/ inline BeginTransactionRequest& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;} /** *The name of the database.
*/ inline BeginTransactionRequest& WithDatabase(const char* value) { SetDatabase(value); return *this;} /** *The name of the database schema.
*/ inline const Aws::String& GetSchema() const{ return m_schema; } /** *The name of the database schema.
*/ inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } /** *The name of the database schema.
*/ inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; } /** *The name of the database schema.
*/ inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } /** *The name of the database schema.
*/ inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); } /** *The name of the database schema.
*/ inline BeginTransactionRequest& WithSchema(const Aws::String& value) { SetSchema(value); return *this;} /** *The name of the database schema.
*/ inline BeginTransactionRequest& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;} /** *The name of the database schema.
*/ inline BeginTransactionRequest& WithSchema(const char* value) { SetSchema(value); return *this;} private: Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; Aws::String m_database; bool m_databaseHasBeenSet = false; Aws::String m_schema; bool m_schemaHasBeenSet = false; }; } // namespace Model } // namespace RDSDataService } // namespace Aws