AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsXrayEncryptionConfigDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsXrayEncryptionConfigDetails() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetKeyId() const { return m_keyId; }
47 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
48 template<typename KeyIdT = Aws::String>
49 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
50 template<typename KeyIdT = Aws::String>
51 AwsXrayEncryptionConfigDetails& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
53
55
61 inline const Aws::String& GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 template<typename StatusT = Aws::String>
64 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
65 template<typename StatusT = Aws::String>
66 AwsXrayEncryptionConfigDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
68
70
74 inline const Aws::String& GetType() const { return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 template<typename TypeT = Aws::String>
77 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
78 template<typename TypeT = Aws::String>
79 AwsXrayEncryptionConfigDetails& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
81 private:
82
83 Aws::String m_keyId;
84 bool m_keyIdHasBeenSet = false;
85
86 Aws::String m_status;
87 bool m_statusHasBeenSet = false;
88
89 Aws::String m_type;
90 bool m_typeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SecurityHub
95} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsXrayEncryptionConfigDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsXrayEncryptionConfigDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsXrayEncryptionConfigDetails & WithStatus(StatusT &&value)
AwsXrayEncryptionConfigDetails & WithKeyId(KeyIdT &&value)
AwsXrayEncryptionConfigDetails & WithType(TypeT &&value)
AWS_SECURITYHUB_API AwsXrayEncryptionConfigDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue