AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename S3BucketOwnerT = Aws::String>
48 void SetS3BucketOwner(S3BucketOwnerT&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::forward<S3BucketOwnerT>(value); }
49 template<typename S3BucketOwnerT = Aws::String>
50 S3BucketSource& WithS3BucketOwner(S3BucketOwnerT&& value) { SetS3BucketOwner(std::forward<S3BucketOwnerT>(value)); return *this;}
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) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
61 template<typename S3BucketT = Aws::String>
62 S3BucketSource& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
64
66
69 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
70 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
71 template<typename S3KeyPrefixT = Aws::String>
72 void SetS3KeyPrefix(S3KeyPrefixT&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value); }
73 template<typename S3KeyPrefixT = Aws::String>
74 S3BucketSource& WithS3KeyPrefix(S3KeyPrefixT&& value) { SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value)); return *this;}
76 private:
77
78 Aws::String m_s3BucketOwner;
79 bool m_s3BucketOwnerHasBeenSet = false;
80
81 Aws::String m_s3Bucket;
82 bool m_s3BucketHasBeenSet = false;
83
84 Aws::String m_s3KeyPrefix;
85 bool m_s3KeyPrefixHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DynamoDB
90} // 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