AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataLakeException.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 SecurityLake
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYLAKE_API DataLakeException() = default;
37 AWS_SECURITYLAKE_API DataLakeException(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYLAKE_API DataLakeException& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetException() const { return m_exception; }
47 inline bool ExceptionHasBeenSet() const { return m_exceptionHasBeenSet; }
48 template<typename ExceptionT = Aws::String>
49 void SetException(ExceptionT&& value) { m_exceptionHasBeenSet = true; m_exception = std::forward<ExceptionT>(value); }
50 template<typename ExceptionT = Aws::String>
51 DataLakeException& WithException(ExceptionT&& value) { SetException(std::forward<ExceptionT>(value)); return *this;}
53
55
58 inline const Aws::String& GetRegion() const { return m_region; }
59 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
60 template<typename RegionT = Aws::String>
61 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
62 template<typename RegionT = Aws::String>
63 DataLakeException& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetRemediation() const { return m_remediation; }
71 inline bool RemediationHasBeenSet() const { return m_remediationHasBeenSet; }
72 template<typename RemediationT = Aws::String>
73 void SetRemediation(RemediationT&& value) { m_remediationHasBeenSet = true; m_remediation = std::forward<RemediationT>(value); }
74 template<typename RemediationT = Aws::String>
75 DataLakeException& WithRemediation(RemediationT&& value) { SetRemediation(std::forward<RemediationT>(value)); return *this;}
77
79
83 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
84 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
85 template<typename TimestampT = Aws::Utils::DateTime>
86 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
87 template<typename TimestampT = Aws::Utils::DateTime>
88 DataLakeException& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
90 private:
91
92 Aws::String m_exception;
93 bool m_exceptionHasBeenSet = false;
94
95 Aws::String m_region;
96 bool m_regionHasBeenSet = false;
97
98 Aws::String m_remediation;
99 bool m_remediationHasBeenSet = false;
100
101 Aws::Utils::DateTime m_timestamp{};
102 bool m_timestampHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SecurityLake
107} // namespace Aws
DataLakeException & WithRegion(RegionT &&value)
AWS_SECURITYLAKE_API DataLakeException(Aws::Utils::Json::JsonView jsonValue)
DataLakeException & WithTimestamp(TimestampT &&value)
DataLakeException & WithRemediation(RemediationT &&value)
DataLakeException & WithException(ExceptionT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
AWS_SECURITYLAKE_API DataLakeException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYLAKE_API DataLakeException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue