AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LogGroupSummary.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_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 MainframeModernization
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary() = default;
37 AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
47 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
48 template<typename LogGroupNameT = Aws::String>
49 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::forward<LogGroupNameT>(value); }
50 template<typename LogGroupNameT = Aws::String>
51 LogGroupSummary& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetLogType() const { return m_logType; }
59 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
60 template<typename LogTypeT = Aws::String>
61 void SetLogType(LogTypeT&& value) { m_logTypeHasBeenSet = true; m_logType = std::forward<LogTypeT>(value); }
62 template<typename LogTypeT = Aws::String>
63 LogGroupSummary& WithLogType(LogTypeT&& value) { SetLogType(std::forward<LogTypeT>(value)); return *this;}
65 private:
66
67 Aws::String m_logGroupName;
68 bool m_logGroupNameHasBeenSet = false;
69
70 Aws::String m_logType;
71 bool m_logTypeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MainframeModernization
76} // namespace Aws
LogGroupSummary & WithLogGroupName(LogGroupNameT &&value)
LogGroupSummary & WithLogType(LogTypeT &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary()=default
AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue