AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ResultConfiguration.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
34 public:
35 AWS_ATHENA_API ResultConfiguration() = default;
38 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
51 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
52 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
53 template <typename OutputLocationT = Aws::String>
54 void SetOutputLocation(OutputLocationT&& value) {
55 m_outputLocationHasBeenSet = true;
56 m_outputLocation = std::forward<OutputLocationT>(value);
57 }
58 template <typename OutputLocationT = Aws::String>
59 ResultConfiguration& WithOutputLocation(OutputLocationT&& value) {
60 SetOutputLocation(std::forward<OutputLocationT>(value));
61 return *this;
62 }
64
66
77 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
78 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
79 template <typename EncryptionConfigurationT = EncryptionConfiguration>
80 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
81 m_encryptionConfigurationHasBeenSet = true;
82 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
83 }
84 template <typename EncryptionConfigurationT = EncryptionConfiguration>
85 ResultConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
86 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
87 return *this;
88 }
90
92
107 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
108 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
109 template <typename ExpectedBucketOwnerT = Aws::String>
110 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
111 m_expectedBucketOwnerHasBeenSet = true;
112 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
113 }
114 template <typename ExpectedBucketOwnerT = Aws::String>
115 ResultConfiguration& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
116 SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value));
117 return *this;
118 }
120
122
133 inline const AclConfiguration& GetAclConfiguration() const { return m_aclConfiguration; }
134 inline bool AclConfigurationHasBeenSet() const { return m_aclConfigurationHasBeenSet; }
135 template <typename AclConfigurationT = AclConfiguration>
136 void SetAclConfiguration(AclConfigurationT&& value) {
137 m_aclConfigurationHasBeenSet = true;
138 m_aclConfiguration = std::forward<AclConfigurationT>(value);
139 }
140 template <typename AclConfigurationT = AclConfiguration>
141 ResultConfiguration& WithAclConfiguration(AclConfigurationT&& value) {
142 SetAclConfiguration(std::forward<AclConfigurationT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_outputLocation;
148
149 EncryptionConfiguration m_encryptionConfiguration;
150
151 Aws::String m_expectedBucketOwner;
152
153 AclConfiguration m_aclConfiguration;
154 bool m_outputLocationHasBeenSet = false;
155 bool m_encryptionConfigurationHasBeenSet = false;
156 bool m_expectedBucketOwnerHasBeenSet = false;
157 bool m_aclConfigurationHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace Athena
162} // namespace Aws
AWS_ATHENA_API ResultConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetAclConfiguration(AclConfigurationT &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputLocation(OutputLocationT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
ResultConfiguration & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
AWS_ATHENA_API ResultConfiguration()=default
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::String & GetOutputLocation() const
const Aws::String & GetExpectedBucketOwner() const
const AclConfiguration & GetAclConfiguration() const
ResultConfiguration & WithAclConfiguration(AclConfigurationT &&value)
ResultConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
ResultConfiguration & WithOutputLocation(OutputLocationT &&value)
AWS_ATHENA_API ResultConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue