AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
CloudWatchLogsUpdateInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kinesis {
20namespace Model {
21
29 public:
30 AWS_KINESIS_API CloudWatchLogsUpdateInput() = default;
33 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline bool GetEnabled() const { return m_enabled; }
40 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
41 inline void SetEnabled(bool value) {
42 m_enabledHasBeenSet = true;
43 m_enabled = value;
44 }
46 SetEnabled(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
56 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
57 template <typename LogGroupNameT = Aws::String>
58 void SetLogGroupName(LogGroupNameT&& value) {
59 m_logGroupNameHasBeenSet = true;
60 m_logGroupName = std::forward<LogGroupNameT>(value);
61 }
62 template <typename LogGroupNameT = Aws::String>
64 SetLogGroupName(std::forward<LogGroupNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetLogStreamName() const { return m_logStreamName; }
74 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
75 template <typename LogStreamNameT = Aws::String>
76 void SetLogStreamName(LogStreamNameT&& value) {
77 m_logStreamNameHasBeenSet = true;
78 m_logStreamName = std::forward<LogStreamNameT>(value);
79 }
80 template <typename LogStreamNameT = Aws::String>
82 SetLogStreamName(std::forward<LogStreamNameT>(value));
83 return *this;
84 }
86 private:
87 bool m_enabled{false};
88
89 Aws::String m_logGroupName;
90
91 Aws::String m_logStreamName;
92 bool m_enabledHasBeenSet = false;
93 bool m_logGroupNameHasBeenSet = false;
94 bool m_logStreamNameHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Kinesis
99} // namespace Aws
AWS_KINESIS_API CloudWatchLogsUpdateInput()=default
CloudWatchLogsUpdateInput & WithLogStreamName(LogStreamNameT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESIS_API CloudWatchLogsUpdateInput(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogsUpdateInput & WithLogGroupName(LogGroupNameT &&value)
AWS_KINESIS_API CloudWatchLogsUpdateInput & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogsUpdateInput & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue