AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SplunkDestinationDescription.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/S3DestinationDescription.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
40 {
41 public:
42 AWS_FIREHOSE_API SplunkDestinationDescription();
45 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetHECEndpoint() const{ return m_hECEndpoint; }
54 inline bool HECEndpointHasBeenSet() const { return m_hECEndpointHasBeenSet; }
55 inline void SetHECEndpoint(const Aws::String& value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint = value; }
56 inline void SetHECEndpoint(Aws::String&& value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint = std::move(value); }
57 inline void SetHECEndpoint(const char* value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint.assign(value); }
58 inline SplunkDestinationDescription& WithHECEndpoint(const Aws::String& value) { SetHECEndpoint(value); return *this;}
59 inline SplunkDestinationDescription& WithHECEndpoint(Aws::String&& value) { SetHECEndpoint(std::move(value)); return *this;}
60 inline SplunkDestinationDescription& WithHECEndpoint(const char* value) { SetHECEndpoint(value); return *this;}
62
64
67 inline const HECEndpointType& GetHECEndpointType() const{ return m_hECEndpointType; }
68 inline bool HECEndpointTypeHasBeenSet() const { return m_hECEndpointTypeHasBeenSet; }
69 inline void SetHECEndpointType(const HECEndpointType& value) { m_hECEndpointTypeHasBeenSet = true; m_hECEndpointType = value; }
70 inline void SetHECEndpointType(HECEndpointType&& value) { m_hECEndpointTypeHasBeenSet = true; m_hECEndpointType = std::move(value); }
72 inline SplunkDestinationDescription& WithHECEndpointType(HECEndpointType&& value) { SetHECEndpointType(std::move(value)); return *this;}
74
76
80 inline const Aws::String& GetHECToken() const{ return m_hECToken; }
81 inline bool HECTokenHasBeenSet() const { return m_hECTokenHasBeenSet; }
82 inline void SetHECToken(const Aws::String& value) { m_hECTokenHasBeenSet = true; m_hECToken = value; }
83 inline void SetHECToken(Aws::String&& value) { m_hECTokenHasBeenSet = true; m_hECToken = std::move(value); }
84 inline void SetHECToken(const char* value) { m_hECTokenHasBeenSet = true; m_hECToken.assign(value); }
85 inline SplunkDestinationDescription& WithHECToken(const Aws::String& value) { SetHECToken(value); return *this;}
86 inline SplunkDestinationDescription& WithHECToken(Aws::String&& value) { SetHECToken(std::move(value)); return *this;}
87 inline SplunkDestinationDescription& WithHECToken(const char* value) { SetHECToken(value); return *this;}
89
91
97 inline int GetHECAcknowledgmentTimeoutInSeconds() const{ return m_hECAcknowledgmentTimeoutInSeconds; }
98 inline bool HECAcknowledgmentTimeoutInSecondsHasBeenSet() const { return m_hECAcknowledgmentTimeoutInSecondsHasBeenSet; }
99 inline void SetHECAcknowledgmentTimeoutInSeconds(int value) { m_hECAcknowledgmentTimeoutInSecondsHasBeenSet = true; m_hECAcknowledgmentTimeoutInSeconds = value; }
102
104
108 inline const SplunkRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
109 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
110 inline void SetRetryOptions(const SplunkRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
111 inline void SetRetryOptions(SplunkRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
113 inline SplunkDestinationDescription& WithRetryOptions(SplunkRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
115
117
125 inline const SplunkS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
126 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
127 inline void SetS3BackupMode(const SplunkS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
128 inline void SetS3BackupMode(SplunkS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
130 inline SplunkDestinationDescription& WithS3BackupMode(SplunkS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
132
134
137 inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; }
138 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
139 inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
140 inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); }
144
146
149 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
150 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
151 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
152 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
156
158
161 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
162 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
163 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
164 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
168
170
174 inline const SplunkBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
175 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
176 inline void SetBufferingHints(const SplunkBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
177 inline void SetBufferingHints(SplunkBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
181
183
186 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; }
187 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
188 inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; }
189 inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); }
193 private:
194
195 Aws::String m_hECEndpoint;
196 bool m_hECEndpointHasBeenSet = false;
197
198 HECEndpointType m_hECEndpointType;
199 bool m_hECEndpointTypeHasBeenSet = false;
200
201 Aws::String m_hECToken;
202 bool m_hECTokenHasBeenSet = false;
203
204 int m_hECAcknowledgmentTimeoutInSeconds;
205 bool m_hECAcknowledgmentTimeoutInSecondsHasBeenSet = false;
206
207 SplunkRetryOptions m_retryOptions;
208 bool m_retryOptionsHasBeenSet = false;
209
210 SplunkS3BackupMode m_s3BackupMode;
211 bool m_s3BackupModeHasBeenSet = false;
212
213 S3DestinationDescription m_s3DestinationDescription;
214 bool m_s3DestinationDescriptionHasBeenSet = false;
215
216 ProcessingConfiguration m_processingConfiguration;
217 bool m_processingConfigurationHasBeenSet = false;
218
219 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
220 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
221
222 SplunkBufferingHints m_bufferingHints;
223 bool m_bufferingHintsHasBeenSet = false;
224
225 SecretsManagerConfiguration m_secretsManagerConfiguration;
226 bool m_secretsManagerConfigurationHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace Firehose
231} // namespace Aws
SplunkDestinationDescription & WithBufferingHints(const SplunkBufferingHints &value)
SplunkDestinationDescription & WithSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
SplunkDestinationDescription & WithS3BackupMode(const SplunkS3BackupMode &value)
const ProcessingConfiguration & GetProcessingConfiguration() const
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
SplunkDestinationDescription & WithHECAcknowledgmentTimeoutInSeconds(int value)
SplunkDestinationDescription & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
void SetSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SplunkDestinationDescription & WithHECEndpointType(const HECEndpointType &value)
AWS_FIREHOSE_API SplunkDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
SplunkDestinationDescription & WithS3DestinationDescription(S3DestinationDescription &&value)
SplunkDestinationDescription & WithProcessingConfiguration(ProcessingConfiguration &&value)
void SetS3DestinationDescription(S3DestinationDescription &&value)
SplunkDestinationDescription & WithHECEndpointType(HECEndpointType &&value)
SplunkDestinationDescription & WithHECEndpoint(Aws::String &&value)
SplunkDestinationDescription & WithS3BackupMode(SplunkS3BackupMode &&value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
SplunkDestinationDescription & WithHECToken(Aws::String &&value)
SplunkDestinationDescription & WithS3DestinationDescription(const S3DestinationDescription &value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
void SetS3DestinationDescription(const S3DestinationDescription &value)
SplunkDestinationDescription & WithProcessingConfiguration(const ProcessingConfiguration &value)
const S3DestinationDescription & GetS3DestinationDescription() const
SplunkDestinationDescription & WithBufferingHints(SplunkBufferingHints &&value)
void SetSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
SplunkDestinationDescription & WithRetryOptions(const SplunkRetryOptions &value)
SplunkDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
SplunkDestinationDescription & WithHECEndpoint(const char *value)
SplunkDestinationDescription & WithHECEndpoint(const Aws::String &value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
AWS_FIREHOSE_API SplunkDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
SplunkDestinationDescription & WithHECToken(const Aws::String &value)
SplunkDestinationDescription & WithHECToken(const char *value)
void SetProcessingConfiguration(ProcessingConfiguration &&value)
SplunkDestinationDescription & WithSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
SplunkDestinationDescription & WithRetryOptions(SplunkRetryOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue