AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
49 inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
50 inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
51 inline ReportDestinationS3& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
52 inline ReportDestinationS3& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
53 inline ReportDestinationS3& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
55
57
60 inline const Aws::String& GetS3BucketArn() const{ return m_s3BucketArn; }
61 inline bool S3BucketArnHasBeenSet() const { return m_s3BucketArnHasBeenSet; }
62 inline void SetS3BucketArn(const Aws::String& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = value; }
63 inline void SetS3BucketArn(Aws::String&& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = std::move(value); }
64 inline void SetS3BucketArn(const char* value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn.assign(value); }
65 inline ReportDestinationS3& WithS3BucketArn(const Aws::String& value) { SetS3BucketArn(value); return *this;}
66 inline ReportDestinationS3& WithS3BucketArn(Aws::String&& value) { SetS3BucketArn(std::move(value)); return *this;}
67 inline ReportDestinationS3& WithS3BucketArn(const char* value) { SetS3BucketArn(value); return *this;}
69
71
77 inline const Aws::String& GetBucketAccessRoleArn() const{ return m_bucketAccessRoleArn; }
78 inline bool BucketAccessRoleArnHasBeenSet() const { return m_bucketAccessRoleArnHasBeenSet; }
79 inline void SetBucketAccessRoleArn(const Aws::String& value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn = value; }
80 inline void SetBucketAccessRoleArn(Aws::String&& value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn = std::move(value); }
81 inline void SetBucketAccessRoleArn(const char* value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn.assign(value); }
83 inline ReportDestinationS3& WithBucketAccessRoleArn(Aws::String&& value) { SetBucketAccessRoleArn(std::move(value)); return *this;}
84 inline ReportDestinationS3& WithBucketAccessRoleArn(const char* value) { SetBucketAccessRoleArn(value); return *this;}
86 private:
87
88 Aws::String m_subdirectory;
89 bool m_subdirectoryHasBeenSet = false;
90
91 Aws::String m_s3BucketArn;
92 bool m_s3BucketArnHasBeenSet = false;
93
94 Aws::String m_bucketAccessRoleArn;
95 bool m_bucketAccessRoleArnHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace DataSync
100} // namespace Aws
ReportDestinationS3 & WithBucketAccessRoleArn(const Aws::String &value)
ReportDestinationS3 & WithBucketAccessRoleArn(Aws::String &&value)
ReportDestinationS3 & WithSubdirectory(const char *value)
ReportDestinationS3 & WithSubdirectory(const Aws::String &value)
ReportDestinationS3 & WithBucketAccessRoleArn(const char *value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
ReportDestinationS3 & WithS3BucketArn(const Aws::String &value)
ReportDestinationS3 & WithS3BucketArn(Aws::String &&value)
ReportDestinationS3 & WithS3BucketArn(const char *value)
void SetS3BucketArn(const Aws::String &value)
ReportDestinationS3 & WithSubdirectory(Aws::String &&value)
void SetBucketAccessRoleArn(const Aws::String &value)
const Aws::String & GetBucketAccessRoleArn() const
AWS_DATASYNC_API ReportDestinationS3 & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API ReportDestinationS3(Aws::Utils::Json::JsonView jsonValue)
void SetSubdirectory(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue