/**
* 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 IAM role that has permission to access the Amazon S3 bucket.
*/ inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; } /** *The IAM role that has permission to access the Amazon S3 bucket.
*/ inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; } /** *The IAM role that has permission to access the Amazon S3 bucket.
*/ inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; } /** *The IAM role that has permission to access the Amazon S3 bucket.
*/ inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); } /** *The IAM role that has permission to access the Amazon S3 bucket.
*/ inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); } /** *The IAM role that has permission to access the Amazon S3 bucket.
*/ inline DmsTransferSettings& WithServiceAccessRoleArn(const Aws::String& value) { SetServiceAccessRoleArn(value); return *this;} /** *The IAM role that has permission to access the Amazon S3 bucket.
*/ inline DmsTransferSettings& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;} /** *The IAM role that has permission to access the Amazon S3 bucket.
*/ inline DmsTransferSettings& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;} /** *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; Aws::String m_bucketName; bool m_bucketNameHasBeenSet; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws