AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDataLakeSourcesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securitylake/SecurityLake_EXPORTS.h>
11#include <aws/securitylake/model/DataLakeSource.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityLake {
25namespace Model {
27 public:
28 AWS_SECURITYLAKE_API GetDataLakeSourcesResult() = default;
31
33
39 inline const Aws::String& GetDataLakeArn() const { return m_dataLakeArn; }
40 template <typename DataLakeArnT = Aws::String>
41 void SetDataLakeArn(DataLakeArnT&& value) {
42 m_dataLakeArnHasBeenSet = true;
43 m_dataLakeArn = std::forward<DataLakeArnT>(value);
44 }
45 template <typename DataLakeArnT = Aws::String>
47 SetDataLakeArn(std::forward<DataLakeArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<DataLakeSource>& GetDataLakeSources() const { return m_dataLakeSources; }
57 template <typename DataLakeSourcesT = Aws::Vector<DataLakeSource>>
58 void SetDataLakeSources(DataLakeSourcesT&& value) {
59 m_dataLakeSourcesHasBeenSet = true;
60 m_dataLakeSources = std::forward<DataLakeSourcesT>(value);
61 }
62 template <typename DataLakeSourcesT = Aws::Vector<DataLakeSource>>
63 GetDataLakeSourcesResult& WithDataLakeSources(DataLakeSourcesT&& value) {
64 SetDataLakeSources(std::forward<DataLakeSourcesT>(value));
65 return *this;
66 }
67 template <typename DataLakeSourcesT = DataLakeSource>
68 GetDataLakeSourcesResult& AddDataLakeSources(DataLakeSourcesT&& value) {
69 m_dataLakeSourcesHasBeenSet = true;
70 m_dataLakeSources.emplace_back(std::forward<DataLakeSourcesT>(value));
71 return *this;
72 }
74
76
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 template <typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) {
86 m_nextTokenHasBeenSet = true;
87 m_nextToken = std::forward<NextTokenT>(value);
88 }
89 template <typename NextTokenT = Aws::String>
91 SetNextToken(std::forward<NextTokenT>(value));
92 return *this;
93 }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template <typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) {
101 m_requestIdHasBeenSet = true;
102 m_requestId = std::forward<RequestIdT>(value);
103 }
104 template <typename RequestIdT = Aws::String>
106 SetRequestId(std::forward<RequestIdT>(value));
107 return *this;
108 }
110 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
111
112 private:
113 Aws::String m_dataLakeArn;
114
115 Aws::Vector<DataLakeSource> m_dataLakeSources;
116
117 Aws::String m_nextToken;
118
119 Aws::String m_requestId;
120 Aws::Http::HttpResponseCode m_HttpResponseCode;
121 bool m_dataLakeArnHasBeenSet = false;
122 bool m_dataLakeSourcesHasBeenSet = false;
123 bool m_nextTokenHasBeenSet = false;
124 bool m_requestIdHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace SecurityLake
129} // 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