AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
MSKSourceConfiguration.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 MSKSourceConfiguration() = 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 MSKSourceConfiguration& 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>
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 MSKSourceConfiguration& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) {
86 SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value));
87 return *this;
88 }
90
92
99 inline const Aws::Utils::DateTime& GetReadFromTimestamp() const { return m_readFromTimestamp; }
100 inline bool ReadFromTimestampHasBeenSet() const { return m_readFromTimestampHasBeenSet; }
101 template <typename ReadFromTimestampT = Aws::Utils::DateTime>
102 void SetReadFromTimestamp(ReadFromTimestampT&& value) {
103 m_readFromTimestampHasBeenSet = true;
104 m_readFromTimestamp = std::forward<ReadFromTimestampT>(value);
105 }
106 template <typename ReadFromTimestampT = Aws::Utils::DateTime>
107 MSKSourceConfiguration& WithReadFromTimestamp(ReadFromTimestampT&& value) {
108 SetReadFromTimestamp(std::forward<ReadFromTimestampT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_mSKClusterARN;
114
115 Aws::String m_topicName;
116
117 AuthenticationConfiguration m_authenticationConfiguration;
118
119 Aws::Utils::DateTime m_readFromTimestamp{};
120 bool m_mSKClusterARNHasBeenSet = false;
121 bool m_topicNameHasBeenSet = false;
122 bool m_authenticationConfigurationHasBeenSet = false;
123 bool m_readFromTimestampHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Firehose
128} // namespace Aws
MSKSourceConfiguration & WithReadFromTimestamp(ReadFromTimestampT &&value)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API MSKSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MSKSourceConfiguration & WithMSKClusterARN(MSKClusterARNT &&value)
AWS_FIREHOSE_API MSKSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
MSKSourceConfiguration & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
AWS_FIREHOSE_API MSKSourceConfiguration()=default
void SetReadFromTimestamp(ReadFromTimestampT &&value)
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
MSKSourceConfiguration & WithTopicName(TopicNameT &&value)
const Aws::Utils::DateTime & GetReadFromTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue