AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DmsTransferSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings();
36 AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; }
47 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
48 inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; }
49 inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); }
50 inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); }
52 inline DmsTransferSettings& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;}
53 inline DmsTransferSettings& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;}
55
57
60 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
61 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
62 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
63 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
64 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
65 inline DmsTransferSettings& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
66 inline DmsTransferSettings& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
67 inline DmsTransferSettings& WithBucketName(const char* value) { SetBucketName(value); return *this;}
69 private:
70
71 Aws::String m_serviceAccessRoleArn;
72 bool m_serviceAccessRoleArnHasBeenSet = false;
73
74 Aws::String m_bucketName;
75 bool m_bucketNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DatabaseMigrationService
80} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings()
AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
DmsTransferSettings & WithServiceAccessRoleArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings(Aws::Utils::Json::JsonView jsonValue)
DmsTransferSettings & WithBucketName(Aws::String &&value)
DmsTransferSettings & WithBucketName(const Aws::String &value)
DmsTransferSettings & WithBucketName(const char *value)
DmsTransferSettings & WithServiceAccessRoleArn(const char *value)
DmsTransferSettings & WithServiceAccessRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue