AWS SDK for C++  1.9.158
AWS SDK for C++
EncryptionConfiguration.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 
35  {
36  public:
41 
42 
52  inline const EncryptionOption& GetEncryptionOption() const{ return m_encryptionOption; }
53 
63  inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
64 
74  inline void SetEncryptionOption(const EncryptionOption& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
75 
85  inline void SetEncryptionOption(EncryptionOption&& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = std::move(value); }
86 
96  inline EncryptionConfiguration& WithEncryptionOption(const EncryptionOption& value) { SetEncryptionOption(value); return *this;}
97 
107  inline EncryptionConfiguration& WithEncryptionOption(EncryptionOption&& value) { SetEncryptionOption(std::move(value)); return *this;}
108 
109 
114  inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
115 
120  inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
121 
126  inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
127 
132  inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
133 
138  inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
139 
144  inline EncryptionConfiguration& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
145 
150  inline EncryptionConfiguration& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
151 
156  inline EncryptionConfiguration& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
157 
158  private:
159 
160  EncryptionOption m_encryptionOption;
161  bool m_encryptionOptionHasBeenSet;
162 
163  Aws::String m_kmsKey;
164  bool m_kmsKeyHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace Athena
169 } // namespace Aws
Aws::Athena::Model::EncryptionConfiguration::EncryptionConfiguration
EncryptionConfiguration()
Aws::Athena::Model::EncryptionConfiguration::WithEncryptionOption
EncryptionConfiguration & WithEncryptionOption(EncryptionOption &&value)
Definition: EncryptionConfiguration.h:107
Aws::Athena::Model::EncryptionConfiguration::SetKmsKey
void SetKmsKey(const Aws::String &value)
Definition: EncryptionConfiguration.h:126
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::EncryptionConfiguration
Definition: EncryptionConfiguration.h:35
Aws::Athena::Model::EncryptionConfiguration::KmsKeyHasBeenSet
bool KmsKeyHasBeenSet() const
Definition: EncryptionConfiguration.h:120
EncryptionOption.h
Aws::Athena::Model::EncryptionOption
EncryptionOption
Definition: EncryptionOption.h:17
Aws::Athena::Model::EncryptionConfiguration::GetKmsKey
const Aws::String & GetKmsKey() const
Definition: EncryptionConfiguration.h:114
Aws::Athena::Model::EncryptionConfiguration::SetKmsKey
void SetKmsKey(const char *value)
Definition: EncryptionConfiguration.h:138
Aws::Athena::Model::EncryptionConfiguration::SetEncryptionOption
void SetEncryptionOption(const EncryptionOption &value)
Definition: EncryptionConfiguration.h:74
Aws::Athena::Model::EncryptionConfiguration::operator=
EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::EncryptionConfiguration::WithKmsKey
EncryptionConfiguration & WithKmsKey(const Aws::String &value)
Definition: EncryptionConfiguration.h:144
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::EncryptionConfiguration::WithKmsKey
EncryptionConfiguration & WithKmsKey(const char *value)
Definition: EncryptionConfiguration.h:156
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::EncryptionConfiguration::WithEncryptionOption
EncryptionConfiguration & WithEncryptionOption(const EncryptionOption &value)
Definition: EncryptionConfiguration.h:96
Aws::Athena::Model::EncryptionConfiguration::SetEncryptionOption
void SetEncryptionOption(EncryptionOption &&value)
Definition: EncryptionConfiguration.h:85
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Athena::Model::EncryptionConfiguration::SetKmsKey
void SetKmsKey(Aws::String &&value)
Definition: EncryptionConfiguration.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::EncryptionConfiguration::EncryptionConfiguration
EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::EncryptionConfiguration::WithKmsKey
EncryptionConfiguration & WithKmsKey(Aws::String &&value)
Definition: EncryptionConfiguration.h:150
Aws::Athena::Model::EncryptionConfiguration::GetEncryptionOption
const EncryptionOption & GetEncryptionOption() const
Definition: EncryptionConfiguration.h:52
Aws::Athena::Model::EncryptionConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::EncryptionConfiguration::EncryptionOptionHasBeenSet
bool EncryptionOptionHasBeenSet() const
Definition: EncryptionConfiguration.h:63