AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetLogGroup(const Aws::String& value) { m_logGroupHasBeenSet = true; m_logGroup = value; }
58 inline void SetLogGroup(Aws::String&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::move(value); }
59 inline void SetLogGroup(const char* value) { m_logGroupHasBeenSet = true; m_logGroup.assign(value); }
60 inline CloudWatchLogsLogDeliveryDescription& WithLogGroup(const Aws::String& value) { SetLogGroup(value); return *this;}
61 inline CloudWatchLogsLogDeliveryDescription& WithLogGroup(Aws::String&& value) { SetLogGroup(std::move(value)); return *this;}
62 inline CloudWatchLogsLogDeliveryDescription& WithLogGroup(const char* value) { SetLogGroup(value); return *this;}
64 private:
65
66 bool m_enabled;
67 bool m_enabledHasBeenSet = false;
68
69 Aws::String m_logGroup;
70 bool m_logGroupHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace KafkaConnect
75} // namespace Aws
CloudWatchLogsLogDeliveryDescription & WithLogGroup(Aws::String &&value)
CloudWatchLogsLogDeliveryDescription & WithLogGroup(const Aws::String &value)
CloudWatchLogsLogDeliveryDescription & WithLogGroup(const char *value)
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