AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; }
54 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); }
55 inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); }
56 inline KMSKeyDetails& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
57 inline KMSKeyDetails& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
58 inline KMSKeyDetails& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
60
62
67 inline const EncryptionOption& GetEncryptionOption() const{ return m_encryptionOption; }
68 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
69 inline void SetEncryptionOption(const EncryptionOption& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
70 inline void SetEncryptionOption(EncryptionOption&& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = std::move(value); }
71 inline KMSKeyDetails& WithEncryptionOption(const EncryptionOption& value) { SetEncryptionOption(value); return *this;}
72 inline KMSKeyDetails& WithEncryptionOption(EncryptionOption&& value) { SetEncryptionOption(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_kMSKeyId;
77 bool m_kMSKeyIdHasBeenSet = false;
78
79 EncryptionOption m_encryptionOption;
80 bool m_encryptionOptionHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace CodeGuruReviewer
85} // namespace Aws
KMSKeyDetails & WithKMSKeyId(const char *value)
const EncryptionOption & GetEncryptionOption() const
const Aws::String & GetKMSKeyId() const
AWS_CODEGURUREVIEWER_API KMSKeyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
KMSKeyDetails & WithKMSKeyId(Aws::String &&value)
AWS_CODEGURUREVIEWER_API KMSKeyDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
KMSKeyDetails & WithEncryptionOption(const EncryptionOption &value)
KMSKeyDetails & WithEncryptionOption(EncryptionOption &&value)
void SetKMSKeyId(const Aws::String &value)
void SetEncryptionOption(EncryptionOption &&value)
KMSKeyDetails & WithKMSKeyId(const Aws::String &value)
AWS_CODEGURUREVIEWER_API KMSKeyDetails()
void SetEncryptionOption(const EncryptionOption &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue