AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ProtectedQueryS3OutputConfiguration.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ResultFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CleanRooms {
21namespace Model {
22
30 public:
31 AWS_CLEANROOMS_API ProtectedQueryS3OutputConfiguration() = default;
34 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ResultFormat GetResultFormat() const { return m_resultFormat; }
41 inline bool ResultFormatHasBeenSet() const { return m_resultFormatHasBeenSet; }
42 inline void SetResultFormat(ResultFormat value) {
43 m_resultFormatHasBeenSet = true;
44 m_resultFormat = value;
45 }
47 SetResultFormat(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBucket() const { return m_bucket; }
57 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
58 template <typename BucketT = Aws::String>
59 void SetBucket(BucketT&& value) {
60 m_bucketHasBeenSet = true;
61 m_bucket = std::forward<BucketT>(value);
62 }
63 template <typename BucketT = Aws::String>
65 SetBucket(std::forward<BucketT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetKeyPrefix() const { return m_keyPrefix; }
75 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
76 template <typename KeyPrefixT = Aws::String>
77 void SetKeyPrefix(KeyPrefixT&& value) {
78 m_keyPrefixHasBeenSet = true;
79 m_keyPrefix = std::forward<KeyPrefixT>(value);
80 }
81 template <typename KeyPrefixT = Aws::String>
83 SetKeyPrefix(std::forward<KeyPrefixT>(value));
84 return *this;
85 }
87
89
94 inline bool GetSingleFileOutput() const { return m_singleFileOutput; }
95 inline bool SingleFileOutputHasBeenSet() const { return m_singleFileOutputHasBeenSet; }
96 inline void SetSingleFileOutput(bool value) {
97 m_singleFileOutputHasBeenSet = true;
98 m_singleFileOutput = value;
99 }
101 SetSingleFileOutput(value);
102 return *this;
103 }
105 private:
106 ResultFormat m_resultFormat{ResultFormat::NOT_SET};
107
108 Aws::String m_bucket;
109
110 Aws::String m_keyPrefix;
111
112 bool m_singleFileOutput{false};
113 bool m_resultFormatHasBeenSet = false;
114 bool m_bucketHasBeenSet = false;
115 bool m_keyPrefixHasBeenSet = false;
116 bool m_singleFileOutputHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace CleanRooms
121} // namespace Aws
ProtectedQueryS3OutputConfiguration & WithKeyPrefix(KeyPrefixT &&value)
AWS_CLEANROOMS_API ProtectedQueryS3OutputConfiguration()=default
AWS_CLEANROOMS_API ProtectedQueryS3OutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API ProtectedQueryS3OutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtectedQueryS3OutputConfiguration & WithBucket(BucketT &&value)
ProtectedQueryS3OutputConfiguration & WithResultFormat(ResultFormat value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue