AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/EncryptionType.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 SFN
23{
24namespace Model
25{
26
46 {
47 public:
48 AWS_SFN_API EncryptionConfiguration() = default;
52
53
55
60 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
61 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
62 template<typename KmsKeyIdT = Aws::String>
63 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
64 template<typename KmsKeyIdT = Aws::String>
65 EncryptionConfiguration& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
67
69
74 inline int GetKmsDataKeyReusePeriodSeconds() const { return m_kmsDataKeyReusePeriodSeconds; }
75 inline bool KmsDataKeyReusePeriodSecondsHasBeenSet() const { return m_kmsDataKeyReusePeriodSecondsHasBeenSet; }
76 inline void SetKmsDataKeyReusePeriodSeconds(int value) { m_kmsDataKeyReusePeriodSecondsHasBeenSet = true; m_kmsDataKeyReusePeriodSeconds = value; }
79
81
84 inline EncryptionType GetType() const { return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 inline void SetType(EncryptionType value) { m_typeHasBeenSet = true; m_type = value; }
87 inline EncryptionConfiguration& WithType(EncryptionType value) { SetType(value); return *this;}
89 private:
90
91 Aws::String m_kmsKeyId;
92 bool m_kmsKeyIdHasBeenSet = false;
93
94 int m_kmsDataKeyReusePeriodSeconds{0};
95 bool m_kmsDataKeyReusePeriodSecondsHasBeenSet = false;
96
98 bool m_typeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SFN
103} // namespace Aws
EncryptionConfiguration & WithKmsDataKeyReusePeriodSeconds(int value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithType(EncryptionType value)
EncryptionConfiguration & WithKmsKeyId(KmsKeyIdT &&value)
AWS_SFN_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API EncryptionConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue