AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
OutputS3Configuration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/OutputTypeEnum.h>
11#include <aws/dynamodb/model/S3SseAlgorithm.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DynamoDB {
23namespace Model {
24
33 public:
34 AWS_DYNAMODB_API OutputS3Configuration() = default;
37 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline const Aws::String& GetS3BucketOwner() const { return m_s3BucketOwner; }
47 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
48 template <typename S3BucketOwnerT = Aws::String>
49 void SetS3BucketOwner(S3BucketOwnerT&& value) {
50 m_s3BucketOwnerHasBeenSet = true;
51 m_s3BucketOwner = std::forward<S3BucketOwnerT>(value);
52 }
53 template <typename S3BucketOwnerT = Aws::String>
54 OutputS3Configuration& WithS3BucketOwner(S3BucketOwnerT&& value) {
55 SetS3BucketOwner(std::forward<S3BucketOwnerT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
65 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
66 template <typename S3BucketT = Aws::String>
67 void SetS3Bucket(S3BucketT&& value) {
68 m_s3BucketHasBeenSet = true;
69 m_s3Bucket = std::forward<S3BucketT>(value);
70 }
71 template <typename S3BucketT = Aws::String>
72 OutputS3Configuration& WithS3Bucket(S3BucketT&& value) {
73 SetS3Bucket(std::forward<S3BucketT>(value));
74 return *this;
75 }
77
79
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 OutputS3Configuration& WithS3KeyPrefix(S3KeyPrefixT&& value) {
91 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
92 return *this;
93 }
95
97
102 inline S3SseAlgorithm GetS3SseAlgorithm() const { return m_s3SseAlgorithm; }
103 inline bool S3SseAlgorithmHasBeenSet() const { return m_s3SseAlgorithmHasBeenSet; }
105 m_s3SseAlgorithmHasBeenSet = true;
106 m_s3SseAlgorithm = value;
107 }
109 SetS3SseAlgorithm(value);
110 return *this;
111 }
113
115
120 inline const Aws::String& GetS3SseKmsKeyId() const { return m_s3SseKmsKeyId; }
121 inline bool S3SseKmsKeyIdHasBeenSet() const { return m_s3SseKmsKeyIdHasBeenSet; }
122 template <typename S3SseKmsKeyIdT = Aws::String>
123 void SetS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
124 m_s3SseKmsKeyIdHasBeenSet = true;
125 m_s3SseKmsKeyId = std::forward<S3SseKmsKeyIdT>(value);
126 }
127 template <typename S3SseKmsKeyIdT = Aws::String>
128 OutputS3Configuration& WithS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
129 SetS3SseKmsKeyId(std::forward<S3SseKmsKeyIdT>(value));
130 return *this;
131 }
133
135
145 inline const Aws::Vector<OutputTypeEnum>& GetOutputType() const { return m_outputType; }
146 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
147 template <typename OutputTypeT = Aws::Vector<OutputTypeEnum>>
148 void SetOutputType(OutputTypeT&& value) {
149 m_outputTypeHasBeenSet = true;
150 m_outputType = std::forward<OutputTypeT>(value);
151 }
152 template <typename OutputTypeT = Aws::Vector<OutputTypeEnum>>
153 OutputS3Configuration& WithOutputType(OutputTypeT&& value) {
154 SetOutputType(std::forward<OutputTypeT>(value));
155 return *this;
156 }
158 m_outputTypeHasBeenSet = true;
159 m_outputType.push_back(value);
160 return *this;
161 }
163 private:
164 Aws::String m_s3BucketOwner;
165
166 Aws::String m_s3Bucket;
167
168 Aws::String m_s3KeyPrefix;
169
170 S3SseAlgorithm m_s3SseAlgorithm{S3SseAlgorithm::NOT_SET};
171
172 Aws::String m_s3SseKmsKeyId;
173
174 Aws::Vector<OutputTypeEnum> m_outputType;
175 bool m_s3BucketOwnerHasBeenSet = false;
176 bool m_s3BucketHasBeenSet = false;
177 bool m_s3KeyPrefixHasBeenSet = false;
178 bool m_s3SseAlgorithmHasBeenSet = false;
179 bool m_s3SseKmsKeyIdHasBeenSet = false;
180 bool m_outputTypeHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace DynamoDB
185} // namespace Aws
OutputS3Configuration & WithOutputType(OutputTypeT &&value)
OutputS3Configuration & WithS3KeyPrefix(S3KeyPrefixT &&value)
const Aws::Vector< OutputTypeEnum > & GetOutputType() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
OutputS3Configuration & WithS3BucketOwner(S3BucketOwnerT &&value)
AWS_DYNAMODB_API OutputS3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputS3Configuration & WithS3SseAlgorithm(S3SseAlgorithm value)
OutputS3Configuration & AddOutputType(OutputTypeEnum value)
AWS_DYNAMODB_API OutputS3Configuration(Aws::Utils::Json::JsonView jsonValue)
OutputS3Configuration & WithS3Bucket(S3BucketT &&value)
OutputS3Configuration & WithS3SseKmsKeyId(S3SseKmsKeyIdT &&value)
AWS_DYNAMODB_API OutputS3Configuration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue