AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOutputLocation(const Aws::String& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
60 inline void SetOutputLocation(Aws::String&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
61 inline void SetOutputLocation(const char* value) { m_outputLocationHasBeenSet = true; m_outputLocation.assign(value); }
62 inline ResultConfiguration& WithOutputLocation(const Aws::String& value) { SetOutputLocation(value); return *this;}
63 inline ResultConfiguration& WithOutputLocation(Aws::String&& value) { SetOutputLocation(std::move(value)); return *this;}
64 inline ResultConfiguration& WithOutputLocation(const char* value) { SetOutputLocation(value); return *this;}
66
68
79 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
80 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
81 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
82 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
86
88
103 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
104 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
105 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
106 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
107 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
109 inline ResultConfiguration& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
110 inline ResultConfiguration& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
112
114
125 inline const AclConfiguration& GetAclConfiguration() const{ return m_aclConfiguration; }
126 inline bool AclConfigurationHasBeenSet() const { return m_aclConfigurationHasBeenSet; }
127 inline void SetAclConfiguration(const AclConfiguration& value) { m_aclConfigurationHasBeenSet = true; m_aclConfiguration = value; }
128 inline void SetAclConfiguration(AclConfiguration&& value) { m_aclConfigurationHasBeenSet = true; m_aclConfiguration = std::move(value); }
130 inline ResultConfiguration& WithAclConfiguration(AclConfiguration&& value) { SetAclConfiguration(std::move(value)); return *this;}
132 private:
133
134 Aws::String m_outputLocation;
135 bool m_outputLocationHasBeenSet = false;
136
137 EncryptionConfiguration m_encryptionConfiguration;
138 bool m_encryptionConfigurationHasBeenSet = false;
139
140 Aws::String m_expectedBucketOwner;
141 bool m_expectedBucketOwnerHasBeenSet = false;
142
143 AclConfiguration m_aclConfiguration;
144 bool m_aclConfigurationHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Athena
149} // namespace Aws
AWS_ATHENA_API ResultConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
ResultConfiguration & WithExpectedBucketOwner(const Aws::String &value)
ResultConfiguration & WithExpectedBucketOwner(Aws::String &&value)
void SetExpectedBucketOwner(const Aws::String &value)
ResultConfiguration & WithOutputLocation(const char *value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetAclConfiguration(AclConfiguration &&value)
ResultConfiguration & WithExpectedBucketOwner(const char *value)
const Aws::String & GetOutputLocation() const
const Aws::String & GetExpectedBucketOwner() const
const AclConfiguration & GetAclConfiguration() const
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
void SetExpectedBucketOwner(Aws::String &&value)
ResultConfiguration & WithOutputLocation(Aws::String &&value)
void SetOutputLocation(const Aws::String &value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
ResultConfiguration & WithAclConfiguration(const AclConfiguration &value)
AWS_ATHENA_API ResultConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ResultConfiguration & WithAclConfiguration(AclConfiguration &&value)
ResultConfiguration & WithEncryptionConfiguration(const EncryptionConfiguration &value)
void SetAclConfiguration(const AclConfiguration &value)
ResultConfiguration & WithEncryptionConfiguration(EncryptionConfiguration &&value)
ResultConfiguration & WithOutputLocation(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue