AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataLakeUpdateStatus.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/model/DataLakeUpdateException.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securitylake/model/DataLakeStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityLake
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_SECURITYLAKE_API DataLakeUpdateStatus();
40 AWS_SECURITYLAKE_API DataLakeUpdateStatus(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const DataLakeUpdateException& GetException() const{ return m_exception; }
51 inline bool ExceptionHasBeenSet() const { return m_exceptionHasBeenSet; }
52 inline void SetException(const DataLakeUpdateException& value) { m_exceptionHasBeenSet = true; m_exception = value; }
53 inline void SetException(DataLakeUpdateException&& value) { m_exceptionHasBeenSet = true; m_exception = std::move(value); }
54 inline DataLakeUpdateStatus& WithException(const DataLakeUpdateException& value) { SetException(value); return *this;}
55 inline DataLakeUpdateStatus& WithException(DataLakeUpdateException&& value) { SetException(std::move(value)); return *this;}
57
59
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
65 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
68 inline DataLakeUpdateStatus& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline DataLakeUpdateStatus& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline DataLakeUpdateStatus& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72
74
78 inline const DataLakeStatus& GetStatus() const{ return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(const DataLakeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
81 inline void SetStatus(DataLakeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
82 inline DataLakeUpdateStatus& WithStatus(const DataLakeStatus& value) { SetStatus(value); return *this;}
83 inline DataLakeUpdateStatus& WithStatus(DataLakeStatus&& value) { SetStatus(std::move(value)); return *this;}
85 private:
86
87 DataLakeUpdateException m_exception;
88 bool m_exceptionHasBeenSet = false;
89
90 Aws::String m_requestId;
91 bool m_requestIdHasBeenSet = false;
92
93 DataLakeStatus m_status;
94 bool m_statusHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SecurityLake
99} // namespace Aws
AWS_SECURITYLAKE_API DataLakeUpdateStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeUpdateStatus & WithRequestId(Aws::String &&value)
DataLakeUpdateStatus & WithRequestId(const char *value)
void SetException(DataLakeUpdateException &&value)
DataLakeUpdateStatus & WithException(const DataLakeUpdateException &value)
DataLakeUpdateStatus & WithRequestId(const Aws::String &value)
AWS_SECURITYLAKE_API DataLakeUpdateStatus(Aws::Utils::Json::JsonView jsonValue)
const DataLakeUpdateException & GetException() const
DataLakeUpdateStatus & WithException(DataLakeUpdateException &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeUpdateStatus & WithStatus(const DataLakeStatus &value)
void SetException(const DataLakeUpdateException &value)
DataLakeUpdateStatus & WithStatus(DataLakeStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue