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 <aws/securitylake/model/LogSourceResource.h>
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>>
48 template<
typename AccountsT = Aws::String>
58 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
69 template<
typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<
typename NextTokenT = Aws::String>
81 template<
typename RegionsT = Aws::Vector<Aws::String>>
82 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions = std::forward<RegionsT>(value); }
83 template<
typename RegionsT = Aws::Vector<Aws::String>>
85 template<
typename RegionsT = Aws::String>
95 template<
typename SourcesT = Aws::Vector<LogSourceResource>>
96 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet =
true; m_sources = std::forward<SourcesT>(value); }
97 template<
typename SourcesT = Aws::Vector<LogSourceResource>>
99 template<
typename SourcesT = LogSourceResource>
105 bool m_accountsHasBeenSet =
false;
108 bool m_maxResultsHasBeenSet =
false;
111 bool m_nextTokenHasBeenSet =
false;
114 bool m_regionsHasBeenSet =
false;
117 bool m_sourcesHasBeenSet =
false;
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
const Aws::Vector< LogSourceResource > & GetSources() const
const Aws::String & GetNextToken() const
ListLogSourcesRequest & WithAccounts(AccountsT &&value)
void SetAccounts(AccountsT &&value)
ListLogSourcesRequest & WithNextToken(NextTokenT &&value)
ListLogSourcesRequest & WithSources(SourcesT &&value)
void SetSources(SourcesT &&value)
void SetMaxResults(int value)
ListLogSourcesRequest & WithRegions(RegionsT &&value)
bool RegionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRegions() const
bool SourcesHasBeenSet() const
ListLogSourcesRequest & WithMaxResults(int value)
AWS_SECURITYLAKE_API ListLogSourcesRequest()=default
bool NextTokenHasBeenSet() const
ListLogSourcesRequest & AddSources(SourcesT &&value)
int GetMaxResults() const
void SetNextToken(NextTokenT &&value)
const Aws::Vector< Aws::String > & GetAccounts() const
bool AccountsHasBeenSet() const
void SetRegions(RegionsT &&value)
ListLogSourcesRequest & AddRegions(RegionsT &&value)
ListLogSourcesRequest & AddAccounts(AccountsT &&value)
virtual const char * GetServiceRequestName() const override
bool MaxResultsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector