AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
49 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
50 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
51 inline LogGroupSummary& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
52 inline LogGroupSummary& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
53 inline LogGroupSummary& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
55
57
60 inline const Aws::String& GetLogType() const{ return m_logType; }
61 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
62 inline void SetLogType(const Aws::String& value) { m_logTypeHasBeenSet = true; m_logType = value; }
63 inline void SetLogType(Aws::String&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); }
64 inline void SetLogType(const char* value) { m_logTypeHasBeenSet = true; m_logType.assign(value); }
65 inline LogGroupSummary& WithLogType(const Aws::String& value) { SetLogType(value); return *this;}
66 inline LogGroupSummary& WithLogType(Aws::String&& value) { SetLogType(std::move(value)); return *this;}
67 inline LogGroupSummary& WithLogType(const char* value) { SetLogType(value); return *this;}
69 private:
70
71 Aws::String m_logGroupName;
72 bool m_logGroupNameHasBeenSet = false;
73
74 Aws::String m_logType;
75 bool m_logTypeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace MainframeModernization
80} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary()
LogGroupSummary & WithLogGroupName(const char *value)
LogGroupSummary & WithLogGroupName(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary(Aws::Utils::Json::JsonView jsonValue)
LogGroupSummary & WithLogType(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API LogGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LogGroupSummary & WithLogGroupName(Aws::String &&value)
LogGroupSummary & WithLogType(const Aws::String &value)
LogGroupSummary & WithLogType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue