AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AIOps {
21namespace Model {
22
30 public:
31 AWS_AIOPS_API EncryptionConfiguration() = default;
34 AWS_AIOPS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline EncryptionConfigurationType GetType() const { return m_type; }
42 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
44 m_typeHasBeenSet = true;
45 m_type = value;
46 }
48 SetType(value);
49 return *this;
50 }
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) {
62 m_kmsKeyIdHasBeenSet = true;
63 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
64 }
65 template <typename KmsKeyIdT = Aws::String>
67 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_kmsKeyId;
75 bool m_typeHasBeenSet = false;
76 bool m_kmsKeyIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace AIOps
81} // 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