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>
59 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
72 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
109 bool m_accountsHasBeenSet =
false;
112 bool m_maxResultsHasBeenSet =
false;
115 bool m_nextTokenHasBeenSet =
false;
118 bool m_regionsHasBeenSet =
false;
121 bool m_sourcesHasBeenSet =
false;
ListLogSourcesRequest & WithAccounts(Aws::Vector< Aws::String > &&value)
ListLogSourcesRequest & WithRegions(const Aws::Vector< Aws::String > &value)
ListLogSourcesRequest & AddAccounts(Aws::String &&value)
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
const Aws::Vector< LogSourceResource > & GetSources() const
ListLogSourcesRequest & WithAccounts(const Aws::Vector< Aws::String > &value)
void SetSources(const Aws::Vector< LogSourceResource > &value)
const Aws::String & GetNextToken() const
ListLogSourcesRequest & AddRegions(const char *value)
void SetSources(Aws::Vector< LogSourceResource > &&value)
ListLogSourcesRequest & AddAccounts(const char *value)
void SetMaxResults(int value)
ListLogSourcesRequest & WithRegions(Aws::Vector< Aws::String > &&value)
ListLogSourcesRequest & WithSources(const Aws::Vector< LogSourceResource > &value)
ListLogSourcesRequest & AddRegions(const Aws::String &value)
bool RegionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRegions() const
bool SourcesHasBeenSet() const
void SetNextToken(const Aws::String &value)
void SetRegions(const Aws::Vector< Aws::String > &value)
ListLogSourcesRequest & WithSources(Aws::Vector< LogSourceResource > &&value)
ListLogSourcesRequest & AddSources(LogSourceResource &&value)
ListLogSourcesRequest & WithMaxResults(int value)
ListLogSourcesRequest & WithNextToken(const char *value)
bool NextTokenHasBeenSet() const
ListLogSourcesRequest & AddAccounts(const Aws::String &value)
ListLogSourcesRequest & AddSources(const LogSourceResource &value)
int GetMaxResults() const
const Aws::Vector< Aws::String > & GetAccounts() const
bool AccountsHasBeenSet() const
void SetNextToken(Aws::String &&value)
ListLogSourcesRequest & AddRegions(Aws::String &&value)
void SetRegions(Aws::Vector< Aws::String > &&value)
void SetNextToken(const char *value)
ListLogSourcesRequest & WithNextToken(Aws::String &&value)
ListLogSourcesRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetAccounts(const Aws::Vector< Aws::String > &value)
void SetAccounts(Aws::Vector< Aws::String > &&value)
AWS_SECURITYLAKE_API ListLogSourcesRequest()
bool MaxResultsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector