AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/aiops/AIOps_EXPORTS.h>
8#include <aws/aiops/model/EncryptionConfigurationType.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 AIOps
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_AIOPS_API EncryptionConfiguration() = default;
39 AWS_AIOPS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline EncryptionConfigurationType GetType() const { return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(EncryptionConfigurationType value) { m_typeHasBeenSet = true; m_type = value; }
52
54
58 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
59 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
60 template<typename KmsKeyIdT = Aws::String>
61 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
62 template<typename KmsKeyIdT = Aws::String>
63 EncryptionConfiguration& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
65 private:
66
68 bool m_typeHasBeenSet = false;
69
70 Aws::String m_kmsKeyId;
71 bool m_kmsKeyIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AIOps
76} // namespace Aws
EncryptionConfiguration & WithType(EncryptionConfigurationType value)
AWS_AIOPS_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfigurationType GetType() const
EncryptionConfiguration & WithKmsKeyId(KmsKeyIdT &&value)
AWS_AIOPS_API EncryptionConfiguration()=default
AWS_AIOPS_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(EncryptionConfigurationType value)
AWS_AIOPS_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue