AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
MSKSourceDescription.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/firehose/Firehose_EXPORTS.h>
10#include <aws/firehose/model/AuthenticationConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Firehose {
22namespace Model {
23
31 public:
32 AWS_FIREHOSE_API MSKSourceDescription() = default;
35 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetMSKClusterARN() const { return m_mSKClusterARN; }
42 inline bool MSKClusterARNHasBeenSet() const { return m_mSKClusterARNHasBeenSet; }
43 template <typename MSKClusterARNT = Aws::String>
44 void SetMSKClusterARN(MSKClusterARNT&& value) {
45 m_mSKClusterARNHasBeenSet = true;
46 m_mSKClusterARN = std::forward<MSKClusterARNT>(value);
47 }
48 template <typename MSKClusterARNT = Aws::String>
49 MSKSourceDescription& WithMSKClusterARN(MSKClusterARNT&& value) {
50 SetMSKClusterARN(std::forward<MSKClusterARNT>(value));
51 return *this;
52 }
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) {
63 m_topicNameHasBeenSet = true;
64 m_topicName = std::forward<TopicNameT>(value);
65 }
66 template <typename TopicNameT = Aws::String>
67 MSKSourceDescription& WithTopicName(TopicNameT&& value) {
68 SetTopicName(std::forward<TopicNameT>(value));
69 return *this;
70 }
72
74
77 inline const AuthenticationConfiguration& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
78 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
79 template <typename AuthenticationConfigurationT = AuthenticationConfiguration>
80 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) {
81 m_authenticationConfigurationHasBeenSet = true;
82 m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value);
83 }
84 template <typename AuthenticationConfigurationT = AuthenticationConfiguration>
85 MSKSourceDescription& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) {
86 SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::Utils::DateTime& GetDeliveryStartTimestamp() const { return m_deliveryStartTimestamp; }
97 inline bool DeliveryStartTimestampHasBeenSet() const { return m_deliveryStartTimestampHasBeenSet; }
98 template <typename DeliveryStartTimestampT = Aws::Utils::DateTime>
99 void SetDeliveryStartTimestamp(DeliveryStartTimestampT&& value) {
100 m_deliveryStartTimestampHasBeenSet = true;
101 m_deliveryStartTimestamp = std::forward<DeliveryStartTimestampT>(value);
102 }
103 template <typename DeliveryStartTimestampT = Aws::Utils::DateTime>
104 MSKSourceDescription& WithDeliveryStartTimestamp(DeliveryStartTimestampT&& value) {
105 SetDeliveryStartTimestamp(std::forward<DeliveryStartTimestampT>(value));
106 return *this;
107 }
109
111
119 inline const Aws::Utils::DateTime& GetReadFromTimestamp() const { return m_readFromTimestamp; }
120 inline bool ReadFromTimestampHasBeenSet() const { return m_readFromTimestampHasBeenSet; }
121 template <typename ReadFromTimestampT = Aws::Utils::DateTime>
122 void SetReadFromTimestamp(ReadFromTimestampT&& value) {
123 m_readFromTimestampHasBeenSet = true;
124 m_readFromTimestamp = std::forward<ReadFromTimestampT>(value);
125 }
126 template <typename ReadFromTimestampT = Aws::Utils::DateTime>
127 MSKSourceDescription& WithReadFromTimestamp(ReadFromTimestampT&& value) {
128 SetReadFromTimestamp(std::forward<ReadFromTimestampT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_mSKClusterARN;
134
135 Aws::String m_topicName;
136
137 AuthenticationConfiguration m_authenticationConfiguration;
138
139 Aws::Utils::DateTime m_deliveryStartTimestamp{};
140
141 Aws::Utils::DateTime m_readFromTimestamp{};
142 bool m_mSKClusterARNHasBeenSet = false;
143 bool m_topicNameHasBeenSet = false;
144 bool m_authenticationConfigurationHasBeenSet = false;
145 bool m_deliveryStartTimestampHasBeenSet = false;
146 bool m_readFromTimestampHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace Firehose
151} // 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