AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CustomLogSourceConfiguration.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/model/AwsIdentity.h>
9#include <aws/securitylake/model/CustomLogSourceCrawlerConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityLake {
21namespace Model {
22
30 public:
31 AWS_SECURITYLAKE_API CustomLogSourceConfiguration() = default;
34 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const CustomLogSourceCrawlerConfiguration& GetCrawlerConfiguration() const { return m_crawlerConfiguration; }
42 inline bool CrawlerConfigurationHasBeenSet() const { return m_crawlerConfigurationHasBeenSet; }
43 template <typename CrawlerConfigurationT = CustomLogSourceCrawlerConfiguration>
44 void SetCrawlerConfiguration(CrawlerConfigurationT&& value) {
45 m_crawlerConfigurationHasBeenSet = true;
46 m_crawlerConfiguration = std::forward<CrawlerConfigurationT>(value);
47 }
48 template <typename CrawlerConfigurationT = CustomLogSourceCrawlerConfiguration>
50 SetCrawlerConfiguration(std::forward<CrawlerConfigurationT>(value));
51 return *this;
52 }
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) {
63 m_providerIdentityHasBeenSet = true;
64 m_providerIdentity = std::forward<ProviderIdentityT>(value);
65 }
66 template <typename ProviderIdentityT = AwsIdentity>
68 SetProviderIdentity(std::forward<ProviderIdentityT>(value));
69 return *this;
70 }
72 private:
73 CustomLogSourceCrawlerConfiguration m_crawlerConfiguration;
74
75 AwsIdentity m_providerIdentity;
76 bool m_crawlerConfigurationHasBeenSet = false;
77 bool m_providerIdentityHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SecurityLake
82} // 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