AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ParseWAF.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchLogs {
20namespace Model {
21
35class ParseWAF {
36 public:
37 AWS_CLOUDWATCHLOGS_API ParseWAF() = default;
38 AWS_CLOUDWATCHLOGS_API ParseWAF(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHLOGS_API ParseWAF& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
48 inline const Aws::String& GetSource() const { return m_source; }
49 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
50 template <typename SourceT = Aws::String>
51 void SetSource(SourceT&& value) {
52 m_sourceHasBeenSet = true;
53 m_source = std::forward<SourceT>(value);
54 }
55 template <typename SourceT = Aws::String>
56 ParseWAF& WithSource(SourceT&& value) {
57 SetSource(std::forward<SourceT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_source;
63 bool m_sourceHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace CloudWatchLogs
68} // namespace Aws
void SetSource(SourceT &&value)
Definition ParseWAF.h:51
ParseWAF & WithSource(SourceT &&value)
Definition ParseWAF.h:56
AWS_CLOUDWATCHLOGS_API ParseWAF(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSource() const
Definition ParseWAF.h:48
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