AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReportDestinationS3.h
1
6#pragma once
7#include <aws/datasync/DataSync_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 DataSync
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_DATASYNC_API ReportDestinationS3() = default;
39 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
47 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
48 template<typename SubdirectoryT = Aws::String>
49 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
50 template<typename SubdirectoryT = Aws::String>
51 ReportDestinationS3& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
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) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = std::forward<S3BucketArnT>(value); }
62 template<typename S3BucketArnT = Aws::String>
63 ReportDestinationS3& WithS3BucketArn(S3BucketArnT&& value) { SetS3BucketArn(std::forward<S3BucketArnT>(value)); return *this;}
65
67
73 inline const Aws::String& GetBucketAccessRoleArn() const { return m_bucketAccessRoleArn; }
74 inline bool BucketAccessRoleArnHasBeenSet() const { return m_bucketAccessRoleArnHasBeenSet; }
75 template<typename BucketAccessRoleArnT = Aws::String>
76 void SetBucketAccessRoleArn(BucketAccessRoleArnT&& value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn = std::forward<BucketAccessRoleArnT>(value); }
77 template<typename BucketAccessRoleArnT = Aws::String>
78 ReportDestinationS3& WithBucketAccessRoleArn(BucketAccessRoleArnT&& value) { SetBucketAccessRoleArn(std::forward<BucketAccessRoleArnT>(value)); return *this;}
80 private:
81
82 Aws::String m_subdirectory;
83 bool m_subdirectoryHasBeenSet = false;
84
85 Aws::String m_s3BucketArn;
86 bool m_s3BucketArnHasBeenSet = false;
87
88 Aws::String m_bucketAccessRoleArn;
89 bool m_bucketAccessRoleArnHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DataSync
94} // 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