AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ResultConfiguration.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
38 {
39 public:
40 AWS_ATHENA_API ResultConfiguration() = default;
43 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
57 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
58 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
59 template<typename OutputLocationT = Aws::String>
60 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
61 template<typename OutputLocationT = Aws::String>
62 ResultConfiguration& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
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) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
81 template<typename EncryptionConfigurationT = EncryptionConfiguration>
82 ResultConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
84
86
101 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
102 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
103 template<typename ExpectedBucketOwnerT = Aws::String>
104 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
105 template<typename ExpectedBucketOwnerT = Aws::String>
106 ResultConfiguration& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) { SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value)); return *this;}
108
110
121 inline const AclConfiguration& GetAclConfiguration() const { return m_aclConfiguration; }
122 inline bool AclConfigurationHasBeenSet() const { return m_aclConfigurationHasBeenSet; }
123 template<typename AclConfigurationT = AclConfiguration>
124 void SetAclConfiguration(AclConfigurationT&& value) { m_aclConfigurationHasBeenSet = true; m_aclConfiguration = std::forward<AclConfigurationT>(value); }
125 template<typename AclConfigurationT = AclConfiguration>
126 ResultConfiguration& WithAclConfiguration(AclConfigurationT&& value) { SetAclConfiguration(std::forward<AclConfigurationT>(value)); return *this;}
128 private:
129
130 Aws::String m_outputLocation;
131 bool m_outputLocationHasBeenSet = false;
132
133 EncryptionConfiguration m_encryptionConfiguration;
134 bool m_encryptionConfigurationHasBeenSet = false;
135
136 Aws::String m_expectedBucketOwner;
137 bool m_expectedBucketOwnerHasBeenSet = false;
138
139 AclConfiguration m_aclConfiguration;
140 bool m_aclConfigurationHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Athena
145} // 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