AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogSourceResource.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/model/AwsLogSourceResource.h>
9#include <aws/securitylake/model/CustomLogSourceResource.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
36 {
37 public:
38 AWS_SECURITYLAKE_API LogSourceResource();
39 AWS_SECURITYLAKE_API LogSourceResource(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SECURITYLAKE_API LogSourceResource& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const AwsLogSourceResource& GetAwsLogSource() const{ return m_awsLogSource; }
52 inline bool AwsLogSourceHasBeenSet() const { return m_awsLogSourceHasBeenSet; }
53 inline void SetAwsLogSource(const AwsLogSourceResource& value) { m_awsLogSourceHasBeenSet = true; m_awsLogSource = value; }
54 inline void SetAwsLogSource(AwsLogSourceResource&& value) { m_awsLogSourceHasBeenSet = true; m_awsLogSource = std::move(value); }
55 inline LogSourceResource& WithAwsLogSource(const AwsLogSourceResource& value) { SetAwsLogSource(value); return *this;}
56 inline LogSourceResource& WithAwsLogSource(AwsLogSourceResource&& value) { SetAwsLogSource(std::move(value)); return *this;}
58
60
66 inline const CustomLogSourceResource& GetCustomLogSource() const{ return m_customLogSource; }
67 inline bool CustomLogSourceHasBeenSet() const { return m_customLogSourceHasBeenSet; }
68 inline void SetCustomLogSource(const CustomLogSourceResource& value) { m_customLogSourceHasBeenSet = true; m_customLogSource = value; }
69 inline void SetCustomLogSource(CustomLogSourceResource&& value) { m_customLogSourceHasBeenSet = true; m_customLogSource = std::move(value); }
71 inline LogSourceResource& WithCustomLogSource(CustomLogSourceResource&& value) { SetCustomLogSource(std::move(value)); return *this;}
73 private:
74
75 AwsLogSourceResource m_awsLogSource;
76 bool m_awsLogSourceHasBeenSet = false;
77
78 CustomLogSourceResource m_customLogSource;
79 bool m_customLogSourceHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SecurityLake
84} // namespace Aws
void SetAwsLogSource(const AwsLogSourceResource &value)
const AwsLogSourceResource & GetAwsLogSource() const
AWS_SECURITYLAKE_API LogSourceResource(Aws::Utils::Json::JsonView jsonValue)
LogSourceResource & WithCustomLogSource(const CustomLogSourceResource &value)
void SetCustomLogSource(CustomLogSourceResource &&value)
void SetCustomLogSource(const CustomLogSourceResource &value)
const CustomLogSourceResource & GetCustomLogSource() const
LogSourceResource & WithAwsLogSource(const AwsLogSourceResource &value)
LogSourceResource & WithAwsLogSource(AwsLogSourceResource &&value)
void SetAwsLogSource(AwsLogSourceResource &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYLAKE_API LogSourceResource & operator=(Aws::Utils::Json::JsonView jsonValue)
LogSourceResource & WithCustomLogSource(CustomLogSourceResource &&value)
Aws::Utils::Json::JsonValue JsonValue