AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCrawlerArn(const Aws::String& value) { m_crawlerArnHasBeenSet = true; m_crawlerArn = value; }
47 inline void SetCrawlerArn(Aws::String&& value) { m_crawlerArnHasBeenSet = true; m_crawlerArn = std::move(value); }
48 inline void SetCrawlerArn(const char* value) { m_crawlerArnHasBeenSet = true; m_crawlerArn.assign(value); }
49 inline CustomLogSourceAttributes& WithCrawlerArn(const Aws::String& value) { SetCrawlerArn(value); return *this;}
50 inline CustomLogSourceAttributes& WithCrawlerArn(Aws::String&& value) { SetCrawlerArn(std::move(value)); return *this;}
51 inline CustomLogSourceAttributes& WithCrawlerArn(const char* value) { SetCrawlerArn(value); return *this;}
53
55
59 inline const Aws::String& GetDatabaseArn() const{ return m_databaseArn; }
60 inline bool DatabaseArnHasBeenSet() const { return m_databaseArnHasBeenSet; }
61 inline void SetDatabaseArn(const Aws::String& value) { m_databaseArnHasBeenSet = true; m_databaseArn = value; }
62 inline void SetDatabaseArn(Aws::String&& value) { m_databaseArnHasBeenSet = true; m_databaseArn = std::move(value); }
63 inline void SetDatabaseArn(const char* value) { m_databaseArnHasBeenSet = true; m_databaseArn.assign(value); }
64 inline CustomLogSourceAttributes& WithDatabaseArn(const Aws::String& value) { SetDatabaseArn(value); return *this;}
65 inline CustomLogSourceAttributes& WithDatabaseArn(Aws::String&& value) { SetDatabaseArn(std::move(value)); return *this;}
66 inline CustomLogSourceAttributes& WithDatabaseArn(const char* value) { SetDatabaseArn(value); return *this;}
68
70
73 inline const Aws::String& GetTableArn() const{ return m_tableArn; }
74 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
75 inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; }
76 inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); }
77 inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); }
78 inline CustomLogSourceAttributes& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;}
79 inline CustomLogSourceAttributes& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;}
80 inline CustomLogSourceAttributes& WithTableArn(const char* value) { SetTableArn(value); return *this;}
82 private:
83
84 Aws::String m_crawlerArn;
85 bool m_crawlerArnHasBeenSet = false;
86
87 Aws::String m_databaseArn;
88 bool m_databaseArnHasBeenSet = false;
89
90 Aws::String m_tableArn;
91 bool m_tableArnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SecurityLake
96} // namespace Aws
CustomLogSourceAttributes & WithTableArn(const Aws::String &value)
CustomLogSourceAttributes & WithDatabaseArn(const Aws::String &value)
CustomLogSourceAttributes & WithCrawlerArn(const Aws::String &value)
AWS_SECURITYLAKE_API CustomLogSourceAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API CustomLogSourceAttributes(Aws::Utils::Json::JsonView jsonValue)
CustomLogSourceAttributes & WithCrawlerArn(const char *value)
CustomLogSourceAttributes & WithDatabaseArn(const char *value)
CustomLogSourceAttributes & WithTableArn(const char *value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomLogSourceAttributes & WithCrawlerArn(Aws::String &&value)
CustomLogSourceAttributes & WithTableArn(Aws::String &&value)
CustomLogSourceAttributes & WithDatabaseArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue