AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchEncryption.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/CloudWatchEncryptionMode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API CloudWatchEncryption();
40
41
43
46 inline const CloudWatchEncryptionMode& GetCloudWatchEncryptionMode() const{ return m_cloudWatchEncryptionMode; }
47 inline bool CloudWatchEncryptionModeHasBeenSet() const { return m_cloudWatchEncryptionModeHasBeenSet; }
48 inline void SetCloudWatchEncryptionMode(const CloudWatchEncryptionMode& value) { m_cloudWatchEncryptionModeHasBeenSet = true; m_cloudWatchEncryptionMode = value; }
49 inline void SetCloudWatchEncryptionMode(CloudWatchEncryptionMode&& value) { m_cloudWatchEncryptionModeHasBeenSet = true; m_cloudWatchEncryptionMode = std::move(value); }
53
55
59 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
60 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
61 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
62 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
63 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
64 inline CloudWatchEncryption& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
65 inline CloudWatchEncryption& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
66 inline CloudWatchEncryption& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
68 private:
69
70 CloudWatchEncryptionMode m_cloudWatchEncryptionMode;
71 bool m_cloudWatchEncryptionModeHasBeenSet = false;
72
73 Aws::String m_kmsKeyArn;
74 bool m_kmsKeyArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
AWS_GLUE_API CloudWatchEncryption(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchEncryptionMode(const CloudWatchEncryptionMode &value)
AWS_GLUE_API CloudWatchEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchEncryption & WithKmsKeyArn(Aws::String &&value)
void SetKmsKeyArn(const Aws::String &value)
CloudWatchEncryption & WithKmsKeyArn(const char *value)
CloudWatchEncryption & WithCloudWatchEncryptionMode(const CloudWatchEncryptionMode &value)
CloudWatchEncryption & WithCloudWatchEncryptionMode(CloudWatchEncryptionMode &&value)
void SetCloudWatchEncryptionMode(CloudWatchEncryptionMode &&value)
CloudWatchEncryption & WithKmsKeyArn(const Aws::String &value)
const CloudWatchEncryptionMode & GetCloudWatchEncryptionMode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue