AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDataLakeSourcesResult.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/DataLakeSource.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SecurityLake
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SECURITYLAKE_API GetDataLakeSourcesResult() = default;
35
36
38
44 inline const Aws::String& GetDataLakeArn() const { return m_dataLakeArn; }
45 template<typename DataLakeArnT = Aws::String>
46 void SetDataLakeArn(DataLakeArnT&& value) { m_dataLakeArnHasBeenSet = true; m_dataLakeArn = std::forward<DataLakeArnT>(value); }
47 template<typename DataLakeArnT = Aws::String>
48 GetDataLakeSourcesResult& WithDataLakeArn(DataLakeArnT&& value) { SetDataLakeArn(std::forward<DataLakeArnT>(value)); return *this;}
50
52
55 inline const Aws::Vector<DataLakeSource>& GetDataLakeSources() const { return m_dataLakeSources; }
56 template<typename DataLakeSourcesT = Aws::Vector<DataLakeSource>>
57 void SetDataLakeSources(DataLakeSourcesT&& value) { m_dataLakeSourcesHasBeenSet = true; m_dataLakeSources = std::forward<DataLakeSourcesT>(value); }
58 template<typename DataLakeSourcesT = Aws::Vector<DataLakeSource>>
59 GetDataLakeSourcesResult& WithDataLakeSources(DataLakeSourcesT&& value) { SetDataLakeSources(std::forward<DataLakeSourcesT>(value)); return *this;}
60 template<typename DataLakeSourcesT = DataLakeSource>
61 GetDataLakeSourcesResult& AddDataLakeSources(DataLakeSourcesT&& value) { m_dataLakeSourcesHasBeenSet = true; m_dataLakeSources.emplace_back(std::forward<DataLakeSourcesT>(value)); return *this; }
63
65
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 GetDataLakeSourcesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 GetDataLakeSourcesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_dataLakeArn;
90 bool m_dataLakeArnHasBeenSet = false;
91
92 Aws::Vector<DataLakeSource> m_dataLakeSources;
93 bool m_dataLakeSourcesHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SecurityLake
104} // namespace Aws
GetDataLakeSourcesResult & AddDataLakeSources(DataLakeSourcesT &&value)
GetDataLakeSourcesResult & WithRequestId(RequestIdT &&value)
AWS_SECURITYLAKE_API GetDataLakeSourcesResult()=default
AWS_SECURITYLAKE_API GetDataLakeSourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataLakeSourcesResult & WithDataLakeArn(DataLakeArnT &&value)
AWS_SECURITYLAKE_API GetDataLakeSourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataLakeSourcesResult & WithDataLakeSources(DataLakeSourcesT &&value)
GetDataLakeSourcesResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< DataLakeSource > & GetDataLakeSources() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue