AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename KmsKeyIdT = Aws::String>
58 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
59 template<typename KmsKeyIdT = Aws::String>
60 RevealConfiguration& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
62
64
76 inline RevealStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(RevealStatus value) { m_statusHasBeenSet = true; m_status = value; }
79 inline RevealConfiguration& WithStatus(RevealStatus value) { SetStatus(value); return *this;}
81 private:
82
83 Aws::String m_kmsKeyId;
84 bool m_kmsKeyIdHasBeenSet = false;
85
87 bool m_statusHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Macie2
92} // namespace Aws
AWS_MACIE2_API RevealConfiguration(Aws::Utils::Json::JsonView jsonValue)
RevealConfiguration & WithKmsKeyId(KmsKeyIdT &&value)
AWS_MACIE2_API RevealConfiguration()=default
RevealConfiguration & WithStatus(RevealStatus 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