AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LogGroupSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/m2/MainframeModernization_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MainframeModernization {
20namespace Model {
21
30 public:
31 AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary() = default;
32 AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
41 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
42 template <typename LogGroupNameT = Aws::String>
43 void SetLogGroupName(LogGroupNameT&& value) {
44 m_logGroupNameHasBeenSet = true;
45 m_logGroupName = std::forward<LogGroupNameT>(value);
46 }
47 template <typename LogGroupNameT = Aws::String>
48 LogGroupSummary& WithLogGroupName(LogGroupNameT&& value) {
49 SetLogGroupName(std::forward<LogGroupNameT>(value));
50 return *this;
51 }
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) {
62 m_logTypeHasBeenSet = true;
63 m_logType = std::forward<LogTypeT>(value);
64 }
65 template <typename LogTypeT = Aws::String>
66 LogGroupSummary& WithLogType(LogTypeT&& value) {
67 SetLogType(std::forward<LogTypeT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_logGroupName;
73
74 Aws::String m_logType;
75 bool m_logGroupNameHasBeenSet = false;
76 bool m_logTypeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MainframeModernization
81} // 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