AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3ManifestConfig.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
35 {
36 public:
37 AWS_DATASYNC_API S3ManifestConfig();
38 AWS_DATASYNC_API S3ManifestConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetManifestObjectPath() const{ return m_manifestObjectPath; }
49 inline bool ManifestObjectPathHasBeenSet() const { return m_manifestObjectPathHasBeenSet; }
50 inline void SetManifestObjectPath(const Aws::String& value) { m_manifestObjectPathHasBeenSet = true; m_manifestObjectPath = value; }
51 inline void SetManifestObjectPath(Aws::String&& value) { m_manifestObjectPathHasBeenSet = true; m_manifestObjectPath = std::move(value); }
52 inline void SetManifestObjectPath(const char* value) { m_manifestObjectPathHasBeenSet = true; m_manifestObjectPath.assign(value); }
53 inline S3ManifestConfig& WithManifestObjectPath(const Aws::String& value) { SetManifestObjectPath(value); return *this;}
54 inline S3ManifestConfig& WithManifestObjectPath(Aws::String&& value) { SetManifestObjectPath(std::move(value)); return *this;}
55 inline S3ManifestConfig& WithManifestObjectPath(const char* value) { SetManifestObjectPath(value); return *this;}
57
59
65 inline const Aws::String& GetBucketAccessRoleArn() const{ return m_bucketAccessRoleArn; }
66 inline bool BucketAccessRoleArnHasBeenSet() const { return m_bucketAccessRoleArnHasBeenSet; }
67 inline void SetBucketAccessRoleArn(const Aws::String& value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn = value; }
68 inline void SetBucketAccessRoleArn(Aws::String&& value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn = std::move(value); }
69 inline void SetBucketAccessRoleArn(const char* value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn.assign(value); }
70 inline S3ManifestConfig& WithBucketAccessRoleArn(const Aws::String& value) { SetBucketAccessRoleArn(value); return *this;}
71 inline S3ManifestConfig& WithBucketAccessRoleArn(Aws::String&& value) { SetBucketAccessRoleArn(std::move(value)); return *this;}
72 inline S3ManifestConfig& WithBucketAccessRoleArn(const char* value) { SetBucketAccessRoleArn(value); return *this;}
74
76
80 inline const Aws::String& GetS3BucketArn() const{ return m_s3BucketArn; }
81 inline bool S3BucketArnHasBeenSet() const { return m_s3BucketArnHasBeenSet; }
82 inline void SetS3BucketArn(const Aws::String& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = value; }
83 inline void SetS3BucketArn(Aws::String&& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = std::move(value); }
84 inline void SetS3BucketArn(const char* value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn.assign(value); }
85 inline S3ManifestConfig& WithS3BucketArn(const Aws::String& value) { SetS3BucketArn(value); return *this;}
86 inline S3ManifestConfig& WithS3BucketArn(Aws::String&& value) { SetS3BucketArn(std::move(value)); return *this;}
87 inline S3ManifestConfig& WithS3BucketArn(const char* value) { SetS3BucketArn(value); return *this;}
89
91
95 inline const Aws::String& GetManifestObjectVersionId() const{ return m_manifestObjectVersionId; }
96 inline bool ManifestObjectVersionIdHasBeenSet() const { return m_manifestObjectVersionIdHasBeenSet; }
97 inline void SetManifestObjectVersionId(const Aws::String& value) { m_manifestObjectVersionIdHasBeenSet = true; m_manifestObjectVersionId = value; }
98 inline void SetManifestObjectVersionId(Aws::String&& value) { m_manifestObjectVersionIdHasBeenSet = true; m_manifestObjectVersionId = std::move(value); }
99 inline void SetManifestObjectVersionId(const char* value) { m_manifestObjectVersionIdHasBeenSet = true; m_manifestObjectVersionId.assign(value); }
101 inline S3ManifestConfig& WithManifestObjectVersionId(Aws::String&& value) { SetManifestObjectVersionId(std::move(value)); return *this;}
102 inline S3ManifestConfig& WithManifestObjectVersionId(const char* value) { SetManifestObjectVersionId(value); return *this;}
104 private:
105
106 Aws::String m_manifestObjectPath;
107 bool m_manifestObjectPathHasBeenSet = false;
108
109 Aws::String m_bucketAccessRoleArn;
110 bool m_bucketAccessRoleArnHasBeenSet = false;
111
112 Aws::String m_s3BucketArn;
113 bool m_s3BucketArnHasBeenSet = false;
114
115 Aws::String m_manifestObjectVersionId;
116 bool m_manifestObjectVersionIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace DataSync
121} // namespace Aws
S3ManifestConfig & WithManifestObjectPath(const Aws::String &value)
S3ManifestConfig & WithBucketAccessRoleArn(Aws::String &&value)
S3ManifestConfig & WithManifestObjectVersionId(const char *value)
void SetManifestObjectPath(Aws::String &&value)
S3ManifestConfig & WithManifestObjectVersionId(const Aws::String &value)
const Aws::String & GetS3BucketArn() const
S3ManifestConfig & WithS3BucketArn(Aws::String &&value)
S3ManifestConfig & WithS3BucketArn(const Aws::String &value)
const Aws::String & GetManifestObjectVersionId() const
void SetBucketAccessRoleArn(const char *value)
void SetManifestObjectVersionId(const char *value)
void SetS3BucketArn(Aws::String &&value)
void SetBucketAccessRoleArn(const Aws::String &value)
S3ManifestConfig & WithBucketAccessRoleArn(const char *value)
const Aws::String & GetBucketAccessRoleArn() const
void SetManifestObjectPath(const char *value)
AWS_DATASYNC_API S3ManifestConfig(Aws::Utils::Json::JsonView jsonValue)
void SetManifestObjectVersionId(Aws::String &&value)
S3ManifestConfig & WithBucketAccessRoleArn(const Aws::String &value)
void SetS3BucketArn(const Aws::String &value)
S3ManifestConfig & WithManifestObjectPath(Aws::String &&value)
S3ManifestConfig & WithManifestObjectVersionId(Aws::String &&value)
AWS_DATASYNC_API S3ManifestConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ManifestConfig & WithManifestObjectPath(const char *value)
void SetManifestObjectVersionId(const Aws::String &value)
void SetManifestObjectPath(const Aws::String &value)
const Aws::String & GetManifestObjectPath() const
S3ManifestConfig & WithS3BucketArn(const char *value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBucketAccessRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue