AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DataLakeUpdateStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securitylake/SecurityLake_EXPORTS.h>
9#include <aws/securitylake/model/DataLakeStatus.h>
10#include <aws/securitylake/model/DataLakeUpdateException.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityLake {
22namespace Model {
23
33 public:
34 AWS_SECURITYLAKE_API DataLakeUpdateStatus() = default;
35 AWS_SECURITYLAKE_API DataLakeUpdateStatus(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const DataLakeUpdateException& GetException() const { return m_exception; }
45 inline bool ExceptionHasBeenSet() const { return m_exceptionHasBeenSet; }
46 template <typename ExceptionT = DataLakeUpdateException>
47 void SetException(ExceptionT&& value) {
48 m_exceptionHasBeenSet = true;
49 m_exception = std::forward<ExceptionT>(value);
50 }
51 template <typename ExceptionT = DataLakeUpdateException>
52 DataLakeUpdateStatus& WithException(ExceptionT&& value) {
53 SetException(std::forward<ExceptionT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
71 DataLakeUpdateStatus& WithRequestId(RequestIdT&& value) {
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76
78
82 inline DataLakeStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(DataLakeStatus value) {
85 m_statusHasBeenSet = true;
86 m_status = value;
87 }
89 SetStatus(value);
90 return *this;
91 }
93 private:
94 DataLakeUpdateException m_exception;
95
96 Aws::String m_requestId;
97
99 bool m_exceptionHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101 bool m_statusHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace SecurityLake
106} // namespace Aws
DataLakeUpdateStatus & WithRequestId(RequestIdT &&value)
DataLakeUpdateStatus & WithStatus(DataLakeStatus value)
AWS_SECURITYLAKE_API DataLakeUpdateStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API DataLakeUpdateStatus()=default
AWS_SECURITYLAKE_API DataLakeUpdateStatus(Aws::Utils::Json::JsonView jsonValue)
DataLakeUpdateStatus & WithException(ExceptionT &&value)
const DataLakeUpdateException & GetException() const
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue