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/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/xray/model/EncryptionStatus.h>
10#include <aws/xray/model/EncryptionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace XRay
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_XRAY_API EncryptionConfig() = default;
41
42
44
47 inline const Aws::String& GetKeyId() const { return m_keyId; }
48 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
49 template<typename KeyIdT = Aws::String>
50 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
51 template<typename KeyIdT = Aws::String>
52 EncryptionConfig& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
54
56
60 inline EncryptionStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(EncryptionStatus value) { m_statusHasBeenSet = true; m_status = value; }
63 inline EncryptionConfig& WithStatus(EncryptionStatus value) { SetStatus(value); return *this;}
65
67
71 inline EncryptionType GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(EncryptionType value) { m_typeHasBeenSet = true; m_type = value; }
74 inline EncryptionConfig& WithType(EncryptionType value) { SetType(value); return *this;}
76 private:
77
78 Aws::String m_keyId;
79 bool m_keyIdHasBeenSet = false;
80
82 bool m_statusHasBeenSet = false;
83
85 bool m_typeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace XRay
90} // 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