AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchLogsLogDelivery.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
33 {
34 public:
35 AWS_KAFKACONNECT_API CloudWatchLogsLogDelivery();
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnabled() const{ return m_enabled; }
46 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
48 inline CloudWatchLogsLogDelivery& WithEnabled(bool value) { SetEnabled(value); return *this;}
50
52
56 inline const Aws::String& GetLogGroup() const{ return m_logGroup; }
57 inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; }
58 inline void SetLogGroup(const Aws::String& value) { m_logGroupHasBeenSet = true; m_logGroup = value; }
59 inline void SetLogGroup(Aws::String&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::move(value); }
60 inline void SetLogGroup(const char* value) { m_logGroupHasBeenSet = true; m_logGroup.assign(value); }
61 inline CloudWatchLogsLogDelivery& WithLogGroup(const Aws::String& value) { SetLogGroup(value); return *this;}
62 inline CloudWatchLogsLogDelivery& WithLogGroup(Aws::String&& value) { SetLogGroup(std::move(value)); return *this;}
63 inline CloudWatchLogsLogDelivery& WithLogGroup(const char* value) { SetLogGroup(value); return *this;}
65 private:
66
67 bool m_enabled;
68 bool m_enabledHasBeenSet = false;
69
70 Aws::String m_logGroup;
71 bool m_logGroupHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace KafkaConnect
76} // namespace Aws
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API CloudWatchLogsLogDelivery & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogsLogDelivery & WithLogGroup(const char *value)
AWS_KAFKACONNECT_API CloudWatchLogsLogDelivery(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogsLogDelivery & WithLogGroup(Aws::String &&value)
CloudWatchLogsLogDelivery & WithLogGroup(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue