AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ParseCloudfront.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
38 public:
39 AWS_CLOUDWATCHLOGS_API ParseCloudfront() = default;
40 AWS_CLOUDWATCHLOGS_API ParseCloudfront(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDWATCHLOGS_API ParseCloudfront& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
50 inline const Aws::String& GetSource() const { return m_source; }
51 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
52 template <typename SourceT = Aws::String>
53 void SetSource(SourceT&& value) {
54 m_sourceHasBeenSet = true;
55 m_source = std::forward<SourceT>(value);
56 }
57 template <typename SourceT = Aws::String>
58 ParseCloudfront& WithSource(SourceT&& value) {
59 SetSource(std::forward<SourceT>(value));
60 return *this;
61 }
63 private:
64 Aws::String m_source;
65 bool m_sourceHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace CloudWatchLogs
70} // namespace Aws
ParseCloudfront & WithSource(SourceT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API ParseCloudfront()=default
AWS_CLOUDWATCHLOGS_API ParseCloudfront(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API ParseCloudfront & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue