AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CustomLogSourceConfiguration.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/model/CustomLogSourceCrawlerConfiguration.h>
9#include <aws/securitylake/model/AwsIdentity.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityLake
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYLAKE_API CustomLogSourceConfiguration() = default;
39 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const CustomLogSourceCrawlerConfiguration& GetCrawlerConfiguration() const { return m_crawlerConfiguration; }
48 inline bool CrawlerConfigurationHasBeenSet() const { return m_crawlerConfigurationHasBeenSet; }
49 template<typename CrawlerConfigurationT = CustomLogSourceCrawlerConfiguration>
50 void SetCrawlerConfiguration(CrawlerConfigurationT&& value) { m_crawlerConfigurationHasBeenSet = true; m_crawlerConfiguration = std::forward<CrawlerConfigurationT>(value); }
51 template<typename CrawlerConfigurationT = CustomLogSourceCrawlerConfiguration>
52 CustomLogSourceConfiguration& WithCrawlerConfiguration(CrawlerConfigurationT&& value) { SetCrawlerConfiguration(std::forward<CrawlerConfigurationT>(value)); return *this;}
54
56
59 inline const AwsIdentity& GetProviderIdentity() const { return m_providerIdentity; }
60 inline bool ProviderIdentityHasBeenSet() const { return m_providerIdentityHasBeenSet; }
61 template<typename ProviderIdentityT = AwsIdentity>
62 void SetProviderIdentity(ProviderIdentityT&& value) { m_providerIdentityHasBeenSet = true; m_providerIdentity = std::forward<ProviderIdentityT>(value); }
63 template<typename ProviderIdentityT = AwsIdentity>
64 CustomLogSourceConfiguration& WithProviderIdentity(ProviderIdentityT&& value) { SetProviderIdentity(std::forward<ProviderIdentityT>(value)); return *this;}
66 private:
67
68 CustomLogSourceCrawlerConfiguration m_crawlerConfiguration;
69 bool m_crawlerConfigurationHasBeenSet = false;
70
71 AwsIdentity m_providerIdentity;
72 bool m_providerIdentityHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SecurityLake
77} // namespace Aws
CustomLogSourceConfiguration & WithCrawlerConfiguration(CrawlerConfigurationT &&value)
CustomLogSourceConfiguration & WithProviderIdentity(ProviderIdentityT &&value)
AWS_SECURITYLAKE_API CustomLogSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API CustomLogSourceConfiguration()=default
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYLAKE_API CustomLogSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomLogSourceCrawlerConfiguration & GetCrawlerConfiguration() const
Aws::Utils::Json::JsonValue JsonValue