AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SplunkDestinationUpdate.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/HECEndpointType.h>
10#include <aws/firehose/model/SplunkRetryOptions.h>
11#include <aws/firehose/model/SplunkS3BackupMode.h>
12#include <aws/firehose/model/S3DestinationUpdate.h>
13#include <aws/firehose/model/ProcessingConfiguration.h>
14#include <aws/firehose/model/CloudWatchLoggingOptions.h>
15#include <aws/firehose/model/SplunkBufferingHints.h>
16#include <aws/firehose/model/SecretsManagerConfiguration.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Firehose
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_FIREHOSE_API SplunkDestinationUpdate();
46 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const Aws::String& GetHECEndpoint() const{ return m_hECEndpoint; }
55 inline bool HECEndpointHasBeenSet() const { return m_hECEndpointHasBeenSet; }
56 inline void SetHECEndpoint(const Aws::String& value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint = value; }
57 inline void SetHECEndpoint(Aws::String&& value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint = std::move(value); }
58 inline void SetHECEndpoint(const char* value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint.assign(value); }
59 inline SplunkDestinationUpdate& WithHECEndpoint(const Aws::String& value) { SetHECEndpoint(value); return *this;}
60 inline SplunkDestinationUpdate& WithHECEndpoint(Aws::String&& value) { SetHECEndpoint(std::move(value)); return *this;}
61 inline SplunkDestinationUpdate& WithHECEndpoint(const char* value) { SetHECEndpoint(value); return *this;}
63
65
68 inline const HECEndpointType& GetHECEndpointType() const{ return m_hECEndpointType; }
69 inline bool HECEndpointTypeHasBeenSet() const { return m_hECEndpointTypeHasBeenSet; }
70 inline void SetHECEndpointType(const HECEndpointType& value) { m_hECEndpointTypeHasBeenSet = true; m_hECEndpointType = value; }
71 inline void SetHECEndpointType(HECEndpointType&& value) { m_hECEndpointTypeHasBeenSet = true; m_hECEndpointType = std::move(value); }
73 inline SplunkDestinationUpdate& WithHECEndpointType(HECEndpointType&& value) { SetHECEndpointType(std::move(value)); return *this;}
75
77
81 inline const Aws::String& GetHECToken() const{ return m_hECToken; }
82 inline bool HECTokenHasBeenSet() const { return m_hECTokenHasBeenSet; }
83 inline void SetHECToken(const Aws::String& value) { m_hECTokenHasBeenSet = true; m_hECToken = value; }
84 inline void SetHECToken(Aws::String&& value) { m_hECTokenHasBeenSet = true; m_hECToken = std::move(value); }
85 inline void SetHECToken(const char* value) { m_hECTokenHasBeenSet = true; m_hECToken.assign(value); }
86 inline SplunkDestinationUpdate& WithHECToken(const Aws::String& value) { SetHECToken(value); return *this;}
87 inline SplunkDestinationUpdate& WithHECToken(Aws::String&& value) { SetHECToken(std::move(value)); return *this;}
88 inline SplunkDestinationUpdate& WithHECToken(const char* value) { SetHECToken(value); return *this;}
90
92
98 inline int GetHECAcknowledgmentTimeoutInSeconds() const{ return m_hECAcknowledgmentTimeoutInSeconds; }
99 inline bool HECAcknowledgmentTimeoutInSecondsHasBeenSet() const { return m_hECAcknowledgmentTimeoutInSecondsHasBeenSet; }
100 inline void SetHECAcknowledgmentTimeoutInSeconds(int value) { m_hECAcknowledgmentTimeoutInSecondsHasBeenSet = true; m_hECAcknowledgmentTimeoutInSeconds = value; }
103
105
109 inline const SplunkRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
110 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
111 inline void SetRetryOptions(const SplunkRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
112 inline void SetRetryOptions(SplunkRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
113 inline SplunkDestinationUpdate& WithRetryOptions(const SplunkRetryOptions& value) { SetRetryOptions(value); return *this;}
114 inline SplunkDestinationUpdate& WithRetryOptions(SplunkRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
116
118
128 inline const SplunkS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
129 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
130 inline void SetS3BackupMode(const SplunkS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
131 inline void SetS3BackupMode(SplunkS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
132 inline SplunkDestinationUpdate& WithS3BackupMode(const SplunkS3BackupMode& value) { SetS3BackupMode(value); return *this;}
133 inline SplunkDestinationUpdate& WithS3BackupMode(SplunkS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
135
137
140 inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
141 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
142 inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
143 inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
144 inline SplunkDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;}
145 inline SplunkDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;}
147
149
152 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
153 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
154 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
155 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
159
161
164 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
165 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
166 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
167 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
171
173
177 inline const SplunkBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
178 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
179 inline void SetBufferingHints(const SplunkBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
180 inline void SetBufferingHints(SplunkBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
182 inline SplunkDestinationUpdate& WithBufferingHints(SplunkBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
184
186
189 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; }
190 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
191 inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; }
192 inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); }
196 private:
197
198 Aws::String m_hECEndpoint;
199 bool m_hECEndpointHasBeenSet = false;
200
201 HECEndpointType m_hECEndpointType;
202 bool m_hECEndpointTypeHasBeenSet = false;
203
204 Aws::String m_hECToken;
205 bool m_hECTokenHasBeenSet = false;
206
207 int m_hECAcknowledgmentTimeoutInSeconds;
208 bool m_hECAcknowledgmentTimeoutInSecondsHasBeenSet = false;
209
210 SplunkRetryOptions m_retryOptions;
211 bool m_retryOptionsHasBeenSet = false;
212
213 SplunkS3BackupMode m_s3BackupMode;
214 bool m_s3BackupModeHasBeenSet = false;
215
216 S3DestinationUpdate m_s3Update;
217 bool m_s3UpdateHasBeenSet = false;
218
219 ProcessingConfiguration m_processingConfiguration;
220 bool m_processingConfigurationHasBeenSet = false;
221
222 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
223 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
224
225 SplunkBufferingHints m_bufferingHints;
226 bool m_bufferingHintsHasBeenSet = false;
227
228 SecretsManagerConfiguration m_secretsManagerConfiguration;
229 bool m_secretsManagerConfigurationHasBeenSet = false;
230 };
231
232} // namespace Model
233} // namespace Firehose
234} // namespace Aws
SplunkDestinationUpdate & WithRetryOptions(const SplunkRetryOptions &value)
SplunkDestinationUpdate & WithHECAcknowledgmentTimeoutInSeconds(int value)
SplunkDestinationUpdate & WithHECEndpoint(const char *value)
void SetRetryOptions(const SplunkRetryOptions &value)
SplunkDestinationUpdate & WithHECEndpoint(const Aws::String &value)
void SetS3BackupMode(const SplunkS3BackupMode &value)
SplunkDestinationUpdate & WithS3BackupMode(const SplunkS3BackupMode &value)
SplunkDestinationUpdate & WithHECEndpointType(const HECEndpointType &value)
void SetBufferingHints(SplunkBufferingHints &&value)
void SetBufferingHints(const SplunkBufferingHints &value)
SplunkDestinationUpdate & WithHECEndpointType(HECEndpointType &&value)
void SetS3Update(const S3DestinationUpdate &value)
SplunkDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
SplunkDestinationUpdate & WithSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
SplunkDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
SplunkDestinationUpdate & WithSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SplunkDestinationUpdate & WithBufferingHints(SplunkBufferingHints &&value)
AWS_FIREHOSE_API SplunkDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
SplunkDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
SplunkDestinationUpdate & WithRetryOptions(SplunkRetryOptions &&value)
SplunkDestinationUpdate & WithHECEndpoint(Aws::String &&value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
SplunkDestinationUpdate & WithHECToken(const Aws::String &value)
SplunkDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
const SplunkBufferingHints & GetBufferingHints() const
AWS_FIREHOSE_API SplunkDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
const SplunkRetryOptions & GetRetryOptions() const
SplunkDestinationUpdate & WithHECToken(const char *value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
const S3DestinationUpdate & GetS3Update() const
SplunkDestinationUpdate & WithS3BackupMode(SplunkS3BackupMode &&value)
const SplunkS3BackupMode & GetS3BackupMode() const
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
void SetSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
void SetProcessingConfiguration(ProcessingConfiguration &&value)
SplunkDestinationUpdate & WithHECToken(Aws::String &&value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
SplunkDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
void SetHECEndpointType(const HECEndpointType &value)
SplunkDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
SplunkDestinationUpdate & WithBufferingHints(const SplunkBufferingHints &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue