AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 CleanRooms
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLEANROOMS_API ProtectedQueryS3OutputConfiguration() = default;
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline ResultFormat GetResultFormat() const { return m_resultFormat; }
47 inline bool ResultFormatHasBeenSet() const { return m_resultFormatHasBeenSet; }
48 inline void SetResultFormat(ResultFormat value) { m_resultFormatHasBeenSet = true; m_resultFormat = value; }
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) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
60 template<typename BucketT = Aws::String>
61 ProtectedQueryS3OutputConfiguration& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
63
65
68 inline const Aws::String& GetKeyPrefix() const { return m_keyPrefix; }
69 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
70 template<typename KeyPrefixT = Aws::String>
71 void SetKeyPrefix(KeyPrefixT&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::forward<KeyPrefixT>(value); }
72 template<typename KeyPrefixT = Aws::String>
73 ProtectedQueryS3OutputConfiguration& WithKeyPrefix(KeyPrefixT&& value) { SetKeyPrefix(std::forward<KeyPrefixT>(value)); return *this;}
75
77
82 inline bool GetSingleFileOutput() const { return m_singleFileOutput; }
83 inline bool SingleFileOutputHasBeenSet() const { return m_singleFileOutputHasBeenSet; }
84 inline void SetSingleFileOutput(bool value) { m_singleFileOutputHasBeenSet = true; m_singleFileOutput = value; }
87 private:
88
89 ResultFormat m_resultFormat{ResultFormat::NOT_SET};
90 bool m_resultFormatHasBeenSet = false;
91
92 Aws::String m_bucket;
93 bool m_bucketHasBeenSet = false;
94
95 Aws::String m_keyPrefix;
96 bool m_keyPrefixHasBeenSet = false;
97
98 bool m_singleFileOutput{false};
99 bool m_singleFileOutputHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CleanRooms
104} // namespace Aws
ProtectedQueryS3OutputConfiguration & WithKeyPrefix(KeyPrefixT &&value)
AWS_CLEANROOMS_API ProtectedQueryS3OutputConfiguration()=default
AWS_CLEANROOMS_API ProtectedQueryS3OutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
ProtectedQueryS3OutputConfiguration & WithSingleFileOutput(bool value)
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