AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
S3Configuration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
9#include <aws/timestream-query/model/S3EncryptionOption.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
30 public:
31 AWS_TIMESTREAMQUERY_API S3Configuration() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetBucketName() const { return m_bucketName; }
41 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
42 template <typename BucketNameT = Aws::String>
43 void SetBucketName(BucketNameT&& value) {
44 m_bucketNameHasBeenSet = true;
45 m_bucketName = std::forward<BucketNameT>(value);
46 }
47 template <typename BucketNameT = Aws::String>
49 SetBucketName(std::forward<BucketNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetObjectKeyPrefix() const { return m_objectKeyPrefix; }
60 inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; }
61 template <typename ObjectKeyPrefixT = Aws::String>
63 m_objectKeyPrefixHasBeenSet = true;
64 m_objectKeyPrefix = std::forward<ObjectKeyPrefixT>(value);
65 }
66 template <typename ObjectKeyPrefixT = Aws::String>
68 SetObjectKeyPrefix(std::forward<ObjectKeyPrefixT>(value));
69 return *this;
70 }
72
74
78 inline S3EncryptionOption GetEncryptionOption() const { return m_encryptionOption; }
79 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
81 m_encryptionOptionHasBeenSet = true;
82 m_encryptionOption = value;
83 }
86 return *this;
87 }
89 private:
90 Aws::String m_bucketName;
91
92 Aws::String m_objectKeyPrefix;
93
95 bool m_bucketNameHasBeenSet = false;
96 bool m_objectKeyPrefixHasBeenSet = false;
97 bool m_encryptionOptionHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace TimestreamQuery
102} // namespace Aws
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetObjectKeyPrefix(ObjectKeyPrefixT &&value)
AWS_TIMESTREAMQUERY_API S3Configuration()=default
S3Configuration & WithObjectKeyPrefix(ObjectKeyPrefixT &&value)
AWS_TIMESTREAMQUERY_API S3Configuration(Aws::Utils::Json::JsonView jsonValue)
S3Configuration & WithBucketName(BucketNameT &&value)
void SetEncryptionOption(S3EncryptionOption value)
S3Configuration & WithEncryptionOption(S3EncryptionOption value)
const Aws::String & GetObjectKeyPrefix() const
AWS_TIMESTREAMQUERY_API S3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3EncryptionOption GetEncryptionOption() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue