7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securitylake/SecurityLake_EXPORTS.h>
10#include <aws/securitylake/model/AwsLogSourceName.h>
21namespace SecurityLake {
45 template <
typename AccountsT = Aws::Vector<Aws::String>>
47 m_accountsHasBeenSet =
true;
48 m_accounts = std::forward<AccountsT>(value);
50 template <
typename AccountsT = Aws::Vector<Aws::String>>
55 template <
typename AccountsT = Aws::String>
57 m_accountsHasBeenSet =
true;
58 m_accounts.emplace_back(std::forward<AccountsT>(value));
69 template <
typename RegionsT = Aws::Vector<Aws::String>>
71 m_regionsHasBeenSet =
true;
72 m_regions = std::forward<RegionsT>(value);
74 template <
typename RegionsT = Aws::Vector<Aws::String>>
79 template <
typename RegionsT = Aws::String>
81 m_regionsHasBeenSet =
true;
82 m_regions.emplace_back(std::forward<RegionsT>(value));
94 m_sourceNameHasBeenSet =
true;
109 template <
typename SourceVersionT = Aws::String>
111 m_sourceVersionHasBeenSet =
true;
112 m_sourceVersion = std::forward<SourceVersionT>(value);
114 template <
typename SourceVersionT = Aws::String>
128 bool m_accountsHasBeenSet =
false;
129 bool m_regionsHasBeenSet =
false;
130 bool m_sourceNameHasBeenSet =
false;
131 bool m_sourceVersionHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetAccounts() const
bool RegionsHasBeenSet() const
AwsLogSourceConfiguration & AddRegions(RegionsT &&value)
AwsLogSourceConfiguration & WithRegions(RegionsT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
AWS_SECURITYLAKE_API AwsLogSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API AwsLogSourceConfiguration()=default
void SetAccounts(AccountsT &&value)
AwsLogSourceConfiguration & AddAccounts(AccountsT &&value)
AwsLogSourceConfiguration & WithSourceVersion(SourceVersionT &&value)
void SetRegions(RegionsT &&value)
AwsLogSourceName GetSourceName() const
AwsLogSourceConfiguration & WithSourceName(AwsLogSourceName value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceNameHasBeenSet() const
void SetSourceVersion(SourceVersionT &&value)
bool AccountsHasBeenSet() const
const Aws::String & GetSourceVersion() const
bool SourceVersionHasBeenSet() const
AWS_SECURITYLAKE_API AwsLogSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AwsLogSourceConfiguration & WithAccounts(AccountsT &&value)
void SetSourceName(AwsLogSourceName value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue