AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
52
53
55
60 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
61 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
62 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
63 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
64 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
65 inline EncryptionConfiguration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
66 inline EncryptionConfiguration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
67 inline EncryptionConfiguration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
69
71
76 inline int GetKmsDataKeyReusePeriodSeconds() const{ return m_kmsDataKeyReusePeriodSeconds; }
77 inline bool KmsDataKeyReusePeriodSecondsHasBeenSet() const { return m_kmsDataKeyReusePeriodSecondsHasBeenSet; }
78 inline void SetKmsDataKeyReusePeriodSeconds(int value) { m_kmsDataKeyReusePeriodSecondsHasBeenSet = true; m_kmsDataKeyReusePeriodSeconds = value; }
81
83
86 inline const EncryptionType& GetType() const{ return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(const EncryptionType& value) { m_typeHasBeenSet = true; m_type = value; }
89 inline void SetType(EncryptionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
90 inline EncryptionConfiguration& WithType(const EncryptionType& value) { SetType(value); return *this;}
91 inline EncryptionConfiguration& WithType(EncryptionType&& value) { SetType(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_kmsKeyId;
96 bool m_kmsKeyIdHasBeenSet = false;
97
98 int m_kmsDataKeyReusePeriodSeconds;
99 bool m_kmsDataKeyReusePeriodSecondsHasBeenSet = false;
100
101 EncryptionType m_type;
102 bool m_typeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SFN
107} // namespace Aws
EncryptionConfiguration & WithKmsKeyId(const Aws::String &value)
EncryptionConfiguration & WithKmsKeyId(const char *value)
EncryptionConfiguration & WithKmsDataKeyReusePeriodSeconds(int value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const EncryptionType &value)
EncryptionConfiguration & WithType(EncryptionType &&value)
EncryptionConfiguration & WithType(const EncryptionType &value)
AWS_SFN_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithKmsKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue