AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
SchemaRegistryConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
10#include <aws/eventbridgev2/model/ConfluentPublicRegistryConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace EventBridgeV2 {
21namespace Model {
22
30 public:
31 AWS_EVENTBRIDGEV2_API SchemaRegistryConfiguration() = default;
32 AWS_EVENTBRIDGEV2_API SchemaRegistryConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_EVENTBRIDGEV2_API SchemaRegistryConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const Aws::String& GetRegistryUri() const { return m_registryUri; }
41 inline bool RegistryUriHasBeenSet() const { return m_registryUriHasBeenSet; }
42 template <typename RegistryUriT = Aws::String>
43 void SetRegistryUri(RegistryUriT&& value) {
44 m_registryUriHasBeenSet = true;
45 m_registryUri = std::forward<RegistryUriT>(value);
46 }
47 template <typename RegistryUriT = Aws::String>
49 SetRegistryUri(std::forward<RegistryUriT>(value));
50 return *this;
51 }
53
55
60 return m_confluentPublicRegistryConfiguration;
61 }
62 inline bool ConfluentPublicRegistryConfigurationHasBeenSet() const { return m_confluentPublicRegistryConfigurationHasBeenSet; }
63 template <typename ConfluentPublicRegistryConfigurationT = ConfluentPublicRegistryConfiguration>
64 void SetConfluentPublicRegistryConfiguration(ConfluentPublicRegistryConfigurationT&& value) {
65 m_confluentPublicRegistryConfigurationHasBeenSet = true;
66 m_confluentPublicRegistryConfiguration = std::forward<ConfluentPublicRegistryConfigurationT>(value);
67 }
68 template <typename ConfluentPublicRegistryConfigurationT = ConfluentPublicRegistryConfiguration>
69 SchemaRegistryConfiguration& WithConfluentPublicRegistryConfiguration(ConfluentPublicRegistryConfigurationT&& value) {
70 SetConfluentPublicRegistryConfiguration(std::forward<ConfluentPublicRegistryConfigurationT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_registryUri;
76
77 ConfluentPublicRegistryConfiguration m_confluentPublicRegistryConfiguration;
78 bool m_registryUriHasBeenSet = false;
79 bool m_confluentPublicRegistryConfigurationHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace EventBridgeV2
84} // namespace Aws
AWS_EVENTBRIDGEV2_API SchemaRegistryConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API SchemaRegistryConfiguration()=default
void SetConfluentPublicRegistryConfiguration(ConfluentPublicRegistryConfigurationT &&value)
SchemaRegistryConfiguration & WithConfluentPublicRegistryConfiguration(ConfluentPublicRegistryConfigurationT &&value)
AWS_EVENTBRIDGEV2_API SchemaRegistryConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const ConfluentPublicRegistryConfiguration & GetConfluentPublicRegistryConfiguration() const
SchemaRegistryConfiguration & WithRegistryUri(RegistryUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String