AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
S3BucketSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodb/DynamoDB_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DynamoDB {
20namespace Model {
21
28 public:
29 AWS_DYNAMODB_API S3BucketSource() = default;
30 AWS_DYNAMODB_API S3BucketSource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const Aws::String& GetS3BucketOwner() const { return m_s3BucketOwner; }
40 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
41 template <typename S3BucketOwnerT = Aws::String>
42 void SetS3BucketOwner(S3BucketOwnerT&& value) {
43 m_s3BucketOwnerHasBeenSet = true;
44 m_s3BucketOwner = std::forward<S3BucketOwnerT>(value);
45 }
46 template <typename S3BucketOwnerT = Aws::String>
47 S3BucketSource& WithS3BucketOwner(S3BucketOwnerT&& value) {
48 SetS3BucketOwner(std::forward<S3BucketOwnerT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
58 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
59 template <typename S3BucketT = Aws::String>
60 void SetS3Bucket(S3BucketT&& value) {
61 m_s3BucketHasBeenSet = true;
62 m_s3Bucket = std::forward<S3BucketT>(value);
63 }
64 template <typename S3BucketT = Aws::String>
65 S3BucketSource& WithS3Bucket(S3BucketT&& value) {
66 SetS3Bucket(std::forward<S3BucketT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
76 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
77 template <typename S3KeyPrefixT = Aws::String>
78 void SetS3KeyPrefix(S3KeyPrefixT&& value) {
79 m_s3KeyPrefixHasBeenSet = true;
80 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
81 }
82 template <typename S3KeyPrefixT = Aws::String>
83 S3BucketSource& WithS3KeyPrefix(S3KeyPrefixT&& value) {
84 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_s3BucketOwner;
90
91 Aws::String m_s3Bucket;
92
93 Aws::String m_s3KeyPrefix;
94 bool m_s3BucketOwnerHasBeenSet = false;
95 bool m_s3BucketHasBeenSet = false;
96 bool m_s3KeyPrefixHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace DynamoDB
101} // namespace Aws
S3BucketSource & WithS3KeyPrefix(S3KeyPrefixT &&value)
void SetS3BucketOwner(S3BucketOwnerT &&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 SetS3KeyPrefix(S3KeyPrefixT &&value)
AWS_DYNAMODB_API S3BucketSource()=default
S3BucketSource & WithS3Bucket(S3BucketT &&value)
S3BucketSource & WithS3BucketOwner(S3BucketOwnerT &&value)
const Aws::String & GetS3Bucket() const
const Aws::String & GetS3KeyPrefix() const
const Aws::String & GetS3BucketOwner() const
void SetS3Bucket(S3BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue