AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SplunkDestinationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/CloudWatchLoggingOptions.h>
10#include <aws/firehose/model/HECEndpointType.h>
11#include <aws/firehose/model/ProcessingConfiguration.h>
12#include <aws/firehose/model/S3DestinationConfiguration.h>
13#include <aws/firehose/model/SecretsManagerConfiguration.h>
14#include <aws/firehose/model/SplunkBufferingHints.h>
15#include <aws/firehose/model/SplunkRetryOptions.h>
16#include <aws/firehose/model/SplunkS3BackupMode.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Firehose {
28namespace Model {
29
37 public:
38 AWS_FIREHOSE_API SplunkDestinationConfiguration() = default;
41 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
48 inline const Aws::String& GetHECEndpoint() const { return m_hECEndpoint; }
49 inline bool HECEndpointHasBeenSet() const { return m_hECEndpointHasBeenSet; }
50 template <typename HECEndpointT = Aws::String>
51 void SetHECEndpoint(HECEndpointT&& value) {
52 m_hECEndpointHasBeenSet = true;
53 m_hECEndpoint = std::forward<HECEndpointT>(value);
54 }
55 template <typename HECEndpointT = Aws::String>
57 SetHECEndpoint(std::forward<HECEndpointT>(value));
58 return *this;
59 }
61
63
66 inline HECEndpointType GetHECEndpointType() const { return m_hECEndpointType; }
67 inline bool HECEndpointTypeHasBeenSet() const { return m_hECEndpointTypeHasBeenSet; }
69 m_hECEndpointTypeHasBeenSet = true;
70 m_hECEndpointType = value;
71 }
73 SetHECEndpointType(value);
74 return *this;
75 }
77
79
83 inline const Aws::String& GetHECToken() const { return m_hECToken; }
84 inline bool HECTokenHasBeenSet() const { return m_hECTokenHasBeenSet; }
85 template <typename HECTokenT = Aws::String>
86 void SetHECToken(HECTokenT&& value) {
87 m_hECTokenHasBeenSet = true;
88 m_hECToken = std::forward<HECTokenT>(value);
89 }
90 template <typename HECTokenT = Aws::String>
92 SetHECToken(std::forward<HECTokenT>(value));
93 return *this;
94 }
96
98
104 inline int GetHECAcknowledgmentTimeoutInSeconds() const { return m_hECAcknowledgmentTimeoutInSeconds; }
105 inline bool HECAcknowledgmentTimeoutInSecondsHasBeenSet() const { return m_hECAcknowledgmentTimeoutInSecondsHasBeenSet; }
107 m_hECAcknowledgmentTimeoutInSecondsHasBeenSet = true;
108 m_hECAcknowledgmentTimeoutInSeconds = value;
109 }
112 return *this;
113 }
115
117
121 inline const SplunkRetryOptions& GetRetryOptions() const { return m_retryOptions; }
122 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
123 template <typename RetryOptionsT = SplunkRetryOptions>
124 void SetRetryOptions(RetryOptionsT&& value) {
125 m_retryOptionsHasBeenSet = true;
126 m_retryOptions = std::forward<RetryOptionsT>(value);
127 }
128 template <typename RetryOptionsT = SplunkRetryOptions>
130 SetRetryOptions(std::forward<RetryOptionsT>(value));
131 return *this;
132 }
134
136
146 inline SplunkS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
147 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
149 m_s3BackupModeHasBeenSet = true;
150 m_s3BackupMode = value;
151 }
153 SetS3BackupMode(value);
154 return *this;
155 }
157
159
162 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
163 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
164 template <typename S3ConfigurationT = S3DestinationConfiguration>
165 void SetS3Configuration(S3ConfigurationT&& value) {
166 m_s3ConfigurationHasBeenSet = true;
167 m_s3Configuration = std::forward<S3ConfigurationT>(value);
168 }
169 template <typename S3ConfigurationT = S3DestinationConfiguration>
171 SetS3Configuration(std::forward<S3ConfigurationT>(value));
172 return *this;
173 }
175
177
180 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
181 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
182 template <typename ProcessingConfigurationT = ProcessingConfiguration>
183 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
184 m_processingConfigurationHasBeenSet = true;
185 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
186 }
187 template <typename ProcessingConfigurationT = ProcessingConfiguration>
189 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
190 return *this;
191 }
193
195
198 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
199 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
200 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
201 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
202 m_cloudWatchLoggingOptionsHasBeenSet = true;
203 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
204 }
205 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
207 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
208 return *this;
209 }
211
213
217 inline const SplunkBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
218 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
219 template <typename BufferingHintsT = SplunkBufferingHints>
220 void SetBufferingHints(BufferingHintsT&& value) {
221 m_bufferingHintsHasBeenSet = true;
222 m_bufferingHints = std::forward<BufferingHintsT>(value);
223 }
224 template <typename BufferingHintsT = SplunkBufferingHints>
226 SetBufferingHints(std::forward<BufferingHintsT>(value));
227 return *this;
228 }
230
232
235 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
236 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
237 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
238 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
239 m_secretsManagerConfigurationHasBeenSet = true;
240 m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value);
241 }
242 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
244 SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value));
245 return *this;
246 }
248 private:
249 Aws::String m_hECEndpoint;
250
251 HECEndpointType m_hECEndpointType{HECEndpointType::NOT_SET};
252
253 Aws::String m_hECToken;
254
255 int m_hECAcknowledgmentTimeoutInSeconds{0};
256
257 SplunkRetryOptions m_retryOptions;
258
260
261 S3DestinationConfiguration m_s3Configuration;
262
263 ProcessingConfiguration m_processingConfiguration;
264
265 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
266
267 SplunkBufferingHints m_bufferingHints;
268
269 SecretsManagerConfiguration m_secretsManagerConfiguration;
270 bool m_hECEndpointHasBeenSet = false;
271 bool m_hECEndpointTypeHasBeenSet = false;
272 bool m_hECTokenHasBeenSet = false;
273 bool m_hECAcknowledgmentTimeoutInSecondsHasBeenSet = false;
274 bool m_retryOptionsHasBeenSet = false;
275 bool m_s3BackupModeHasBeenSet = false;
276 bool m_s3ConfigurationHasBeenSet = false;
277 bool m_processingConfigurationHasBeenSet = false;
278 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
279 bool m_bufferingHintsHasBeenSet = false;
280 bool m_secretsManagerConfigurationHasBeenSet = false;
281};
282
283} // namespace Model
284} // namespace Firehose
285} // namespace Aws
AWS_FIREHOSE_API SplunkDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SplunkDestinationConfiguration & WithProcessingConfiguration(ProcessingConfigurationT &&value)
const S3DestinationConfiguration & GetS3Configuration() const
SplunkDestinationConfiguration & WithSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
SplunkDestinationConfiguration & WithHECToken(HECTokenT &&value)
SplunkDestinationConfiguration & WithS3BackupMode(SplunkS3BackupMode value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
void SetSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
AWS_FIREHOSE_API SplunkDestinationConfiguration()=default
SplunkDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
SplunkDestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SplunkDestinationConfiguration & WithRetryOptions(RetryOptionsT &&value)
SplunkDestinationConfiguration & WithHECEndpoint(HECEndpointT &&value)
SplunkDestinationConfiguration & WithS3Configuration(S3ConfigurationT &&value)
SplunkDestinationConfiguration & WithHECEndpointType(HECEndpointType value)
SplunkDestinationConfiguration & WithHECAcknowledgmentTimeoutInSeconds(int value)
AWS_FIREHOSE_API SplunkDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue