AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMSKClusterARN(const Aws::String& value) { m_mSKClusterARNHasBeenSet = true; m_mSKClusterARN = value; }
50 inline void SetMSKClusterARN(Aws::String&& value) { m_mSKClusterARNHasBeenSet = true; m_mSKClusterARN = std::move(value); }
51 inline void SetMSKClusterARN(const char* value) { m_mSKClusterARNHasBeenSet = true; m_mSKClusterARN.assign(value); }
52 inline MSKSourceConfiguration& WithMSKClusterARN(const Aws::String& value) { SetMSKClusterARN(value); return *this;}
53 inline MSKSourceConfiguration& WithMSKClusterARN(Aws::String&& value) { SetMSKClusterARN(std::move(value)); return *this;}
54 inline MSKSourceConfiguration& WithMSKClusterARN(const char* value) { SetMSKClusterARN(value); return *this;}
56
58
61 inline const Aws::String& GetTopicName() const{ return m_topicName; }
62 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
63 inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
64 inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
65 inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
66 inline MSKSourceConfiguration& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
67 inline MSKSourceConfiguration& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
68 inline MSKSourceConfiguration& WithTopicName(const char* value) { SetTopicName(value); return *this;}
70
72
75 inline const AuthenticationConfiguration& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; }
76 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
77 inline void SetAuthenticationConfiguration(const AuthenticationConfiguration& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = value; }
78 inline void SetAuthenticationConfiguration(AuthenticationConfiguration&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::move(value); }
82
84
91 inline const Aws::Utils::DateTime& GetReadFromTimestamp() const{ return m_readFromTimestamp; }
92 inline bool ReadFromTimestampHasBeenSet() const { return m_readFromTimestampHasBeenSet; }
93 inline void SetReadFromTimestamp(const Aws::Utils::DateTime& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = value; }
94 inline void SetReadFromTimestamp(Aws::Utils::DateTime&& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = std::move(value); }
98 private:
99
100 Aws::String m_mSKClusterARN;
101 bool m_mSKClusterARNHasBeenSet = false;
102
103 Aws::String m_topicName;
104 bool m_topicNameHasBeenSet = false;
105
106 AuthenticationConfiguration m_authenticationConfiguration;
107 bool m_authenticationConfigurationHasBeenSet = false;
108
109 Aws::Utils::DateTime m_readFromTimestamp;
110 bool m_readFromTimestampHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Firehose
115} // namespace Aws
MSKSourceConfiguration & WithMSKClusterARN(const char *value)
void SetAuthenticationConfiguration(const AuthenticationConfiguration &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API MSKSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MSKSourceConfiguration & WithReadFromTimestamp(const Aws::Utils::DateTime &value)
MSKSourceConfiguration & WithAuthenticationConfiguration(AuthenticationConfiguration &&value)
AWS_FIREHOSE_API MSKSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
MSKSourceConfiguration & WithTopicName(Aws::String &&value)
MSKSourceConfiguration & WithMSKClusterARN(Aws::String &&value)
void SetAuthenticationConfiguration(AuthenticationConfiguration &&value)
MSKSourceConfiguration & WithAuthenticationConfiguration(const AuthenticationConfiguration &value)
MSKSourceConfiguration & WithMSKClusterARN(const Aws::String &value)
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
MSKSourceConfiguration & WithReadFromTimestamp(Aws::Utils::DateTime &&value)
MSKSourceConfiguration & WithTopicName(const Aws::String &value)
const Aws::Utils::DateTime & GetReadFromTimestamp() const
void SetReadFromTimestamp(const Aws::Utils::DateTime &value)
MSKSourceConfiguration & WithTopicName(const char *value)
void SetReadFromTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue