AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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