AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CloudWatchLogsLogDeliveryDescription.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_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 KafkaConnect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_KAFKACONNECT_API CloudWatchLogsLogDeliveryDescription() = default;
37 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline bool GetEnabled() const { return m_enabled; }
45 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
46 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
47 inline CloudWatchLogsLogDeliveryDescription& WithEnabled(bool value) { SetEnabled(value); return *this;}
49
51
55 inline const Aws::String& GetLogGroup() const { return m_logGroup; }
56 inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; }
57 template<typename LogGroupT = Aws::String>
58 void SetLogGroup(LogGroupT&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::forward<LogGroupT>(value); }
59 template<typename LogGroupT = Aws::String>
60 CloudWatchLogsLogDeliveryDescription& WithLogGroup(LogGroupT&& value) { SetLogGroup(std::forward<LogGroupT>(value)); return *this;}
62 private:
63
64 bool m_enabled{false};
65 bool m_enabledHasBeenSet = false;
66
67 Aws::String m_logGroup;
68 bool m_logGroupHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace KafkaConnect
73} // namespace Aws
CloudWatchLogsLogDeliveryDescription & WithLogGroup(LogGroupT &&value)
AWS_KAFKACONNECT_API CloudWatchLogsLogDeliveryDescription()=default
AWS_KAFKACONNECT_API CloudWatchLogsLogDeliveryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API CloudWatchLogsLogDeliveryDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue