AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevealConfiguration.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/RevealStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_MACIE2_API RevealConfiguration();
42 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
55 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
56 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
57 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
58 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
59 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
60 inline RevealConfiguration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
61 inline RevealConfiguration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
62 inline RevealConfiguration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
64
66
78 inline const RevealStatus& GetStatus() const{ return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(const RevealStatus& value) { m_statusHasBeenSet = true; m_status = value; }
81 inline void SetStatus(RevealStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
82 inline RevealConfiguration& WithStatus(const RevealStatus& value) { SetStatus(value); return *this;}
83 inline RevealConfiguration& WithStatus(RevealStatus&& value) { SetStatus(std::move(value)); return *this;}
85 private:
86
87 Aws::String m_kmsKeyId;
88 bool m_kmsKeyIdHasBeenSet = false;
89
90 RevealStatus m_status;
91 bool m_statusHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Macie2
96} // namespace Aws
AWS_MACIE2_API RevealConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const RevealStatus &value)
RevealConfiguration & WithKmsKeyId(const Aws::String &value)
RevealConfiguration & WithStatus(RevealStatus &&value)
RevealConfiguration & WithStatus(const RevealStatus &value)
void SetKmsKeyId(const Aws::String &value)
RevealConfiguration & WithKmsKeyId(Aws::String &&value)
RevealConfiguration & WithKmsKeyId(const char *value)
AWS_MACIE2_API RevealConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue