AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
CustomLogSourceProvider.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securitylake/SecurityLake_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityLake {
20namespace Model {
21
29 public:
30 AWS_SECURITYLAKE_API CustomLogSourceProvider() = default;
31 AWS_SECURITYLAKE_API CustomLogSourceProvider(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetLocation() const { return m_location; }
40 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
41 template <typename LocationT = Aws::String>
42 void SetLocation(LocationT&& value) {
43 m_locationHasBeenSet = true;
44 m_location = std::forward<LocationT>(value);
45 }
46 template <typename LocationT = Aws::String>
48 SetLocation(std::forward<LocationT>(value));
49 return *this;
50 }
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) {
65 m_roleArnHasBeenSet = true;
66 m_roleArn = std::forward<RoleArnT>(value);
67 }
68 template <typename RoleArnT = Aws::String>
70 SetRoleArn(std::forward<RoleArnT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_location;
76
77 Aws::String m_roleArn;
78 bool m_locationHasBeenSet = false;
79 bool m_roleArnHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace SecurityLake
84} // 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