AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ReportS3Configuration.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-write/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 TimestreamWrite
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TIMESTREAMWRITE_API ReportS3Configuration() = default;
36 AWS_TIMESTREAMWRITE_API ReportS3Configuration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TIMESTREAMWRITE_API ReportS3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucketName() const { return m_bucketName; }
46 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
47 template<typename BucketNameT = Aws::String>
48 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
49 template<typename BucketNameT = Aws::String>
50 ReportS3Configuration& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetObjectKeyPrefix() const { return m_objectKeyPrefix; }
58 inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; }
59 template<typename ObjectKeyPrefixT = Aws::String>
60 void SetObjectKeyPrefix(ObjectKeyPrefixT&& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::forward<ObjectKeyPrefixT>(value); }
61 template<typename ObjectKeyPrefixT = Aws::String>
62 ReportS3Configuration& WithObjectKeyPrefix(ObjectKeyPrefixT&& value) { SetObjectKeyPrefix(std::forward<ObjectKeyPrefixT>(value)); return *this;}
64
66
69 inline S3EncryptionOption GetEncryptionOption() const { return m_encryptionOption; }
70 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
71 inline void SetEncryptionOption(S3EncryptionOption value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
74
76
79 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
80 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
81 template<typename KmsKeyIdT = Aws::String>
82 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
83 template<typename KmsKeyIdT = Aws::String>
84 ReportS3Configuration& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
86 private:
87
88 Aws::String m_bucketName;
89 bool m_bucketNameHasBeenSet = false;
90
91 Aws::String m_objectKeyPrefix;
92 bool m_objectKeyPrefixHasBeenSet = false;
93
95 bool m_encryptionOptionHasBeenSet = false;
96
97 Aws::String m_kmsKeyId;
98 bool m_kmsKeyIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace TimestreamWrite
103} // namespace Aws
ReportS3Configuration & WithKmsKeyId(KmsKeyIdT &&value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
ReportS3Configuration & WithObjectKeyPrefix(ObjectKeyPrefixT &&value)
AWS_TIMESTREAMWRITE_API ReportS3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API ReportS3Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API ReportS3Configuration()=default
ReportS3Configuration & WithEncryptionOption(S3EncryptionOption value)
ReportS3Configuration & WithBucketName(BucketNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue