AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LocationT = Aws::String>
48 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
49 template<typename LocationT = Aws::String>
50 CustomLogSourceProvider& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
52
54
61 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
62 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
63 template<typename RoleArnT = Aws::String>
64 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
65 template<typename RoleArnT = Aws::String>
66 CustomLogSourceProvider& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
68 private:
69
70 Aws::String m_location;
71 bool m_locationHasBeenSet = false;
72
73 Aws::String m_roleArn;
74 bool m_roleArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SecurityLake
79} // namespace Aws
AWS_SECURITYLAKE_API CustomLogSourceProvider(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomLogSourceProvider & WithRoleArn(RoleArnT &&value)
AWS_SECURITYLAKE_API CustomLogSourceProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API CustomLogSourceProvider()=default
CustomLogSourceProvider & WithLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue