AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobBookmarksEncryption.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/JobBookmarksEncryptionMode.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 JobBookmarksEncryption();
40
41
43
46 inline const JobBookmarksEncryptionMode& GetJobBookmarksEncryptionMode() const{ return m_jobBookmarksEncryptionMode; }
47 inline bool JobBookmarksEncryptionModeHasBeenSet() const { return m_jobBookmarksEncryptionModeHasBeenSet; }
48 inline void SetJobBookmarksEncryptionMode(const JobBookmarksEncryptionMode& value) { m_jobBookmarksEncryptionModeHasBeenSet = true; m_jobBookmarksEncryptionMode = value; }
49 inline void SetJobBookmarksEncryptionMode(JobBookmarksEncryptionMode&& value) { m_jobBookmarksEncryptionModeHasBeenSet = true; m_jobBookmarksEncryptionMode = 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 JobBookmarksEncryption& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
65 inline JobBookmarksEncryption& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
66 inline JobBookmarksEncryption& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
68 private:
69
70 JobBookmarksEncryptionMode m_jobBookmarksEncryptionMode;
71 bool m_jobBookmarksEncryptionModeHasBeenSet = false;
72
73 Aws::String m_kmsKeyArn;
74 bool m_kmsKeyArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
JobBookmarksEncryption & WithJobBookmarksEncryptionMode(const JobBookmarksEncryptionMode &value)
void SetJobBookmarksEncryptionMode(JobBookmarksEncryptionMode &&value)
JobBookmarksEncryption & WithKmsKeyArn(const char *value)
JobBookmarksEncryption & WithJobBookmarksEncryptionMode(JobBookmarksEncryptionMode &&value)
AWS_GLUE_API JobBookmarksEncryption(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API JobBookmarksEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsKeyArn(const Aws::String &value)
const JobBookmarksEncryptionMode & GetJobBookmarksEncryptionMode() const
JobBookmarksEncryption & WithKmsKeyArn(const Aws::String &value)
JobBookmarksEncryption & WithKmsKeyArn(Aws::String &&value)
void SetJobBookmarksEncryptionMode(const JobBookmarksEncryptionMode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue