AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomLogSourceAttributes.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityLake
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SECURITYLAKE_API CustomLogSourceAttributes() = default;
37 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCrawlerArn() const { return m_crawlerArn; }
45 inline bool CrawlerArnHasBeenSet() const { return m_crawlerArnHasBeenSet; }
46 template<typename CrawlerArnT = Aws::String>
47 void SetCrawlerArn(CrawlerArnT&& value) { m_crawlerArnHasBeenSet = true; m_crawlerArn = std::forward<CrawlerArnT>(value); }
48 template<typename CrawlerArnT = Aws::String>
49 CustomLogSourceAttributes& WithCrawlerArn(CrawlerArnT&& value) { SetCrawlerArn(std::forward<CrawlerArnT>(value)); return *this;}
51
53
57 inline const Aws::String& GetDatabaseArn() const { return m_databaseArn; }
58 inline bool DatabaseArnHasBeenSet() const { return m_databaseArnHasBeenSet; }
59 template<typename DatabaseArnT = Aws::String>
60 void SetDatabaseArn(DatabaseArnT&& value) { m_databaseArnHasBeenSet = true; m_databaseArn = std::forward<DatabaseArnT>(value); }
61 template<typename DatabaseArnT = Aws::String>
62 CustomLogSourceAttributes& WithDatabaseArn(DatabaseArnT&& value) { SetDatabaseArn(std::forward<DatabaseArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetTableArn() const { return m_tableArn; }
70 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
71 template<typename TableArnT = Aws::String>
72 void SetTableArn(TableArnT&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::forward<TableArnT>(value); }
73 template<typename TableArnT = Aws::String>
74 CustomLogSourceAttributes& WithTableArn(TableArnT&& value) { SetTableArn(std::forward<TableArnT>(value)); return *this;}
76 private:
77
78 Aws::String m_crawlerArn;
79 bool m_crawlerArnHasBeenSet = false;
80
81 Aws::String m_databaseArn;
82 bool m_databaseArnHasBeenSet = false;
83
84 Aws::String m_tableArn;
85 bool m_tableArnHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SecurityLake
90} // namespace Aws
AWS_SECURITYLAKE_API CustomLogSourceAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomLogSourceAttributes & WithDatabaseArn(DatabaseArnT &&value)
AWS_SECURITYLAKE_API CustomLogSourceAttributes(Aws::Utils::Json::JsonView jsonValue)
CustomLogSourceAttributes & WithTableArn(TableArnT &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYLAKE_API CustomLogSourceAttributes()=default
CustomLogSourceAttributes & WithCrawlerArn(CrawlerArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue