AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EncryptionKey.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/translate/model/EncryptionKeyType.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 Translate
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TRANSLATE_API EncryptionKey() = default;
36 AWS_TRANSLATE_API EncryptionKey(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TRANSLATE_API EncryptionKey& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline EncryptionKeyType GetType() const { return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(EncryptionKeyType value) { m_typeHasBeenSet = true; m_type = value; }
49 inline EncryptionKey& WithType(EncryptionKeyType value) { SetType(value); return *this;}
51
53
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template<typename IdT = Aws::String>
60 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
61 template<typename IdT = Aws::String>
62 EncryptionKey& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
64 private:
65
67 bool m_typeHasBeenSet = false;
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Translate
75} // namespace Aws
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionKey & WithType(EncryptionKeyType value)
AWS_TRANSLATE_API EncryptionKey & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionKeyType GetType() const
void SetType(EncryptionKeyType value)
AWS_TRANSLATE_API EncryptionKey(Aws::Utils::Json::JsonView jsonValue)
EncryptionKey & WithId(IdT &&value)
const Aws::String & GetId() const
AWS_TRANSLATE_API EncryptionKey()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue