AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InputS3Configuration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodb/DynamoDB_EXPORTS.h>
9#include <aws/dynamodb/model/BulkOperationInputFormat.h>
10#include <aws/dynamodb/model/InputCompressionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DynamoDB {
22namespace Model {
23
32 public:
33 AWS_DYNAMODB_API InputS3Configuration() = default;
36 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
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) {
49 m_s3BucketOwnerHasBeenSet = true;
50 m_s3BucketOwner = std::forward<S3BucketOwnerT>(value);
51 }
52 template <typename S3BucketOwnerT = Aws::String>
53 InputS3Configuration& WithS3BucketOwner(S3BucketOwnerT&& value) {
54 SetS3BucketOwner(std::forward<S3BucketOwnerT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
64 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
65 template <typename S3BucketT = Aws::String>
66 void SetS3Bucket(S3BucketT&& value) {
67 m_s3BucketHasBeenSet = true;
68 m_s3Bucket = std::forward<S3BucketT>(value);
69 }
70 template <typename S3BucketT = Aws::String>
71 InputS3Configuration& WithS3Bucket(S3BucketT&& value) {
72 SetS3Bucket(std::forward<S3BucketT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
83 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
84 template <typename S3KeyPrefixT = Aws::String>
85 void SetS3KeyPrefix(S3KeyPrefixT&& value) {
86 m_s3KeyPrefixHasBeenSet = true;
87 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
88 }
89 template <typename S3KeyPrefixT = Aws::String>
90 InputS3Configuration& WithS3KeyPrefix(S3KeyPrefixT&& value) {
91 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
92 return *this;
93 }
95
97
102 inline BulkOperationInputFormat GetInputFormat() const { return m_inputFormat; }
103 inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; }
105 m_inputFormatHasBeenSet = true;
106 m_inputFormat = value;
107 }
109 SetInputFormat(value);
110 return *this;
111 }
113
115
120 inline InputCompressionType GetInputCompressionType() const { return m_inputCompressionType; }
121 inline bool InputCompressionTypeHasBeenSet() const { return m_inputCompressionTypeHasBeenSet; }
123 m_inputCompressionTypeHasBeenSet = true;
124 m_inputCompressionType = value;
125 }
131 private:
132 Aws::String m_s3BucketOwner;
133
134 Aws::String m_s3Bucket;
135
136 Aws::String m_s3KeyPrefix;
137
139
141 bool m_s3BucketOwnerHasBeenSet = false;
142 bool m_s3BucketHasBeenSet = false;
143 bool m_s3KeyPrefixHasBeenSet = false;
144 bool m_inputFormatHasBeenSet = false;
145 bool m_inputCompressionTypeHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace DynamoDB
150} // namespace Aws
void SetInputFormat(BulkOperationInputFormat value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputCompressionType(InputCompressionType value)
InputCompressionType GetInputCompressionType() const
BulkOperationInputFormat GetInputFormat() const
InputS3Configuration & WithS3Bucket(S3BucketT &&value)
InputS3Configuration & WithS3KeyPrefix(S3KeyPrefixT &&value)
AWS_DYNAMODB_API InputS3Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API InputS3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API InputS3Configuration()=default
InputS3Configuration & WithInputFormat(BulkOperationInputFormat value)
InputS3Configuration & WithS3BucketOwner(S3BucketOwnerT &&value)
InputS3Configuration & WithInputCompressionType(InputCompressionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue