AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
S3StorageConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9#include <aws/kinesis/model/S3CompressionType.h>
10#include <aws/kinesis/model/S3StorageClass.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kinesis {
22namespace Model {
23
31 public:
32 AWS_KINESIS_API S3StorageConfiguration() = default;
35 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
42 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
43 template <typename BucketARNT = Aws::String>
44 void SetBucketARN(BucketARNT&& value) {
45 m_bucketARNHasBeenSet = true;
46 m_bucketARN = std::forward<BucketARNT>(value);
47 }
48 template <typename BucketARNT = Aws::String>
50 SetBucketARN(std::forward<BucketARNT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
62 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
63 template <typename ExpectedBucketOwnerT = Aws::String>
64 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
65 m_expectedBucketOwnerHasBeenSet = true;
66 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
67 }
68 template <typename ExpectedBucketOwnerT = Aws::String>
69 S3StorageConfiguration& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
70 SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetOutputKeyTemplate() const { return m_outputKeyTemplate; }
81 inline bool OutputKeyTemplateHasBeenSet() const { return m_outputKeyTemplateHasBeenSet; }
82 template <typename OutputKeyTemplateT = Aws::String>
83 void SetOutputKeyTemplate(OutputKeyTemplateT&& value) {
84 m_outputKeyTemplateHasBeenSet = true;
85 m_outputKeyTemplate = std::forward<OutputKeyTemplateT>(value);
86 }
87 template <typename OutputKeyTemplateT = Aws::String>
88 S3StorageConfiguration& WithOutputKeyTemplate(OutputKeyTemplateT&& value) {
89 SetOutputKeyTemplate(std::forward<OutputKeyTemplateT>(value));
90 return *this;
91 }
93
95
103 inline S3StorageClass GetStorageClass() const { return m_storageClass; }
104 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
105 inline void SetStorageClass(S3StorageClass value) {
106 m_storageClassHasBeenSet = true;
107 m_storageClass = value;
108 }
110 SetStorageClass(value);
111 return *this;
112 }
114
116
122 inline S3CompressionType GetCompressionType() const { return m_compressionType; }
123 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
125 m_compressionTypeHasBeenSet = true;
126 m_compressionType = value;
127 }
129 SetCompressionType(value);
130 return *this;
131 }
133 private:
134 Aws::String m_bucketARN;
135
136 Aws::String m_expectedBucketOwner;
137
138 Aws::String m_outputKeyTemplate;
139
141
143 bool m_bucketARNHasBeenSet = false;
144 bool m_expectedBucketOwnerHasBeenSet = false;
145 bool m_outputKeyTemplateHasBeenSet = false;
146 bool m_storageClassHasBeenSet = false;
147 bool m_compressionTypeHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace Kinesis
152} // namespace Aws
S3StorageConfiguration & WithStorageClass(S3StorageClass value)
AWS_KINESIS_API S3StorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3StorageConfiguration & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_KINESIS_API S3StorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputKeyTemplate(OutputKeyTemplateT &&value)
S3StorageConfiguration & WithBucketARN(BucketARNT &&value)
S3StorageConfiguration & WithCompressionType(S3CompressionType value)
AWS_KINESIS_API S3StorageConfiguration()=default
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
S3StorageConfiguration & WithOutputKeyTemplate(OutputKeyTemplateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue