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/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();
41
42
44
47 inline const Aws::String& GetKeyId() const{ return m_keyId; }
48 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
49 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
50 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
51 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
52 inline EncryptionConfig& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
53 inline EncryptionConfig& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
54 inline EncryptionConfig& WithKeyId(const char* value) { SetKeyId(value); return *this;}
56
58
62 inline const EncryptionStatus& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const EncryptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(EncryptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 inline EncryptionConfig& WithStatus(const EncryptionStatus& value) { SetStatus(value); return *this;}
67 inline EncryptionConfig& WithStatus(EncryptionStatus&& value) { SetStatus(std::move(value)); return *this;}
69
71
75 inline const EncryptionType& GetType() const{ return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(const EncryptionType& value) { m_typeHasBeenSet = true; m_type = value; }
78 inline void SetType(EncryptionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
79 inline EncryptionConfig& WithType(const EncryptionType& value) { SetType(value); return *this;}
80 inline EncryptionConfig& WithType(EncryptionType&& value) { SetType(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_keyId;
85 bool m_keyIdHasBeenSet = false;
86
87 EncryptionStatus m_status;
88 bool m_statusHasBeenSet = false;
89
90 EncryptionType m_type;
91 bool m_typeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace XRay
96} // namespace Aws
void SetStatus(const EncryptionStatus &value)
AWS_XRAY_API EncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeyId(const Aws::String &value)
EncryptionConfig & WithStatus(EncryptionStatus &&value)
EncryptionConfig & WithKeyId(const char *value)
EncryptionConfig & WithType(EncryptionType &&value)
EncryptionConfig & WithKeyId(const Aws::String &value)
const EncryptionStatus & GetStatus() const
void SetKeyId(Aws::String &&value)
void SetType(EncryptionType &&value)
EncryptionConfig & WithType(const EncryptionType &value)
const EncryptionType & GetType() const
EncryptionConfig & WithKeyId(Aws::String &&value)
void SetStatus(EncryptionStatus &&value)
EncryptionConfig & WithStatus(const EncryptionStatus &value)
AWS_XRAY_API EncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
void SetType(const EncryptionType &value)
const Aws::String & GetKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue