AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MSKSourceDescription.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/firehose/model/AuthenticationConfiguration.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Firehose
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FIREHOSE_API MSKSourceDescription() = default;
40 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetMSKClusterARN() const { return m_mSKClusterARN; }
48 inline bool MSKClusterARNHasBeenSet() const { return m_mSKClusterARNHasBeenSet; }
49 template<typename MSKClusterARNT = Aws::String>
50 void SetMSKClusterARN(MSKClusterARNT&& value) { m_mSKClusterARNHasBeenSet = true; m_mSKClusterARN = std::forward<MSKClusterARNT>(value); }
51 template<typename MSKClusterARNT = Aws::String>
52 MSKSourceDescription& WithMSKClusterARN(MSKClusterARNT&& value) { SetMSKClusterARN(std::forward<MSKClusterARNT>(value)); return *this;}
54
56
59 inline const Aws::String& GetTopicName() const { return m_topicName; }
60 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
61 template<typename TopicNameT = Aws::String>
62 void SetTopicName(TopicNameT&& value) { m_topicNameHasBeenSet = true; m_topicName = std::forward<TopicNameT>(value); }
63 template<typename TopicNameT = Aws::String>
64 MSKSourceDescription& WithTopicName(TopicNameT&& value) { SetTopicName(std::forward<TopicNameT>(value)); return *this;}
66
68
71 inline const AuthenticationConfiguration& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
72 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
73 template<typename AuthenticationConfigurationT = AuthenticationConfiguration>
74 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value); }
75 template<typename AuthenticationConfigurationT = AuthenticationConfiguration>
76 MSKSourceDescription& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) { SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value)); return *this;}
78
80
84 inline const Aws::Utils::DateTime& GetDeliveryStartTimestamp() const { return m_deliveryStartTimestamp; }
85 inline bool DeliveryStartTimestampHasBeenSet() const { return m_deliveryStartTimestampHasBeenSet; }
86 template<typename DeliveryStartTimestampT = Aws::Utils::DateTime>
87 void SetDeliveryStartTimestamp(DeliveryStartTimestampT&& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = std::forward<DeliveryStartTimestampT>(value); }
88 template<typename DeliveryStartTimestampT = Aws::Utils::DateTime>
89 MSKSourceDescription& WithDeliveryStartTimestamp(DeliveryStartTimestampT&& value) { SetDeliveryStartTimestamp(std::forward<DeliveryStartTimestampT>(value)); return *this;}
91
93
101 inline const Aws::Utils::DateTime& GetReadFromTimestamp() const { return m_readFromTimestamp; }
102 inline bool ReadFromTimestampHasBeenSet() const { return m_readFromTimestampHasBeenSet; }
103 template<typename ReadFromTimestampT = Aws::Utils::DateTime>
104 void SetReadFromTimestamp(ReadFromTimestampT&& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = std::forward<ReadFromTimestampT>(value); }
105 template<typename ReadFromTimestampT = Aws::Utils::DateTime>
106 MSKSourceDescription& WithReadFromTimestamp(ReadFromTimestampT&& value) { SetReadFromTimestamp(std::forward<ReadFromTimestampT>(value)); return *this;}
108 private:
109
110 Aws::String m_mSKClusterARN;
111 bool m_mSKClusterARNHasBeenSet = false;
112
113 Aws::String m_topicName;
114 bool m_topicNameHasBeenSet = false;
115
116 AuthenticationConfiguration m_authenticationConfiguration;
117 bool m_authenticationConfigurationHasBeenSet = false;
118
119 Aws::Utils::DateTime m_deliveryStartTimestamp{};
120 bool m_deliveryStartTimestampHasBeenSet = false;
121
122 Aws::Utils::DateTime m_readFromTimestamp{};
123 bool m_readFromTimestampHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Firehose
128} // namespace Aws
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API MSKSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API MSKSourceDescription(Aws::Utils::Json::JsonView jsonValue)
MSKSourceDescription & WithMSKClusterARN(MSKClusterARNT &&value)
const Aws::Utils::DateTime & GetReadFromTimestamp() const
MSKSourceDescription & WithTopicName(TopicNameT &&value)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
MSKSourceDescription & WithDeliveryStartTimestamp(DeliveryStartTimestampT &&value)
AWS_FIREHOSE_API MSKSourceDescription()=default
MSKSourceDescription & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
const Aws::Utils::DateTime & GetDeliveryStartTimestamp() const
void SetReadFromTimestamp(ReadFromTimestampT &&value)
void SetDeliveryStartTimestamp(DeliveryStartTimestampT &&value)
MSKSourceDescription & WithReadFromTimestamp(ReadFromTimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue