AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RevealConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/RevealStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Macie2 {
21namespace Model {
22
33 public:
34 AWS_MACIE2_API RevealConfiguration() = default;
37 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
49 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
50 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
51 template <typename KmsKeyIdT = Aws::String>
52 void SetKmsKeyId(KmsKeyIdT&& value) {
53 m_kmsKeyIdHasBeenSet = true;
54 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
55 }
56 template <typename KmsKeyIdT = Aws::String>
57 RevealConfiguration& WithKmsKeyId(KmsKeyIdT&& value) {
58 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
59 return *this;
60 }
62
64
76 inline RevealStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(RevealStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87 private:
88 Aws::String m_kmsKeyId;
89
91 bool m_kmsKeyIdHasBeenSet = false;
92 bool m_statusHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Macie2
97} // 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