AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomLogSourceProvider.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
33 {
34 public:
35 AWS_SECURITYLAKE_API CustomLogSourceProvider();
36 AWS_SECURITYLAKE_API CustomLogSourceProvider(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLocation() const{ return m_location; }
46 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
47 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
48 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
49 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
50 inline CustomLogSourceProvider& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
51 inline CustomLogSourceProvider& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
52 inline CustomLogSourceProvider& WithLocation(const char* value) { SetLocation(value); return *this;}
54
56
63 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
64 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
65 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
66 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
67 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
68 inline CustomLogSourceProvider& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
69 inline CustomLogSourceProvider& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
70 inline CustomLogSourceProvider& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
72 private:
73
74 Aws::String m_location;
75 bool m_locationHasBeenSet = false;
76
77 Aws::String m_roleArn;
78 bool m_roleArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SecurityLake
83} // namespace Aws
CustomLogSourceProvider & WithLocation(Aws::String &&value)
CustomLogSourceProvider & WithLocation(const char *value)
CustomLogSourceProvider & WithLocation(const Aws::String &value)
AWS_SECURITYLAKE_API CustomLogSourceProvider(Aws::Utils::Json::JsonView jsonValue)
CustomLogSourceProvider & WithRoleArn(Aws::String &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomLogSourceProvider & WithRoleArn(const char *value)
AWS_SECURITYLAKE_API CustomLogSourceProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomLogSourceProvider & WithRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue