AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ResultConfigurationUpdates.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/AclConfiguration.h>
9#include <aws/athena/model/EncryptionConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Athena {
22namespace Model {
23
32 public:
33 AWS_ATHENA_API ResultConfigurationUpdates() = default;
36 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
49 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
50 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
51 template <typename OutputLocationT = Aws::String>
52 void SetOutputLocation(OutputLocationT&& value) {
53 m_outputLocationHasBeenSet = true;
54 m_outputLocation = std::forward<OutputLocationT>(value);
55 }
56 template <typename OutputLocationT = Aws::String>
58 SetOutputLocation(std::forward<OutputLocationT>(value));
59 return *this;
60 }
62
64
75 inline bool GetRemoveOutputLocation() const { return m_removeOutputLocation; }
76 inline bool RemoveOutputLocationHasBeenSet() const { return m_removeOutputLocationHasBeenSet; }
77 inline void SetRemoveOutputLocation(bool value) {
78 m_removeOutputLocationHasBeenSet = true;
79 m_removeOutputLocation = value;
80 }
83 return *this;
84 }
86
88
91 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
92 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
93 template <typename EncryptionConfigurationT = EncryptionConfiguration>
94 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
95 m_encryptionConfigurationHasBeenSet = true;
96 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
97 }
98 template <typename EncryptionConfigurationT = EncryptionConfiguration>
99 ResultConfigurationUpdates& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
100 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
101 return *this;
102 }
104
106
118 inline bool GetRemoveEncryptionConfiguration() const { return m_removeEncryptionConfiguration; }
119 inline bool RemoveEncryptionConfigurationHasBeenSet() const { return m_removeEncryptionConfigurationHasBeenSet; }
120 inline void SetRemoveEncryptionConfiguration(bool value) {
121 m_removeEncryptionConfigurationHasBeenSet = true;
122 m_removeEncryptionConfiguration = value;
123 }
126 return *this;
127 }
129
131
146 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
147 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
148 template <typename ExpectedBucketOwnerT = Aws::String>
149 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
150 m_expectedBucketOwnerHasBeenSet = true;
151 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
152 }
153 template <typename ExpectedBucketOwnerT = Aws::String>
155 SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value));
156 return *this;
157 }
159
161
172 inline bool GetRemoveExpectedBucketOwner() const { return m_removeExpectedBucketOwner; }
173 inline bool RemoveExpectedBucketOwnerHasBeenSet() const { return m_removeExpectedBucketOwnerHasBeenSet; }
174 inline void SetRemoveExpectedBucketOwner(bool value) {
175 m_removeExpectedBucketOwnerHasBeenSet = true;
176 m_removeExpectedBucketOwner = value;
177 }
180 return *this;
181 }
183
185
188 inline const AclConfiguration& GetAclConfiguration() const { return m_aclConfiguration; }
189 inline bool AclConfigurationHasBeenSet() const { return m_aclConfigurationHasBeenSet; }
190 template <typename AclConfigurationT = AclConfiguration>
191 void SetAclConfiguration(AclConfigurationT&& value) {
192 m_aclConfigurationHasBeenSet = true;
193 m_aclConfiguration = std::forward<AclConfigurationT>(value);
194 }
195 template <typename AclConfigurationT = AclConfiguration>
197 SetAclConfiguration(std::forward<AclConfigurationT>(value));
198 return *this;
199 }
201
203
214 inline bool GetRemoveAclConfiguration() const { return m_removeAclConfiguration; }
215 inline bool RemoveAclConfigurationHasBeenSet() const { return m_removeAclConfigurationHasBeenSet; }
216 inline void SetRemoveAclConfiguration(bool value) {
217 m_removeAclConfigurationHasBeenSet = true;
218 m_removeAclConfiguration = value;
219 }
222 return *this;
223 }
225 private:
226 Aws::String m_outputLocation;
227
228 bool m_removeOutputLocation{false};
229
230 EncryptionConfiguration m_encryptionConfiguration;
231
232 bool m_removeEncryptionConfiguration{false};
233
234 Aws::String m_expectedBucketOwner;
235
236 bool m_removeExpectedBucketOwner{false};
237
238 AclConfiguration m_aclConfiguration;
239
240 bool m_removeAclConfiguration{false};
241 bool m_outputLocationHasBeenSet = false;
242 bool m_removeOutputLocationHasBeenSet = false;
243 bool m_encryptionConfigurationHasBeenSet = false;
244 bool m_removeEncryptionConfigurationHasBeenSet = false;
245 bool m_expectedBucketOwnerHasBeenSet = false;
246 bool m_removeExpectedBucketOwnerHasBeenSet = false;
247 bool m_aclConfigurationHasBeenSet = false;
248 bool m_removeAclConfigurationHasBeenSet = false;
249};
250
251} // namespace Model
252} // namespace Athena
253} // namespace Aws
AWS_ATHENA_API ResultConfigurationUpdates & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_ATHENA_API ResultConfigurationUpdates()=default
ResultConfigurationUpdates & WithRemoveExpectedBucketOwner(bool value)
ResultConfigurationUpdates & WithRemoveAclConfiguration(bool value)
ResultConfigurationUpdates & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
ResultConfigurationUpdates & WithRemoveEncryptionConfiguration(bool value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
ResultConfigurationUpdates & WithAclConfiguration(AclConfigurationT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
ResultConfigurationUpdates & WithRemoveOutputLocation(bool value)
ResultConfigurationUpdates & WithOutputLocation(OutputLocationT &&value)
AWS_ATHENA_API ResultConfigurationUpdates(Aws::Utils::Json::JsonView jsonValue)
ResultConfigurationUpdates & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue