AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API EncryptionConfig() = default;
31 AWS_CONNECT_API EncryptionConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
40 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
41 inline void SetEncryptionType(EncryptionType value) {
42 m_encryptionTypeHasBeenSet = true;
43 m_encryptionType = value;
44 }
46 SetEncryptionType(value);
47 return *this;
48 }
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) {
63 m_keyIdHasBeenSet = true;
64 m_keyId = std::forward<KeyIdT>(value);
65 }
66 template <typename KeyIdT = Aws::String>
67 EncryptionConfig& WithKeyId(KeyIdT&& value) {
68 SetKeyId(std::forward<KeyIdT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_keyId;
76 bool m_encryptionTypeHasBeenSet = false;
77 bool m_keyIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Connect
82} // 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