AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Config.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
36 {
37 public:
38 AWS_DATASYNC_API S3Config();
39 AWS_DATASYNC_API S3Config(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATASYNC_API S3Config& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetBucketAccessRoleArn() const{ return m_bucketAccessRoleArn; }
50 inline bool BucketAccessRoleArnHasBeenSet() const { return m_bucketAccessRoleArnHasBeenSet; }
51 inline void SetBucketAccessRoleArn(const Aws::String& value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn = value; }
52 inline void SetBucketAccessRoleArn(Aws::String&& value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn = std::move(value); }
53 inline void SetBucketAccessRoleArn(const char* value) { m_bucketAccessRoleArnHasBeenSet = true; m_bucketAccessRoleArn.assign(value); }
54 inline S3Config& WithBucketAccessRoleArn(const Aws::String& value) { SetBucketAccessRoleArn(value); return *this;}
55 inline S3Config& WithBucketAccessRoleArn(Aws::String&& value) { SetBucketAccessRoleArn(std::move(value)); return *this;}
56 inline S3Config& WithBucketAccessRoleArn(const char* value) { SetBucketAccessRoleArn(value); return *this;}
58 private:
59
60 Aws::String m_bucketAccessRoleArn;
61 bool m_bucketAccessRoleArnHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace DataSync
66} // namespace Aws
void SetBucketAccessRoleArn(Aws::String &&value)
Definition S3Config.h:52
S3Config & WithBucketAccessRoleArn(Aws::String &&value)
Definition S3Config.h:55
AWS_DATASYNC_API S3Config()
S3Config & WithBucketAccessRoleArn(const Aws::String &value)
Definition S3Config.h:54
const Aws::String & GetBucketAccessRoleArn() const
Definition S3Config.h:49
AWS_DATASYNC_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Config & WithBucketAccessRoleArn(const char *value)
Definition S3Config.h:56
void SetBucketAccessRoleArn(const Aws::String &value)
Definition S3Config.h:51
void SetBucketAccessRoleArn(const char *value)
Definition S3Config.h:53
AWS_DATASYNC_API S3Config(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool BucketAccessRoleArnHasBeenSet() const
Definition S3Config.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue