AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
KMSKeyDetails.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeguru-reviewer/model/EncryptionOption.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 CodeGuruReviewer
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_CODEGURUREVIEWER_API KMSKeyDetails() = default;
41 AWS_CODEGURUREVIEWER_API KMSKeyDetails(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEGURUREVIEWER_API KMSKeyDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
52 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
53 template<typename KMSKeyIdT = Aws::String>
54 void SetKMSKeyId(KMSKeyIdT&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::forward<KMSKeyIdT>(value); }
55 template<typename KMSKeyIdT = Aws::String>
56 KMSKeyDetails& WithKMSKeyId(KMSKeyIdT&& value) { SetKMSKeyId(std::forward<KMSKeyIdT>(value)); return *this;}
58
60
65 inline EncryptionOption GetEncryptionOption() const { return m_encryptionOption; }
66 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
67 inline void SetEncryptionOption(EncryptionOption value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
70 private:
71
72 Aws::String m_kMSKeyId;
73 bool m_kMSKeyIdHasBeenSet = false;
74
76 bool m_encryptionOptionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CodeGuruReviewer
81} // namespace Aws
KMSKeyDetails & WithEncryptionOption(EncryptionOption value)
KMSKeyDetails & WithKMSKeyId(KMSKeyIdT &&value)
const Aws::String & GetKMSKeyId() const
AWS_CODEGURUREVIEWER_API KMSKeyDetails()=default
AWS_CODEGURUREVIEWER_API KMSKeyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionOption(EncryptionOption value)
AWS_CODEGURUREVIEWER_API KMSKeyDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionOption GetEncryptionOption() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue