/**
* 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 perform a rollback
* of a 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 RollbackTransactionRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline RollbackTransactionRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
*/ inline RollbackTransactionRequest& 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 RollbackTransactionRequest& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} /** *The name or ARN of the secret that enables access to the DB cluster.
*/ inline RollbackTransactionRequest& 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 RollbackTransactionRequest& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} /** *The identifier of the transaction to roll back.
*/ inline const Aws::String& GetTransactionId() const{ return m_transactionId; } /** *The identifier of the transaction to roll back.
*/ inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } /** *The identifier of the transaction to roll back.
*/ inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } /** *The identifier of the transaction to roll back.
*/ inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } /** *The identifier of the transaction to roll back.
*/ inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } /** *The identifier of the transaction to roll back.
*/ inline RollbackTransactionRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} /** *The identifier of the transaction to roll back.
*/ inline RollbackTransactionRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} /** *The identifier of the transaction to roll back.
*/ inline RollbackTransactionRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} private: Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; Aws::String m_transactionId; bool m_transactionIdHasBeenSet = false; }; } // namespace Model } // namespace RDSDataService } // namespace Aws