AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EncryptionConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API EncryptionConfig() = default;
36 AWS_CONNECT_API EncryptionConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
46 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
47 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
50
52
59 inline const Aws::String& GetKeyId() const { return m_keyId; }
60 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
61 template<typename KeyIdT = Aws::String>
62 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
63 template<typename KeyIdT = Aws::String>
64 EncryptionConfig& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
66 private:
67
69 bool m_encryptionTypeHasBeenSet = false;
70
71 Aws::String m_keyId;
72 bool m_keyIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Connect
77} // namespace Aws
AWS_CONNECT_API EncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKeyId() const
EncryptionConfig & WithEncryptionType(EncryptionType value)
AWS_CONNECT_API EncryptionConfig()=default
void SetEncryptionType(EncryptionType value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfig & WithKeyId(KeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue