AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
49 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
50 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
51 inline AwsXrayEncryptionConfigDetails& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
52 inline AwsXrayEncryptionConfigDetails& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
53 inline AwsXrayEncryptionConfigDetails& WithKeyId(const char* value) { SetKeyId(value); return *this;}
55
57
63 inline const Aws::String& GetStatus() const{ return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
66 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
67 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
68 inline AwsXrayEncryptionConfigDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
69 inline AwsXrayEncryptionConfigDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
70 inline AwsXrayEncryptionConfigDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
72
74
78 inline const Aws::String& GetType() const{ return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
81 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
82 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
83 inline AwsXrayEncryptionConfigDetails& WithType(const Aws::String& value) { SetType(value); return *this;}
84 inline AwsXrayEncryptionConfigDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
85 inline AwsXrayEncryptionConfigDetails& WithType(const char* value) { SetType(value); return *this;}
87 private:
88
89 Aws::String m_keyId;
90 bool m_keyIdHasBeenSet = false;
91
92 Aws::String m_status;
93 bool m_statusHasBeenSet = false;
94
95 Aws::String m_type;
96 bool m_typeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SecurityHub
101} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsXrayEncryptionConfigDetails & WithType(const char *value)
AwsXrayEncryptionConfigDetails & WithStatus(Aws::String &&value)
AWS_SECURITYHUB_API AwsXrayEncryptionConfigDetails(Aws::Utils::Json::JsonView jsonValue)
AwsXrayEncryptionConfigDetails & WithKeyId(Aws::String &&value)
AwsXrayEncryptionConfigDetails & WithType(const Aws::String &value)
AwsXrayEncryptionConfigDetails & WithKeyId(const Aws::String &value)
AWS_SECURITYHUB_API AwsXrayEncryptionConfigDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsXrayEncryptionConfigDetails & WithStatus(const char *value)
AwsXrayEncryptionConfigDetails & WithType(Aws::String &&value)
AwsXrayEncryptionConfigDetails & WithStatus(const Aws::String &value)
AwsXrayEncryptionConfigDetails & WithKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue