AWS SDK for C++  1.9.105
AWS SDK for C++
ResultConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Athena
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
56  inline const Aws::String& GetOutputLocation() const{ return m_outputLocation; }
57 
70  inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
71 
84  inline void SetOutputLocation(const Aws::String& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
85 
98  inline void SetOutputLocation(Aws::String&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
99 
112  inline void SetOutputLocation(const char* value) { m_outputLocationHasBeenSet = true; m_outputLocation.assign(value); }
113 
126  inline ResultConfiguration& WithOutputLocation(const Aws::String& value) { SetOutputLocation(value); return *this;}
127 
140  inline ResultConfiguration& WithOutputLocation(Aws::String&& value) { SetOutputLocation(std::move(value)); return *this;}
141 
154  inline ResultConfiguration& WithOutputLocation(const char* value) { SetOutputLocation(value); return *this;}
155 
156 
168  inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
169 
181  inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
182 
194  inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
195 
207  inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
208 
220  inline ResultConfiguration& WithEncryptionConfiguration(const EncryptionConfiguration& value) { SetEncryptionConfiguration(value); return *this;}
221 
233  inline ResultConfiguration& WithEncryptionConfiguration(EncryptionConfiguration&& value) { SetEncryptionConfiguration(std::move(value)); return *this;}
234 
235  private:
236 
237  Aws::String m_outputLocation;
238  bool m_outputLocationHasBeenSet;
239 
240  EncryptionConfiguration m_encryptionConfiguration;
241  bool m_encryptionConfigurationHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace Athena
246 } // namespace Aws
Aws::Athena::Model::ResultConfiguration::WithOutputLocation
ResultConfiguration & WithOutputLocation(const char *value)
Definition: ResultConfiguration.h:154
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::EncryptionConfiguration
Definition: EncryptionConfiguration.h:35
Aws::Athena::Model::ResultConfiguration::GetOutputLocation
const Aws::String & GetOutputLocation() const
Definition: ResultConfiguration.h:56
Aws::Athena::Model::ResultConfiguration::ResultConfiguration
ResultConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::ResultConfiguration::EncryptionConfigurationHasBeenSet
bool EncryptionConfigurationHasBeenSet() const
Definition: ResultConfiguration.h:181
Aws::Athena::Model::ResultConfiguration
Definition: ResultConfiguration.h:36
Aws::Athena::Model::ResultConfiguration::ResultConfiguration
ResultConfiguration()
Aws::Athena::Model::ResultConfiguration::SetOutputLocation
void SetOutputLocation(Aws::String &&value)
Definition: ResultConfiguration.h:98
Aws::Athena::Model::ResultConfiguration::SetOutputLocation
void SetOutputLocation(const Aws::String &value)
Definition: ResultConfiguration.h:84
Aws::Athena::Model::ResultConfiguration::OutputLocationHasBeenSet
bool OutputLocationHasBeenSet() const
Definition: ResultConfiguration.h:70
Aws::Athena::Model::ResultConfiguration::GetEncryptionConfiguration
const EncryptionConfiguration & GetEncryptionConfiguration() const
Definition: ResultConfiguration.h:168
EncryptionConfiguration.h
Aws::Athena::Model::ResultConfiguration::WithEncryptionConfiguration
ResultConfiguration & WithEncryptionConfiguration(const EncryptionConfiguration &value)
Definition: ResultConfiguration.h:220
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::ResultConfiguration::WithOutputLocation
ResultConfiguration & WithOutputLocation(Aws::String &&value)
Definition: ResultConfiguration.h:140
Aws::Athena::Model::ResultConfiguration::WithEncryptionConfiguration
ResultConfiguration & WithEncryptionConfiguration(EncryptionConfiguration &&value)
Definition: ResultConfiguration.h:233
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::ResultConfiguration::SetOutputLocation
void SetOutputLocation(const char *value)
Definition: ResultConfiguration.h:112
Aws::Athena::Model::ResultConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::ResultConfiguration::SetEncryptionConfiguration
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
Definition: ResultConfiguration.h:194
Aws::Athena::Model::ResultConfiguration::operator=
ResultConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::ResultConfiguration::WithOutputLocation
ResultConfiguration & WithOutputLocation(const Aws::String &value)
Definition: ResultConfiguration.h:126
Aws::Athena::Model::ResultConfiguration::SetEncryptionConfiguration
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
Definition: ResultConfiguration.h:207