AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ResultConfigurationUpdates.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/EncryptionConfiguration.h>
10#include <aws/athena/model/AclConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Athena
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_ATHENA_API ResultConfigurationUpdates() = default;
41 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
55 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
56 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
57 template<typename OutputLocationT = Aws::String>
58 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
59 template<typename OutputLocationT = Aws::String>
60 ResultConfigurationUpdates& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
62
64
75 inline bool GetRemoveOutputLocation() const { return m_removeOutputLocation; }
76 inline bool RemoveOutputLocationHasBeenSet() const { return m_removeOutputLocationHasBeenSet; }
77 inline void SetRemoveOutputLocation(bool value) { m_removeOutputLocationHasBeenSet = true; m_removeOutputLocation = value; }
80
82
85 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
86 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
87 template<typename EncryptionConfigurationT = EncryptionConfiguration>
88 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
89 template<typename EncryptionConfigurationT = EncryptionConfiguration>
90 ResultConfigurationUpdates& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
92
94
106 inline bool GetRemoveEncryptionConfiguration() const { return m_removeEncryptionConfiguration; }
107 inline bool RemoveEncryptionConfigurationHasBeenSet() const { return m_removeEncryptionConfigurationHasBeenSet; }
108 inline void SetRemoveEncryptionConfiguration(bool value) { m_removeEncryptionConfigurationHasBeenSet = true; m_removeEncryptionConfiguration = value; }
111
113
128 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
129 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
130 template<typename ExpectedBucketOwnerT = Aws::String>
131 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
132 template<typename ExpectedBucketOwnerT = Aws::String>
133 ResultConfigurationUpdates& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) { SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value)); return *this;}
135
137
148 inline bool GetRemoveExpectedBucketOwner() const { return m_removeExpectedBucketOwner; }
149 inline bool RemoveExpectedBucketOwnerHasBeenSet() const { return m_removeExpectedBucketOwnerHasBeenSet; }
150 inline void SetRemoveExpectedBucketOwner(bool value) { m_removeExpectedBucketOwnerHasBeenSet = true; m_removeExpectedBucketOwner = value; }
153
155
158 inline const AclConfiguration& GetAclConfiguration() const { return m_aclConfiguration; }
159 inline bool AclConfigurationHasBeenSet() const { return m_aclConfigurationHasBeenSet; }
160 template<typename AclConfigurationT = AclConfiguration>
161 void SetAclConfiguration(AclConfigurationT&& value) { m_aclConfigurationHasBeenSet = true; m_aclConfiguration = std::forward<AclConfigurationT>(value); }
162 template<typename AclConfigurationT = AclConfiguration>
163 ResultConfigurationUpdates& WithAclConfiguration(AclConfigurationT&& value) { SetAclConfiguration(std::forward<AclConfigurationT>(value)); return *this;}
165
167
178 inline bool GetRemoveAclConfiguration() const { return m_removeAclConfiguration; }
179 inline bool RemoveAclConfigurationHasBeenSet() const { return m_removeAclConfigurationHasBeenSet; }
180 inline void SetRemoveAclConfiguration(bool value) { m_removeAclConfigurationHasBeenSet = true; m_removeAclConfiguration = value; }
183 private:
184
185 Aws::String m_outputLocation;
186 bool m_outputLocationHasBeenSet = false;
187
188 bool m_removeOutputLocation{false};
189 bool m_removeOutputLocationHasBeenSet = false;
190
191 EncryptionConfiguration m_encryptionConfiguration;
192 bool m_encryptionConfigurationHasBeenSet = false;
193
194 bool m_removeEncryptionConfiguration{false};
195 bool m_removeEncryptionConfigurationHasBeenSet = false;
196
197 Aws::String m_expectedBucketOwner;
198 bool m_expectedBucketOwnerHasBeenSet = false;
199
200 bool m_removeExpectedBucketOwner{false};
201 bool m_removeExpectedBucketOwnerHasBeenSet = false;
202
203 AclConfiguration m_aclConfiguration;
204 bool m_aclConfigurationHasBeenSet = false;
205
206 bool m_removeAclConfiguration{false};
207 bool m_removeAclConfigurationHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace Athena
212} // 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