/** * 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 RDS { namespace Model { /** */ class StopDBInstanceAutomatedBackupsReplicationRequest : public RDSRequest { public: AWS_RDS_API StopDBInstanceAutomatedBackupsReplicationRequest(); // 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 "StopDBInstanceAutomatedBackupsReplication"; } AWS_RDS_API Aws::String SerializePayload() const override; protected: AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The Amazon Resource Name (ARN) of the source DB instance for which to stop * replicating automate backups, for example, * arn:aws:rds:us-west-2:123456789012:db:mydatabase.

*/ inline const Aws::String& GetSourceDBInstanceArn() const{ return m_sourceDBInstanceArn; } /** *

The Amazon Resource Name (ARN) of the source DB instance for which to stop * replicating automate backups, for example, * arn:aws:rds:us-west-2:123456789012:db:mydatabase.

*/ inline bool SourceDBInstanceArnHasBeenSet() const { return m_sourceDBInstanceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the source DB instance for which to stop * replicating automate backups, for example, * arn:aws:rds:us-west-2:123456789012:db:mydatabase.

*/ inline void SetSourceDBInstanceArn(const Aws::String& value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn = value; } /** *

The Amazon Resource Name (ARN) of the source DB instance for which to stop * replicating automate backups, for example, * arn:aws:rds:us-west-2:123456789012:db:mydatabase.

*/ inline void SetSourceDBInstanceArn(Aws::String&& value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the source DB instance for which to stop * replicating automate backups, for example, * arn:aws:rds:us-west-2:123456789012:db:mydatabase.

*/ inline void SetSourceDBInstanceArn(const char* value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the source DB instance for which to stop * replicating automate backups, for example, * arn:aws:rds:us-west-2:123456789012:db:mydatabase.

*/ inline StopDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(const Aws::String& value) { SetSourceDBInstanceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source DB instance for which to stop * replicating automate backups, for example, * arn:aws:rds:us-west-2:123456789012:db:mydatabase.

*/ inline StopDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(Aws::String&& value) { SetSourceDBInstanceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the source DB instance for which to stop * replicating automate backups, for example, * arn:aws:rds:us-west-2:123456789012:db:mydatabase.

*/ inline StopDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(const char* value) { SetSourceDBInstanceArn(value); return *this;} private: Aws::String m_sourceDBInstanceArn; bool m_sourceDBInstanceArnHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws