AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Configuration.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-query/model/S3EncryptionOption.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TimestreamQuery
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TIMESTREAMQUERY_API S3Configuration() = default;
39 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucketName() const { return m_bucketName; }
47 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
48 template<typename BucketNameT = Aws::String>
49 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
50 template<typename BucketNameT = Aws::String>
51 S3Configuration& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
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>
62 void SetObjectKeyPrefix(ObjectKeyPrefixT&& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::forward<ObjectKeyPrefixT>(value); }
63 template<typename ObjectKeyPrefixT = Aws::String>
64 S3Configuration& WithObjectKeyPrefix(ObjectKeyPrefixT&& value) { SetObjectKeyPrefix(std::forward<ObjectKeyPrefixT>(value)); return *this;}
66
68
72 inline S3EncryptionOption GetEncryptionOption() const { return m_encryptionOption; }
73 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
74 inline void SetEncryptionOption(S3EncryptionOption value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
77 private:
78
79 Aws::String m_bucketName;
80 bool m_bucketNameHasBeenSet = false;
81
82 Aws::String m_objectKeyPrefix;
83 bool m_objectKeyPrefixHasBeenSet = false;
84
86 bool m_encryptionOptionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace TimestreamQuery
91} // 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