AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataLakeSource.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/memory/stl/AWSVector.h>
10#include <aws/securitylake/model/DataLakeSourceStatus.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
38 {
39 public:
40 AWS_SECURITYLAKE_API DataLakeSource();
41 AWS_SECURITYLAKE_API DataLakeSource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SECURITYLAKE_API DataLakeSource& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetAccount() const{ return m_account; }
51 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
52 inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
53 inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
54 inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
55 inline DataLakeSource& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
56 inline DataLakeSource& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
57 inline DataLakeSource& WithAccount(const char* value) { SetAccount(value); return *this;}
59
61
87 inline const Aws::Vector<Aws::String>& GetEventClasses() const{ return m_eventClasses; }
88 inline bool EventClassesHasBeenSet() const { return m_eventClassesHasBeenSet; }
89 inline void SetEventClasses(const Aws::Vector<Aws::String>& value) { m_eventClassesHasBeenSet = true; m_eventClasses = value; }
90 inline void SetEventClasses(Aws::Vector<Aws::String>&& value) { m_eventClassesHasBeenSet = true; m_eventClasses = std::move(value); }
91 inline DataLakeSource& WithEventClasses(const Aws::Vector<Aws::String>& value) { SetEventClasses(value); return *this;}
92 inline DataLakeSource& WithEventClasses(Aws::Vector<Aws::String>&& value) { SetEventClasses(std::move(value)); return *this;}
93 inline DataLakeSource& AddEventClasses(const Aws::String& value) { m_eventClassesHasBeenSet = true; m_eventClasses.push_back(value); return *this; }
94 inline DataLakeSource& AddEventClasses(Aws::String&& value) { m_eventClassesHasBeenSet = true; m_eventClasses.push_back(std::move(value)); return *this; }
95 inline DataLakeSource& AddEventClasses(const char* value) { m_eventClassesHasBeenSet = true; m_eventClasses.push_back(value); return *this; }
97
99
104 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
105 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
106 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
107 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
108 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
109 inline DataLakeSource& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
110 inline DataLakeSource& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
111 inline DataLakeSource& WithSourceName(const char* value) { SetSourceName(value); return *this;}
113
115
118 inline const Aws::Vector<DataLakeSourceStatus>& GetSourceStatuses() const{ return m_sourceStatuses; }
119 inline bool SourceStatusesHasBeenSet() const { return m_sourceStatusesHasBeenSet; }
120 inline void SetSourceStatuses(const Aws::Vector<DataLakeSourceStatus>& value) { m_sourceStatusesHasBeenSet = true; m_sourceStatuses = value; }
121 inline void SetSourceStatuses(Aws::Vector<DataLakeSourceStatus>&& value) { m_sourceStatusesHasBeenSet = true; m_sourceStatuses = std::move(value); }
124 inline DataLakeSource& AddSourceStatuses(const DataLakeSourceStatus& value) { m_sourceStatusesHasBeenSet = true; m_sourceStatuses.push_back(value); return *this; }
125 inline DataLakeSource& AddSourceStatuses(DataLakeSourceStatus&& value) { m_sourceStatusesHasBeenSet = true; m_sourceStatuses.push_back(std::move(value)); return *this; }
127 private:
128
129 Aws::String m_account;
130 bool m_accountHasBeenSet = false;
131
132 Aws::Vector<Aws::String> m_eventClasses;
133 bool m_eventClassesHasBeenSet = false;
134
135 Aws::String m_sourceName;
136 bool m_sourceNameHasBeenSet = false;
137
138 Aws::Vector<DataLakeSourceStatus> m_sourceStatuses;
139 bool m_sourceStatusesHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace SecurityLake
144} // namespace Aws
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceStatuses(const Aws::Vector< DataLakeSourceStatus > &value)
DataLakeSource & WithEventClasses(Aws::Vector< Aws::String > &&value)
DataLakeSource & WithSourceName(const char *value)
const Aws::String & GetAccount() const
void SetEventClasses(Aws::Vector< Aws::String > &&value)
DataLakeSource & WithAccount(Aws::String &&value)
void SetSourceName(Aws::String &&value)
DataLakeSource & WithSourceName(const Aws::String &value)
const Aws::Vector< DataLakeSourceStatus > & GetSourceStatuses() const
DataLakeSource & AddSourceStatuses(const DataLakeSourceStatus &value)
DataLakeSource & WithEventClasses(const Aws::Vector< Aws::String > &value)
DataLakeSource & AddEventClasses(Aws::String &&value)
DataLakeSource & WithSourceName(Aws::String &&value)
AWS_SECURITYLAKE_API DataLakeSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeSource & AddSourceStatuses(DataLakeSourceStatus &&value)
const Aws::String & GetSourceName() const
AWS_SECURITYLAKE_API DataLakeSource(Aws::Utils::Json::JsonView jsonValue)
void SetEventClasses(const Aws::Vector< Aws::String > &value)
void SetSourceName(const Aws::String &value)
DataLakeSource & AddEventClasses(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEventClasses() const
void SetAccount(const Aws::String &value)
DataLakeSource & AddEventClasses(const char *value)
void SetSourceStatuses(Aws::Vector< DataLakeSourceStatus > &&value)
DataLakeSource & WithAccount(const Aws::String &value)
DataLakeSource & WithAccount(const char *value)
DataLakeSource & WithSourceStatuses(const Aws::Vector< DataLakeSourceStatus > &value)
DataLakeSource & WithSourceStatuses(Aws::Vector< DataLakeSourceStatus > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue