AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ReportDestinationS3.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataSync {
20namespace Model {
21
30 public:
31 AWS_DATASYNC_API ReportDestinationS3() = default;
34 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
41 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
42 template <typename SubdirectoryT = Aws::String>
43 void SetSubdirectory(SubdirectoryT&& value) {
44 m_subdirectoryHasBeenSet = true;
45 m_subdirectory = std::forward<SubdirectoryT>(value);
46 }
47 template <typename SubdirectoryT = Aws::String>
48 ReportDestinationS3& WithSubdirectory(SubdirectoryT&& value) {
49 SetSubdirectory(std::forward<SubdirectoryT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetS3BucketArn() const { return m_s3BucketArn; }
59 inline bool S3BucketArnHasBeenSet() const { return m_s3BucketArnHasBeenSet; }
60 template <typename S3BucketArnT = Aws::String>
61 void SetS3BucketArn(S3BucketArnT&& value) {
62 m_s3BucketArnHasBeenSet = true;
63 m_s3BucketArn = std::forward<S3BucketArnT>(value);
64 }
65 template <typename S3BucketArnT = Aws::String>
66 ReportDestinationS3& WithS3BucketArn(S3BucketArnT&& value) {
67 SetS3BucketArn(std::forward<S3BucketArnT>(value));
68 return *this;
69 }
71
73
79 inline const Aws::String& GetBucketAccessRoleArn() const { return m_bucketAccessRoleArn; }
80 inline bool BucketAccessRoleArnHasBeenSet() const { return m_bucketAccessRoleArnHasBeenSet; }
81 template <typename BucketAccessRoleArnT = Aws::String>
82 void SetBucketAccessRoleArn(BucketAccessRoleArnT&& value) {
83 m_bucketAccessRoleArnHasBeenSet = true;
84 m_bucketAccessRoleArn = std::forward<BucketAccessRoleArnT>(value);
85 }
86 template <typename BucketAccessRoleArnT = Aws::String>
87 ReportDestinationS3& WithBucketAccessRoleArn(BucketAccessRoleArnT&& value) {
88 SetBucketAccessRoleArn(std::forward<BucketAccessRoleArnT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_subdirectory;
94
95 Aws::String m_s3BucketArn;
96
97 Aws::String m_bucketAccessRoleArn;
98 bool m_subdirectoryHasBeenSet = false;
99 bool m_s3BucketArnHasBeenSet = false;
100 bool m_bucketAccessRoleArnHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace DataSync
105} // namespace Aws
ReportDestinationS3 & WithS3BucketArn(S3BucketArnT &&value)
void SetBucketAccessRoleArn(BucketAccessRoleArnT &&value)
ReportDestinationS3 & WithBucketAccessRoleArn(BucketAccessRoleArnT &&value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
ReportDestinationS3 & WithSubdirectory(SubdirectoryT &&value)
AWS_DATASYNC_API ReportDestinationS3()=default
const Aws::String & GetBucketAccessRoleArn() const
AWS_DATASYNC_API ReportDestinationS3 & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API ReportDestinationS3(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue