AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace EventBridgeV2 {
20namespace Model {
21
28 public:
29 AWS_EVENTBRIDGEV2_API EncryptionConfiguration() = default;
30 AWS_EVENTBRIDGEV2_API EncryptionConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_EVENTBRIDGEV2_API EncryptionConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
36 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
37 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
38 template <typename KmsKeyIdentifierT = Aws::String>
39 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
40 m_kmsKeyIdentifierHasBeenSet = true;
41 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
42 }
43 template <typename KmsKeyIdentifierT = Aws::String>
44 EncryptionConfiguration& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
45 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
46 return *this;
47 }
49 private:
50 Aws::String m_kmsKeyIdentifier;
51 bool m_kmsKeyIdentifierHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace EventBridgeV2
56} // namespace Aws
AWS_EVENTBRIDGEV2_API EncryptionConfiguration()=default
AWS_EVENTBRIDGEV2_API EncryptionConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API EncryptionConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EncryptionConfiguration & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String