/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The settings in JSON format for the DMS Transfer type source endpoint.
* See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) used by the service access IAM role. The role
* must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service access IAM role. The role
* must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service access IAM role. The role
* must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service access IAM role. The role
* must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service access IAM role. The role
* must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service access IAM role. The role
* must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service access IAM role. The role
* must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service access IAM role. The role
* must allow the iam:PassRole
action.
The name of the S3 bucket to use.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *The name of the S3 bucket to use.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *The name of the S3 bucket to use.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *The name of the S3 bucket to use.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *The name of the S3 bucket to use.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *The name of the S3 bucket to use.
*/ inline DmsTransferSettings& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *The name of the S3 bucket to use.
*/ inline DmsTransferSettings& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *The name of the S3 bucket to use.
*/ inline DmsTransferSettings& WithBucketName(const char* value) { SetBucketName(value); return *this;} private: Aws::String m_serviceAccessRoleArn; bool m_serviceAccessRoleArnHasBeenSet = false; Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws