AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3BucketSource.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_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 DynamoDB
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DYNAMODB_API S3BucketSource();
35 AWS_DYNAMODB_API S3BucketSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetS3BucketOwner() const{ return m_s3BucketOwner; }
46 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
47 inline void SetS3BucketOwner(const Aws::String& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = value; }
48 inline void SetS3BucketOwner(Aws::String&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::move(value); }
49 inline void SetS3BucketOwner(const char* value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner.assign(value); }
50 inline S3BucketSource& WithS3BucketOwner(const Aws::String& value) { SetS3BucketOwner(value); return *this;}
51 inline S3BucketSource& WithS3BucketOwner(Aws::String&& value) { SetS3BucketOwner(std::move(value)); return *this;}
52 inline S3BucketSource& WithS3BucketOwner(const char* value) { SetS3BucketOwner(value); return *this;}
54
56
59 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
60 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
61 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
62 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
63 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
64 inline S3BucketSource& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
65 inline S3BucketSource& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
66 inline S3BucketSource& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
68
70
73 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
74 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
75 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
76 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
77 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
78 inline S3BucketSource& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
79 inline S3BucketSource& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
80 inline S3BucketSource& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
82 private:
83
84 Aws::String m_s3BucketOwner;
85 bool m_s3BucketOwnerHasBeenSet = false;
86
87 Aws::String m_s3Bucket;
88 bool m_s3BucketHasBeenSet = false;
89
90 Aws::String m_s3KeyPrefix;
91 bool m_s3KeyPrefixHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DynamoDB
96} // namespace Aws
void SetS3Bucket(Aws::String &&value)
S3BucketSource & WithS3BucketOwner(Aws::String &&value)
S3BucketSource & WithS3Bucket(const Aws::String &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API S3BucketSource(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API S3BucketSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3Bucket(const char *value)
S3BucketSource & WithS3Bucket(const char *value)
void SetS3Bucket(const Aws::String &value)
void SetS3BucketOwner(const char *value)
void SetS3KeyPrefix(Aws::String &&value)
void SetS3KeyPrefix(const char *value)
void SetS3BucketOwner(const Aws::String &value)
void SetS3KeyPrefix(const Aws::String &value)
S3BucketSource & WithS3BucketOwner(const Aws::String &value)
S3BucketSource & WithS3Bucket(Aws::String &&value)
S3BucketSource & WithS3KeyPrefix(Aws::String &&value)
S3BucketSource & WithS3BucketOwner(const char *value)
S3BucketSource & WithS3KeyPrefix(const char *value)
const Aws::String & GetS3Bucket() const
const Aws::String & GetS3KeyPrefix() const
const Aws::String & GetS3BucketOwner() const
void SetS3BucketOwner(Aws::String &&value)
S3BucketSource & WithS3KeyPrefix(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue