AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AmazonManagedKafkaEventSourceConfig.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/KafkaSchemaRegistryConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LAMBDA_API AmazonManagedKafkaEventSourceConfig() = default;
39 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline const Aws::String& GetConsumerGroupId() const { return m_consumerGroupId; }
52 inline bool ConsumerGroupIdHasBeenSet() const { return m_consumerGroupIdHasBeenSet; }
53 template<typename ConsumerGroupIdT = Aws::String>
54 void SetConsumerGroupId(ConsumerGroupIdT&& value) { m_consumerGroupIdHasBeenSet = true; m_consumerGroupId = std::forward<ConsumerGroupIdT>(value); }
55 template<typename ConsumerGroupIdT = Aws::String>
56 AmazonManagedKafkaEventSourceConfig& WithConsumerGroupId(ConsumerGroupIdT&& value) { SetConsumerGroupId(std::forward<ConsumerGroupIdT>(value)); return *this;}
58
60
63 inline const KafkaSchemaRegistryConfig& GetSchemaRegistryConfig() const { return m_schemaRegistryConfig; }
64 inline bool SchemaRegistryConfigHasBeenSet() const { return m_schemaRegistryConfigHasBeenSet; }
65 template<typename SchemaRegistryConfigT = KafkaSchemaRegistryConfig>
66 void SetSchemaRegistryConfig(SchemaRegistryConfigT&& value) { m_schemaRegistryConfigHasBeenSet = true; m_schemaRegistryConfig = std::forward<SchemaRegistryConfigT>(value); }
67 template<typename SchemaRegistryConfigT = KafkaSchemaRegistryConfig>
68 AmazonManagedKafkaEventSourceConfig& WithSchemaRegistryConfig(SchemaRegistryConfigT&& value) { SetSchemaRegistryConfig(std::forward<SchemaRegistryConfigT>(value)); return *this;}
70 private:
71
72 Aws::String m_consumerGroupId;
73 bool m_consumerGroupIdHasBeenSet = false;
74
75 KafkaSchemaRegistryConfig m_schemaRegistryConfig;
76 bool m_schemaRegistryConfigHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Lambda
81} // namespace Aws
AmazonManagedKafkaEventSourceConfig & WithConsumerGroupId(ConsumerGroupIdT &&value)
AWS_LAMBDA_API AmazonManagedKafkaEventSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonManagedKafkaEventSourceConfig & WithSchemaRegistryConfig(SchemaRegistryConfigT &&value)
AWS_LAMBDA_API AmazonManagedKafkaEventSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue