AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DmsTransferSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
29 public:
30 AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings() = default;
31 AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetServiceAccessRoleArn() const { return m_serviceAccessRoleArn; }
41 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
42 template <typename ServiceAccessRoleArnT = Aws::String>
43 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) {
44 m_serviceAccessRoleArnHasBeenSet = true;
45 m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value);
46 }
47 template <typename ServiceAccessRoleArnT = Aws::String>
48 DmsTransferSettings& WithServiceAccessRoleArn(ServiceAccessRoleArnT&& value) {
49 SetServiceAccessRoleArn(std::forward<ServiceAccessRoleArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBucketName() const { return m_bucketName; }
59 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
60 template <typename BucketNameT = Aws::String>
61 void SetBucketName(BucketNameT&& value) {
62 m_bucketNameHasBeenSet = true;
63 m_bucketName = std::forward<BucketNameT>(value);
64 }
65 template <typename BucketNameT = Aws::String>
66 DmsTransferSettings& WithBucketName(BucketNameT&& value) {
67 SetBucketName(std::forward<BucketNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_serviceAccessRoleArn;
73
74 Aws::String m_bucketName;
75 bool m_serviceAccessRoleArnHasBeenSet = false;
76 bool m_bucketNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace DatabaseMigrationService
81} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings(Aws::Utils::Json::JsonView jsonValue)
DmsTransferSettings & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
DmsTransferSettings & WithBucketName(BucketNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DmsTransferSettings()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue