AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MSKSourceConfiguration.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 MSKSourceConfiguration() = 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 MSKSourceConfiguration& 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 MSKSourceConfiguration& 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 MSKSourceConfiguration& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) { SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value)); return *this;}
78
80
87 inline const Aws::Utils::DateTime& GetReadFromTimestamp() const { return m_readFromTimestamp; }
88 inline bool ReadFromTimestampHasBeenSet() const { return m_readFromTimestampHasBeenSet; }
89 template<typename ReadFromTimestampT = Aws::Utils::DateTime>
90 void SetReadFromTimestamp(ReadFromTimestampT&& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = std::forward<ReadFromTimestampT>(value); }
91 template<typename ReadFromTimestampT = Aws::Utils::DateTime>
92 MSKSourceConfiguration& WithReadFromTimestamp(ReadFromTimestampT&& value) { SetReadFromTimestamp(std::forward<ReadFromTimestampT>(value)); return *this;}
94 private:
95
96 Aws::String m_mSKClusterARN;
97 bool m_mSKClusterARNHasBeenSet = false;
98
99 Aws::String m_topicName;
100 bool m_topicNameHasBeenSet = false;
101
102 AuthenticationConfiguration m_authenticationConfiguration;
103 bool m_authenticationConfigurationHasBeenSet = false;
104
105 Aws::Utils::DateTime m_readFromTimestamp{};
106 bool m_readFromTimestampHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Firehose
111} // 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