AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetException(const Aws::String& value) { m_exceptionHasBeenSet = true; m_exception = value; }
49 inline void SetException(Aws::String&& value) { m_exceptionHasBeenSet = true; m_exception = std::move(value); }
50 inline void SetException(const char* value) { m_exceptionHasBeenSet = true; m_exception.assign(value); }
51 inline DataLakeException& WithException(const Aws::String& value) { SetException(value); return *this;}
52 inline DataLakeException& WithException(Aws::String&& value) { SetException(std::move(value)); return *this;}
53 inline DataLakeException& WithException(const char* value) { SetException(value); return *this;}
55
57
60 inline const Aws::String& GetRegion() const{ return m_region; }
61 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
62 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
63 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
64 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
65 inline DataLakeException& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
66 inline DataLakeException& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
67 inline DataLakeException& WithRegion(const char* value) { SetRegion(value); return *this;}
69
71
74 inline const Aws::String& GetRemediation() const{ return m_remediation; }
75 inline bool RemediationHasBeenSet() const { return m_remediationHasBeenSet; }
76 inline void SetRemediation(const Aws::String& value) { m_remediationHasBeenSet = true; m_remediation = value; }
77 inline void SetRemediation(Aws::String&& value) { m_remediationHasBeenSet = true; m_remediation = std::move(value); }
78 inline void SetRemediation(const char* value) { m_remediationHasBeenSet = true; m_remediation.assign(value); }
79 inline DataLakeException& WithRemediation(const Aws::String& value) { SetRemediation(value); return *this;}
80 inline DataLakeException& WithRemediation(Aws::String&& value) { SetRemediation(std::move(value)); return *this;}
81 inline DataLakeException& WithRemediation(const char* value) { SetRemediation(value); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
90 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
91 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
92 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
93 inline DataLakeException& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
94 inline DataLakeException& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_exception;
99 bool m_exceptionHasBeenSet = false;
100
101 Aws::String m_region;
102 bool m_regionHasBeenSet = false;
103
104 Aws::String m_remediation;
105 bool m_remediationHasBeenSet = false;
106
107 Aws::Utils::DateTime m_timestamp;
108 bool m_timestampHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SecurityLake
113} // namespace Aws
void SetTimestamp(Aws::Utils::DateTime &&value)
DataLakeException & WithTimestamp(const Aws::Utils::DateTime &value)
DataLakeException & WithRegion(const Aws::String &value)
AWS_SECURITYLAKE_API DataLakeException(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(const Aws::Utils::DateTime &value)
DataLakeException & WithException(const Aws::String &value)
DataLakeException & WithRegion(const char *value)
DataLakeException & WithRemediation(Aws::String &&value)
void SetRegion(const Aws::String &value)
DataLakeException & WithException(const char *value)
DataLakeException & WithRemediation(const char *value)
DataLakeException & WithRegion(Aws::String &&value)
DataLakeException & WithRemediation(const Aws::String &value)
const Aws::Utils::DateTime & GetTimestamp() const
AWS_SECURITYLAKE_API DataLakeException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRemediation(const Aws::String &value)
DataLakeException & WithTimestamp(Aws::Utils::DateTime &&value)
void SetException(const Aws::String &value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeException & WithException(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue