AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ParseWAF.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_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 CloudWatchLogs
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_CLOUDWATCHLOGS_API ParseWAF() = default;
43 AWS_CLOUDWATCHLOGS_API ParseWAF(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLOUDWATCHLOGS_API ParseWAF& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::String& GetSource() const { return m_source; }
55 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
56 template<typename SourceT = Aws::String>
57 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
58 template<typename SourceT = Aws::String>
59 ParseWAF& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
61 private:
62
63 Aws::String m_source;
64 bool m_sourceHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace CloudWatchLogs
69} // namespace Aws
void SetSource(SourceT &&value)
Definition ParseWAF.h:57
ParseWAF & WithSource(SourceT &&value)
Definition ParseWAF.h:59
AWS_CLOUDWATCHLOGS_API ParseWAF(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSource() const
Definition ParseWAF.h:54
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API ParseWAF()=default
AWS_CLOUDWATCHLOGS_API ParseWAF & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue