AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetOutputLocation(const Aws::String& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
58 inline void SetOutputLocation(Aws::String&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
59 inline void SetOutputLocation(const char* value) { m_outputLocationHasBeenSet = true; m_outputLocation.assign(value); }
60 inline ResultConfigurationUpdates& WithOutputLocation(const Aws::String& value) { SetOutputLocation(value); return *this;}
61 inline ResultConfigurationUpdates& WithOutputLocation(Aws::String&& value) { SetOutputLocation(std::move(value)); return *this;}
62 inline ResultConfigurationUpdates& WithOutputLocation(const char* value) { SetOutputLocation(value); return *this;}
64
66
77 inline bool GetRemoveOutputLocation() const{ return m_removeOutputLocation; }
78 inline bool RemoveOutputLocationHasBeenSet() const { return m_removeOutputLocationHasBeenSet; }
79 inline void SetRemoveOutputLocation(bool value) { m_removeOutputLocationHasBeenSet = true; m_removeOutputLocation = value; }
82
84
87 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
88 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
89 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
90 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
94
96
108 inline bool GetRemoveEncryptionConfiguration() const{ return m_removeEncryptionConfiguration; }
109 inline bool RemoveEncryptionConfigurationHasBeenSet() const { return m_removeEncryptionConfigurationHasBeenSet; }
110 inline void SetRemoveEncryptionConfiguration(bool value) { m_removeEncryptionConfigurationHasBeenSet = true; m_removeEncryptionConfiguration = value; }
113
115
130 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
131 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
132 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
133 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
134 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
137 inline ResultConfigurationUpdates& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
139
141
152 inline bool GetRemoveExpectedBucketOwner() const{ return m_removeExpectedBucketOwner; }
153 inline bool RemoveExpectedBucketOwnerHasBeenSet() const { return m_removeExpectedBucketOwnerHasBeenSet; }
154 inline void SetRemoveExpectedBucketOwner(bool value) { m_removeExpectedBucketOwnerHasBeenSet = true; m_removeExpectedBucketOwner = value; }
157
159
162 inline const AclConfiguration& GetAclConfiguration() const{ return m_aclConfiguration; }
163 inline bool AclConfigurationHasBeenSet() const { return m_aclConfigurationHasBeenSet; }
164 inline void SetAclConfiguration(const AclConfiguration& value) { m_aclConfigurationHasBeenSet = true; m_aclConfiguration = value; }
165 inline void SetAclConfiguration(AclConfiguration&& value) { m_aclConfigurationHasBeenSet = true; m_aclConfiguration = std::move(value); }
167 inline ResultConfigurationUpdates& WithAclConfiguration(AclConfiguration&& value) { SetAclConfiguration(std::move(value)); return *this;}
169
171
182 inline bool GetRemoveAclConfiguration() const{ return m_removeAclConfiguration; }
183 inline bool RemoveAclConfigurationHasBeenSet() const { return m_removeAclConfigurationHasBeenSet; }
184 inline void SetRemoveAclConfiguration(bool value) { m_removeAclConfigurationHasBeenSet = true; m_removeAclConfiguration = value; }
187 private:
188
189 Aws::String m_outputLocation;
190 bool m_outputLocationHasBeenSet = false;
191
192 bool m_removeOutputLocation;
193 bool m_removeOutputLocationHasBeenSet = false;
194
195 EncryptionConfiguration m_encryptionConfiguration;
196 bool m_encryptionConfigurationHasBeenSet = false;
197
198 bool m_removeEncryptionConfiguration;
199 bool m_removeEncryptionConfigurationHasBeenSet = false;
200
201 Aws::String m_expectedBucketOwner;
202 bool m_expectedBucketOwnerHasBeenSet = false;
203
204 bool m_removeExpectedBucketOwner;
205 bool m_removeExpectedBucketOwnerHasBeenSet = false;
206
207 AclConfiguration m_aclConfiguration;
208 bool m_aclConfigurationHasBeenSet = false;
209
210 bool m_removeAclConfiguration;
211 bool m_removeAclConfigurationHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace Athena
216} // namespace Aws
AWS_ATHENA_API ResultConfigurationUpdates & operator=(Aws::Utils::Json::JsonView jsonValue)
ResultConfigurationUpdates & WithRemoveExpectedBucketOwner(bool value)
ResultConfigurationUpdates & WithExpectedBucketOwner(const char *value)
ResultConfigurationUpdates & WithOutputLocation(const Aws::String &value)
ResultConfigurationUpdates & WithRemoveAclConfiguration(bool value)
void SetAclConfiguration(const AclConfiguration &value)
ResultConfigurationUpdates & WithOutputLocation(Aws::String &&value)
ResultConfigurationUpdates & WithRemoveEncryptionConfiguration(bool value)
ResultConfigurationUpdates & WithAclConfiguration(const AclConfiguration &value)
ResultConfigurationUpdates & WithAclConfiguration(AclConfiguration &&value)
ResultConfigurationUpdates & WithEncryptionConfiguration(const EncryptionConfiguration &value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
ResultConfigurationUpdates & WithRemoveOutputLocation(bool value)
ResultConfigurationUpdates & WithOutputLocation(const char *value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
AWS_ATHENA_API ResultConfigurationUpdates(Aws::Utils::Json::JsonView jsonValue)
ResultConfigurationUpdates & WithExpectedBucketOwner(Aws::String &&value)
ResultConfigurationUpdates & WithEncryptionConfiguration(EncryptionConfiguration &&value)
ResultConfigurationUpdates & WithExpectedBucketOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue