AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDataLakeSourcesRequest.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/SecurityLakeRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecurityLake
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SECURITYLAKE_API GetDataLakeSourcesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetDataLakeSources"; }
32
33 AWS_SECURITYLAKE_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::Vector<Aws::String>& GetAccounts() const { return m_accounts; }
43 inline bool AccountsHasBeenSet() const { return m_accountsHasBeenSet; }
44 template<typename AccountsT = Aws::Vector<Aws::String>>
45 void SetAccounts(AccountsT&& value) { m_accountsHasBeenSet = true; m_accounts = std::forward<AccountsT>(value); }
46 template<typename AccountsT = Aws::Vector<Aws::String>>
47 GetDataLakeSourcesRequest& WithAccounts(AccountsT&& value) { SetAccounts(std::forward<AccountsT>(value)); return *this;}
48 template<typename AccountsT = Aws::String>
49 GetDataLakeSourcesRequest& AddAccounts(AccountsT&& value) { m_accountsHasBeenSet = true; m_accounts.emplace_back(std::forward<AccountsT>(value)); return *this; }
51
53
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline GetDataLakeSourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
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 GetDataLakeSourcesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78 private:
79
80 Aws::Vector<Aws::String> m_accounts;
81 bool m_accountsHasBeenSet = false;
82
83 int m_maxResults{0};
84 bool m_maxResultsHasBeenSet = false;
85
86 Aws::String m_nextToken;
87 bool m_nextTokenHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SecurityLake
92} // namespace Aws
AWS_SECURITYLAKE_API GetDataLakeSourcesRequest()=default
GetDataLakeSourcesRequest & WithNextToken(NextTokenT &&value)
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetDataLakeSourcesRequest & WithAccounts(AccountsT &&value)
GetDataLakeSourcesRequest & AddAccounts(AccountsT &&value)
const Aws::Vector< Aws::String > & GetAccounts() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector