AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 MSKSourceDescription& WithMSKClusterARN(const Aws::String& value) { SetMSKClusterARN(value); return *this;}
53 inline MSKSourceDescription& WithMSKClusterARN(Aws::String&& value) { SetMSKClusterARN(std::move(value)); return *this;}
54 inline MSKSourceDescription& 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 MSKSourceDescription& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
67 inline MSKSourceDescription& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
68 inline MSKSourceDescription& 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
88 inline const Aws::Utils::DateTime& GetDeliveryStartTimestamp() const{ return m_deliveryStartTimestamp; }
89 inline bool DeliveryStartTimestampHasBeenSet() const { return m_deliveryStartTimestampHasBeenSet; }
90 inline void SetDeliveryStartTimestamp(const Aws::Utils::DateTime& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = value; }
91 inline void SetDeliveryStartTimestamp(Aws::Utils::DateTime&& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = std::move(value); }
95
97
105 inline const Aws::Utils::DateTime& GetReadFromTimestamp() const{ return m_readFromTimestamp; }
106 inline bool ReadFromTimestampHasBeenSet() const { return m_readFromTimestampHasBeenSet; }
107 inline void SetReadFromTimestamp(const Aws::Utils::DateTime& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = value; }
108 inline void SetReadFromTimestamp(Aws::Utils::DateTime&& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = std::move(value); }
110 inline MSKSourceDescription& WithReadFromTimestamp(Aws::Utils::DateTime&& value) { SetReadFromTimestamp(std::move(value)); return *this;}
112 private:
113
114 Aws::String m_mSKClusterARN;
115 bool m_mSKClusterARNHasBeenSet = false;
116
117 Aws::String m_topicName;
118 bool m_topicNameHasBeenSet = false;
119
120 AuthenticationConfiguration m_authenticationConfiguration;
121 bool m_authenticationConfigurationHasBeenSet = false;
122
123 Aws::Utils::DateTime m_deliveryStartTimestamp;
124 bool m_deliveryStartTimestampHasBeenSet = false;
125
126 Aws::Utils::DateTime m_readFromTimestamp;
127 bool m_readFromTimestampHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Firehose
132} // namespace Aws
MSKSourceDescription & WithTopicName(Aws::String &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API MSKSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeliveryStartTimestamp(Aws::Utils::DateTime &&value)
MSKSourceDescription & WithTopicName(const char *value)
void SetDeliveryStartTimestamp(const Aws::Utils::DateTime &value)
AWS_FIREHOSE_API MSKSourceDescription(Aws::Utils::Json::JsonView jsonValue)
MSKSourceDescription & WithAuthenticationConfiguration(const AuthenticationConfiguration &value)
MSKSourceDescription & WithDeliveryStartTimestamp(const Aws::Utils::DateTime &value)
void SetReadFromTimestamp(Aws::Utils::DateTime &&value)
MSKSourceDescription & WithMSKClusterARN(const Aws::String &value)
void SetAuthenticationConfiguration(AuthenticationConfiguration &&value)
MSKSourceDescription & WithTopicName(const Aws::String &value)
MSKSourceDescription & WithReadFromTimestamp(Aws::Utils::DateTime &&value)
MSKSourceDescription & WithReadFromTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetReadFromTimestamp() const
void SetMSKClusterARN(const Aws::String &value)
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
MSKSourceDescription & WithMSKClusterARN(Aws::String &&value)
MSKSourceDescription & WithAuthenticationConfiguration(AuthenticationConfiguration &&value)
void SetTopicName(const Aws::String &value)
void SetAuthenticationConfiguration(const AuthenticationConfiguration &value)
const Aws::Utils::DateTime & GetDeliveryStartTimestamp() const
void SetReadFromTimestamp(const Aws::Utils::DateTime &value)
MSKSourceDescription & WithMSKClusterARN(const char *value)
MSKSourceDescription & WithDeliveryStartTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue