AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
9#include <aws/states/model/EncryptionType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SFN {
21namespace Model {
22
42 public:
43 AWS_SFN_API EncryptionConfiguration() = default;
47
49
54 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
55 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
56 template <typename KmsKeyIdT = Aws::String>
57 void SetKmsKeyId(KmsKeyIdT&& value) {
58 m_kmsKeyIdHasBeenSet = true;
59 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
60 }
61 template <typename KmsKeyIdT = Aws::String>
63 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
64 return *this;
65 }
67
69
74 inline int GetKmsDataKeyReusePeriodSeconds() const { return m_kmsDataKeyReusePeriodSeconds; }
75 inline bool KmsDataKeyReusePeriodSecondsHasBeenSet() const { return m_kmsDataKeyReusePeriodSecondsHasBeenSet; }
76 inline void SetKmsDataKeyReusePeriodSeconds(int value) {
77 m_kmsDataKeyReusePeriodSecondsHasBeenSet = true;
78 m_kmsDataKeyReusePeriodSeconds = value;
79 }
82 return *this;
83 }
85
87
90 inline EncryptionType GetType() const { return m_type; }
91 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 inline void SetType(EncryptionType value) {
93 m_typeHasBeenSet = true;
94 m_type = value;
95 }
97 SetType(value);
98 return *this;
99 }
101 private:
102 Aws::String m_kmsKeyId;
103
104 int m_kmsDataKeyReusePeriodSeconds{0};
105
107 bool m_kmsKeyIdHasBeenSet = false;
108 bool m_kmsDataKeyReusePeriodSecondsHasBeenSet = false;
109 bool m_typeHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace SFN
114} // 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