AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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