AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataLakeSourceStatus.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securitylake/model/SourceCollectionStatus.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 DataLakeSourceStatus();
37 AWS_SECURITYLAKE_API DataLakeSourceStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetResource() const{ return m_resource; }
48 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
49 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
50 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
51 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
52 inline DataLakeSourceStatus& WithResource(const Aws::String& value) { SetResource(value); return *this;}
53 inline DataLakeSourceStatus& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
54 inline DataLakeSourceStatus& WithResource(const char* value) { SetResource(value); return *this;}
56
58
61 inline const SourceCollectionStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const SourceCollectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(SourceCollectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline DataLakeSourceStatus& WithStatus(const SourceCollectionStatus& value) { SetStatus(value); return *this;}
66 inline DataLakeSourceStatus& WithStatus(SourceCollectionStatus&& value) { SetStatus(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_resource;
71 bool m_resourceHasBeenSet = false;
72
74 bool m_statusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SecurityLake
79} // namespace Aws
DataLakeSourceStatus & WithStatus(const SourceCollectionStatus &value)
void SetStatus(SourceCollectionStatus &&value)
const SourceCollectionStatus & GetStatus() const
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeSourceStatus & WithStatus(SourceCollectionStatus &&value)
DataLakeSourceStatus & WithResource(const char *value)
DataLakeSourceStatus & WithResource(Aws::String &&value)
AWS_SECURITYLAKE_API DataLakeSourceStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API DataLakeSourceStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeSourceStatus & WithResource(const Aws::String &value)
void SetStatus(const SourceCollectionStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue