AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
48 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
49 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
50 inline ReportS3Configuration& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
51 inline ReportS3Configuration& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
52 inline ReportS3Configuration& WithBucketName(const char* value) { SetBucketName(value); return *this;}
54
56
59 inline const Aws::String& GetObjectKeyPrefix() const{ return m_objectKeyPrefix; }
60 inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; }
61 inline void SetObjectKeyPrefix(const Aws::String& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = value; }
62 inline void SetObjectKeyPrefix(Aws::String&& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::move(value); }
63 inline void SetObjectKeyPrefix(const char* value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix.assign(value); }
64 inline ReportS3Configuration& WithObjectKeyPrefix(const Aws::String& value) { SetObjectKeyPrefix(value); return *this;}
65 inline ReportS3Configuration& WithObjectKeyPrefix(Aws::String&& value) { SetObjectKeyPrefix(std::move(value)); return *this;}
66 inline ReportS3Configuration& WithObjectKeyPrefix(const char* value) { SetObjectKeyPrefix(value); return *this;}
68
70
73 inline const S3EncryptionOption& GetEncryptionOption() const{ return m_encryptionOption; }
74 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
75 inline void SetEncryptionOption(const S3EncryptionOption& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
76 inline void SetEncryptionOption(S3EncryptionOption&& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = std::move(value); }
78 inline ReportS3Configuration& WithEncryptionOption(S3EncryptionOption&& value) { SetEncryptionOption(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
86 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
87 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
88 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
89 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
90 inline ReportS3Configuration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
91 inline ReportS3Configuration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
92 inline ReportS3Configuration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
94 private:
95
96 Aws::String m_bucketName;
97 bool m_bucketNameHasBeenSet = false;
98
99 Aws::String m_objectKeyPrefix;
100 bool m_objectKeyPrefixHasBeenSet = false;
101
102 S3EncryptionOption m_encryptionOption;
103 bool m_encryptionOptionHasBeenSet = false;
104
105 Aws::String m_kmsKeyId;
106 bool m_kmsKeyIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace TimestreamWrite
111} // namespace Aws
ReportS3Configuration & WithBucketName(const Aws::String &value)
ReportS3Configuration & WithKmsKeyId(Aws::String &&value)
const S3EncryptionOption & GetEncryptionOption() const
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
ReportS3Configuration & WithKmsKeyId(const char *value)
AWS_TIMESTREAMWRITE_API ReportS3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportS3Configuration & WithObjectKeyPrefix(const char *value)
ReportS3Configuration & WithEncryptionOption(S3EncryptionOption &&value)
ReportS3Configuration & WithObjectKeyPrefix(const Aws::String &value)
AWS_TIMESTREAMWRITE_API ReportS3Configuration(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionOption(const S3EncryptionOption &value)
ReportS3Configuration & WithObjectKeyPrefix(Aws::String &&value)
ReportS3Configuration & WithBucketName(Aws::String &&value)
ReportS3Configuration & WithBucketName(const char *value)
ReportS3Configuration & WithKmsKeyId(const Aws::String &value)
ReportS3Configuration & WithEncryptionOption(const S3EncryptionOption &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue