AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37 AWS_TIMESTREAMQUERY_API S3Configuration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMQUERY_API S3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
49 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
50 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
51 inline S3Configuration& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
52 inline S3Configuration& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
53 inline S3Configuration& WithBucketName(const char* value) { SetBucketName(value); return *this;}
55
57
61 inline const Aws::String& GetObjectKeyPrefix() const{ return m_objectKeyPrefix; }
62 inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; }
63 inline void SetObjectKeyPrefix(const Aws::String& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = value; }
64 inline void SetObjectKeyPrefix(Aws::String&& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::move(value); }
65 inline void SetObjectKeyPrefix(const char* value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix.assign(value); }
66 inline S3Configuration& WithObjectKeyPrefix(const Aws::String& value) { SetObjectKeyPrefix(value); return *this;}
67 inline S3Configuration& WithObjectKeyPrefix(Aws::String&& value) { SetObjectKeyPrefix(std::move(value)); return *this;}
68 inline S3Configuration& WithObjectKeyPrefix(const char* value) { SetObjectKeyPrefix(value); return *this;}
70
72
76 inline const S3EncryptionOption& GetEncryptionOption() const{ return m_encryptionOption; }
77 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
78 inline void SetEncryptionOption(const S3EncryptionOption& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
79 inline void SetEncryptionOption(S3EncryptionOption&& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = std::move(value); }
80 inline S3Configuration& WithEncryptionOption(const S3EncryptionOption& value) { SetEncryptionOption(value); return *this;}
81 inline S3Configuration& WithEncryptionOption(S3EncryptionOption&& value) { SetEncryptionOption(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_bucketName;
86 bool m_bucketNameHasBeenSet = false;
87
88 Aws::String m_objectKeyPrefix;
89 bool m_objectKeyPrefixHasBeenSet = false;
90
91 S3EncryptionOption m_encryptionOption;
92 bool m_encryptionOptionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace TimestreamQuery
97} // namespace Aws
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API S3Configuration()
S3Configuration & WithEncryptionOption(const S3EncryptionOption &value)
AWS_TIMESTREAMQUERY_API S3Configuration(Aws::Utils::Json::JsonView jsonValue)
S3Configuration & WithObjectKeyPrefix(const char *value)
void SetEncryptionOption(S3EncryptionOption &&value)
S3Configuration & WithBucketName(const Aws::String &value)
S3Configuration & WithBucketName(Aws::String &&value)
S3Configuration & WithEncryptionOption(S3EncryptionOption &&value)
S3Configuration & WithObjectKeyPrefix(const Aws::String &value)
const Aws::String & GetObjectKeyPrefix() const
S3Configuration & WithObjectKeyPrefix(Aws::String &&value)
AWS_TIMESTREAMQUERY_API S3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObjectKeyPrefix(const Aws::String &value)
S3Configuration & WithBucketName(const char *value)
void SetBucketName(const Aws::String &value)
const S3EncryptionOption & GetEncryptionOption() const
void SetEncryptionOption(const S3EncryptionOption &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue