AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
46 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
47 inline void SetEncryptionType(const EncryptionType& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
48 inline void SetEncryptionType(EncryptionType&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
49 inline EncryptionConfig& WithEncryptionType(const EncryptionType& value) { SetEncryptionType(value); return *this;}
50 inline EncryptionConfig& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
52
54
61 inline const Aws::String& GetKeyId() const{ return m_keyId; }
62 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
63 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
64 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
65 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
66 inline EncryptionConfig& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
67 inline EncryptionConfig& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
68 inline EncryptionConfig& WithKeyId(const char* value) { SetKeyId(value); return *this;}
70 private:
71
72 EncryptionType m_encryptionType;
73 bool m_encryptionTypeHasBeenSet = false;
74
75 Aws::String m_keyId;
76 bool m_keyIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Connect
81} // namespace Aws
AWS_CONNECT_API EncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionType(EncryptionType &&value)
EncryptionConfig & WithKeyId(const char *value)
EncryptionConfig & WithKeyId(const Aws::String &value)
const Aws::String & GetKeyId() const
EncryptionConfig & WithEncryptionType(const EncryptionType &value)
const EncryptionType & GetEncryptionType() const
EncryptionConfig & WithKeyId(Aws::String &&value)
void SetKeyId(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfig & WithEncryptionType(EncryptionType &&value)
void SetEncryptionType(const EncryptionType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue