AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EncryptionConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/xray/XRay_EXPORTS.h>
9#include <aws/xray/model/EncryptionStatus.h>
10#include <aws/xray/model/EncryptionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace XRay {
22namespace Model {
23
31 public:
32 AWS_XRAY_API EncryptionConfig() = default;
36
38
41 inline const Aws::String& GetKeyId() const { return m_keyId; }
42 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
43 template <typename KeyIdT = Aws::String>
44 void SetKeyId(KeyIdT&& value) {
45 m_keyIdHasBeenSet = true;
46 m_keyId = std::forward<KeyIdT>(value);
47 }
48 template <typename KeyIdT = Aws::String>
49 EncryptionConfig& WithKeyId(KeyIdT&& value) {
50 SetKeyId(std::forward<KeyIdT>(value));
51 return *this;
52 }
54
56
60 inline EncryptionStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(EncryptionStatus value) {
63 m_statusHasBeenSet = true;
64 m_status = value;
65 }
67 SetStatus(value);
68 return *this;
69 }
71
73
77 inline EncryptionType GetType() const { return m_type; }
78 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 inline void SetType(EncryptionType value) {
80 m_typeHasBeenSet = true;
81 m_type = value;
82 }
84 SetType(value);
85 return *this;
86 }
88 private:
89 Aws::String m_keyId;
90
92
94 bool m_keyIdHasBeenSet = false;
95 bool m_statusHasBeenSet = false;
96 bool m_typeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace XRay
101} // namespace Aws
EncryptionStatus GetStatus() const
AWS_XRAY_API EncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfig & WithStatus(EncryptionStatus value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfig & WithKeyId(KeyIdT &&value)
void SetType(EncryptionType value)
EncryptionConfig & WithType(EncryptionType value)
AWS_XRAY_API EncryptionConfig()=default
AWS_XRAY_API EncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(EncryptionStatus value)
const Aws::String & GetKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue