7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securitylake/model/LogSourceResource.h>
51 inline void SetAccount(
const char* value) { m_accountHasBeenSet =
true; m_account.assign(value); }
65 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
87 bool m_accountHasBeenSet =
false;
90 bool m_regionHasBeenSet =
false;
93 bool m_sourcesHasBeenSet =
false;
AWS_SECURITYLAKE_API LogSource()
AWS_SECURITYLAKE_API LogSource(Aws::Utils::Json::JsonView jsonValue)
LogSource & WithSources(const Aws::Vector< LogSourceResource > &value)
LogSource & WithSources(Aws::Vector< LogSourceResource > &&value)
void SetAccount(const char *value)
bool RegionHasBeenSet() const
void SetAccount(const Aws::String &value)
LogSource & WithAccount(const Aws::String &value)
LogSource & WithAccount(Aws::String &&value)
void SetAccount(Aws::String &&value)
const Aws::Vector< LogSourceResource > & GetSources() const
bool SourcesHasBeenSet() const
AWS_SECURITYLAKE_API LogSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSources(const Aws::Vector< LogSourceResource > &value)
void SetRegion(Aws::String &&value)
void SetRegion(const char *value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
LogSource & AddSources(const LogSourceResource &value)
LogSource & AddSources(LogSourceResource &&value)
LogSource & WithRegion(const Aws::String &value)
LogSource & WithRegion(Aws::String &&value)
const Aws::String & GetAccount() const
void SetRegion(const Aws::String &value)
bool AccountHasBeenSet() const
LogSource & WithAccount(const char *value)
void SetSources(Aws::Vector< LogSourceResource > &&value)
const Aws::String & GetRegion() const
LogSource & WithRegion(const char *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