AWS SDK for C++  1.9.154
AWS SDK for C++
SplunkDestinationConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace Firehose
28 {
29 namespace Model
30 {
31 
39  {
40  public:
45 
46 
51  inline const Aws::String& GetHECEndpoint() const{ return m_hECEndpoint; }
52 
57  inline bool HECEndpointHasBeenSet() const { return m_hECEndpointHasBeenSet; }
58 
63  inline void SetHECEndpoint(const Aws::String& value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint = value; }
64 
69  inline void SetHECEndpoint(Aws::String&& value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint = std::move(value); }
70 
75  inline void SetHECEndpoint(const char* value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint.assign(value); }
76 
81  inline SplunkDestinationConfiguration& WithHECEndpoint(const Aws::String& value) { SetHECEndpoint(value); return *this;}
82 
87  inline SplunkDestinationConfiguration& WithHECEndpoint(Aws::String&& value) { SetHECEndpoint(std::move(value)); return *this;}
88 
93  inline SplunkDestinationConfiguration& WithHECEndpoint(const char* value) { SetHECEndpoint(value); return *this;}
94 
95 
99  inline const HECEndpointType& GetHECEndpointType() const{ return m_hECEndpointType; }
100 
104  inline bool HECEndpointTypeHasBeenSet() const { return m_hECEndpointTypeHasBeenSet; }
105 
109  inline void SetHECEndpointType(const HECEndpointType& value) { m_hECEndpointTypeHasBeenSet = true; m_hECEndpointType = value; }
110 
114  inline void SetHECEndpointType(HECEndpointType&& value) { m_hECEndpointTypeHasBeenSet = true; m_hECEndpointType = std::move(value); }
115 
119  inline SplunkDestinationConfiguration& WithHECEndpointType(const HECEndpointType& value) { SetHECEndpointType(value); return *this;}
120 
124  inline SplunkDestinationConfiguration& WithHECEndpointType(HECEndpointType&& value) { SetHECEndpointType(std::move(value)); return *this;}
125 
126 
131  inline const Aws::String& GetHECToken() const{ return m_hECToken; }
132 
137  inline bool HECTokenHasBeenSet() const { return m_hECTokenHasBeenSet; }
138 
143  inline void SetHECToken(const Aws::String& value) { m_hECTokenHasBeenSet = true; m_hECToken = value; }
144 
149  inline void SetHECToken(Aws::String&& value) { m_hECTokenHasBeenSet = true; m_hECToken = std::move(value); }
150 
155  inline void SetHECToken(const char* value) { m_hECTokenHasBeenSet = true; m_hECToken.assign(value); }
156 
161  inline SplunkDestinationConfiguration& WithHECToken(const Aws::String& value) { SetHECToken(value); return *this;}
162 
167  inline SplunkDestinationConfiguration& WithHECToken(Aws::String&& value) { SetHECToken(std::move(value)); return *this;}
168 
173  inline SplunkDestinationConfiguration& WithHECToken(const char* value) { SetHECToken(value); return *this;}
174 
175 
182  inline int GetHECAcknowledgmentTimeoutInSeconds() const{ return m_hECAcknowledgmentTimeoutInSeconds; }
183 
190  inline bool HECAcknowledgmentTimeoutInSecondsHasBeenSet() const { return m_hECAcknowledgmentTimeoutInSecondsHasBeenSet; }
191 
198  inline void SetHECAcknowledgmentTimeoutInSeconds(int value) { m_hECAcknowledgmentTimeoutInSecondsHasBeenSet = true; m_hECAcknowledgmentTimeoutInSeconds = value; }
199 
206  inline SplunkDestinationConfiguration& WithHECAcknowledgmentTimeoutInSeconds(int value) { SetHECAcknowledgmentTimeoutInSeconds(value); return *this;}
207 
208 
213  inline const SplunkRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
214 
219  inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
220 
225  inline void SetRetryOptions(const SplunkRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
226 
231  inline void SetRetryOptions(SplunkRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
232 
237  inline SplunkDestinationConfiguration& WithRetryOptions(const SplunkRetryOptions& value) { SetRetryOptions(value); return *this;}
238 
243  inline SplunkDestinationConfiguration& WithRetryOptions(SplunkRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
244 
245 
256  inline const SplunkS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
257 
268  inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
269 
280  inline void SetS3BackupMode(const SplunkS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
281 
292  inline void SetS3BackupMode(SplunkS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
293 
304  inline SplunkDestinationConfiguration& WithS3BackupMode(const SplunkS3BackupMode& value) { SetS3BackupMode(value); return *this;}
305 
316  inline SplunkDestinationConfiguration& WithS3BackupMode(SplunkS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
317 
318 
322  inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
323 
327  inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
328 
332  inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
333 
337  inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
338 
342  inline SplunkDestinationConfiguration& WithS3Configuration(const S3DestinationConfiguration& value) { SetS3Configuration(value); return *this;}
343 
347  inline SplunkDestinationConfiguration& WithS3Configuration(S3DestinationConfiguration&& value) { SetS3Configuration(std::move(value)); return *this;}
348 
349 
353  inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
354 
358  inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
359 
363  inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
364 
368  inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
369 
373  inline SplunkDestinationConfiguration& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;}
374 
378  inline SplunkDestinationConfiguration& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;}
379 
380 
384  inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
385 
389  inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
390 
394  inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
395 
399  inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
400 
404  inline SplunkDestinationConfiguration& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
405 
409  inline SplunkDestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
410 
411  private:
412 
413  Aws::String m_hECEndpoint;
414  bool m_hECEndpointHasBeenSet;
415 
416  HECEndpointType m_hECEndpointType;
417  bool m_hECEndpointTypeHasBeenSet;
418 
419  Aws::String m_hECToken;
420  bool m_hECTokenHasBeenSet;
421 
422  int m_hECAcknowledgmentTimeoutInSeconds;
423  bool m_hECAcknowledgmentTimeoutInSecondsHasBeenSet;
424 
425  SplunkRetryOptions m_retryOptions;
426  bool m_retryOptionsHasBeenSet;
427 
428  SplunkS3BackupMode m_s3BackupMode;
429  bool m_s3BackupModeHasBeenSet;
430 
431  S3DestinationConfiguration m_s3Configuration;
432  bool m_s3ConfigurationHasBeenSet;
433 
434  ProcessingConfiguration m_processingConfiguration;
435  bool m_processingConfigurationHasBeenSet;
436 
437  CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
438  bool m_cloudWatchLoggingOptionsHasBeenSet;
439  };
440 
441 } // namespace Model
442 } // namespace Firehose
443 } // namespace Aws
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECEndpoint
SplunkDestinationConfiguration & WithHECEndpoint(const char *value)
Definition: SplunkDestinationConfiguration.h:93
Aws::Firehose::Model::SplunkDestinationConfiguration::WithS3BackupMode
SplunkDestinationConfiguration & WithS3BackupMode(SplunkS3BackupMode &&value)
Definition: SplunkDestinationConfiguration.h:316
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECToken
SplunkDestinationConfiguration & WithHECToken(Aws::String &&value)
Definition: SplunkDestinationConfiguration.h:167
Aws::Firehose::Model::SplunkDestinationConfiguration::ProcessingConfigurationHasBeenSet
bool ProcessingConfigurationHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:358
ProcessingConfiguration.h
Aws::Firehose::Model::SplunkDestinationConfiguration::SplunkDestinationConfiguration
SplunkDestinationConfiguration()
Aws::Firehose::Model::SplunkDestinationConfiguration::GetS3Configuration
const S3DestinationConfiguration & GetS3Configuration() const
Definition: SplunkDestinationConfiguration.h:322
Aws::Firehose::Model::CloudWatchLoggingOptions
Definition: CloudWatchLoggingOptions.h:33
Aws::Firehose::Model::SplunkDestinationConfiguration::SetS3BackupMode
void SetS3BackupMode(SplunkS3BackupMode &&value)
Definition: SplunkDestinationConfiguration.h:292
Aws::Firehose::Model::SplunkDestinationConfiguration::CloudWatchLoggingOptionsHasBeenSet
bool CloudWatchLoggingOptionsHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:389
Aws::Firehose::Model::SplunkDestinationConfiguration::WithProcessingConfiguration
SplunkDestinationConfiguration & WithProcessingConfiguration(ProcessingConfiguration &&value)
Definition: SplunkDestinationConfiguration.h:378
Aws::Firehose::Model::SplunkDestinationConfiguration::GetHECAcknowledgmentTimeoutInSeconds
int GetHECAcknowledgmentTimeoutInSeconds() const
Definition: SplunkDestinationConfiguration.h:182
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECAcknowledgmentTimeoutInSeconds
void SetHECAcknowledgmentTimeoutInSeconds(int value)
Definition: SplunkDestinationConfiguration.h:198
Aws::Firehose::Model::SplunkDestinationConfiguration::SetS3Configuration
void SetS3Configuration(const S3DestinationConfiguration &value)
Definition: SplunkDestinationConfiguration.h:332
Aws::Firehose::Model::HECEndpointType
HECEndpointType
Definition: HECEndpointType.h:17
Aws::Firehose::Model::SplunkDestinationConfiguration::WithCloudWatchLoggingOptions
SplunkDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
Definition: SplunkDestinationConfiguration.h:409
Aws::Firehose::Model::SplunkDestinationConfiguration::S3BackupModeHasBeenSet
bool S3BackupModeHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:268
Aws::Firehose::Model::SplunkDestinationConfiguration::SplunkDestinationConfiguration
SplunkDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECToken
SplunkDestinationConfiguration & WithHECToken(const Aws::String &value)
Definition: SplunkDestinationConfiguration.h:161
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECAcknowledgmentTimeoutInSeconds
SplunkDestinationConfiguration & WithHECAcknowledgmentTimeoutInSeconds(int value)
Definition: SplunkDestinationConfiguration.h:206
Aws::Firehose::Model::SplunkDestinationConfiguration
Definition: SplunkDestinationConfiguration.h:39
Aws::Firehose::Model::SplunkS3BackupMode
SplunkS3BackupMode
Definition: SplunkS3BackupMode.h:17
SplunkRetryOptions.h
Aws::Firehose::Model::SplunkDestinationConfiguration::HECEndpointTypeHasBeenSet
bool HECEndpointTypeHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:104
Aws::Firehose::Model::SplunkDestinationConfiguration::SetS3Configuration
void SetS3Configuration(S3DestinationConfiguration &&value)
Definition: SplunkDestinationConfiguration.h:337
Aws::Firehose::Model::SplunkDestinationConfiguration::operator=
SplunkDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECToken
void SetHECToken(const Aws::String &value)
Definition: SplunkDestinationConfiguration.h:143
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECEndpoint
SplunkDestinationConfiguration & WithHECEndpoint(Aws::String &&value)
Definition: SplunkDestinationConfiguration.h:87
Aws::Firehose::Model::ProcessingConfiguration
Definition: ProcessingConfiguration.h:33
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECEndpoint
SplunkDestinationConfiguration & WithHECEndpoint(const Aws::String &value)
Definition: SplunkDestinationConfiguration.h:81
Aws::Firehose::Model::SplunkDestinationConfiguration::HECEndpointHasBeenSet
bool HECEndpointHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:57
Aws::Firehose::Model::SplunkRetryOptions
Definition: SplunkRetryOptions.h:32
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::SplunkDestinationConfiguration::SetProcessingConfiguration
void SetProcessingConfiguration(ProcessingConfiguration &&value)
Definition: SplunkDestinationConfiguration.h:368
Aws::Firehose::Model::SplunkDestinationConfiguration::SetProcessingConfiguration
void SetProcessingConfiguration(const ProcessingConfiguration &value)
Definition: SplunkDestinationConfiguration.h:363
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECEndpointType
void SetHECEndpointType(HECEndpointType &&value)
Definition: SplunkDestinationConfiguration.h:114
CloudWatchLoggingOptions.h
S3DestinationConfiguration.h
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECEndpointType
void SetHECEndpointType(const HECEndpointType &value)
Definition: SplunkDestinationConfiguration.h:109
Aws::Firehose::Model::SplunkDestinationConfiguration::GetCloudWatchLoggingOptions
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
Definition: SplunkDestinationConfiguration.h:384
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECEndpointType
SplunkDestinationConfiguration & WithHECEndpointType(HECEndpointType &&value)
Definition: SplunkDestinationConfiguration.h:124
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Firehose::Model::SplunkDestinationConfiguration::GetHECEndpointType
const HECEndpointType & GetHECEndpointType() const
Definition: SplunkDestinationConfiguration.h:99
AWSString.h
Aws::Firehose::Model::SplunkDestinationConfiguration::GetProcessingConfiguration
const ProcessingConfiguration & GetProcessingConfiguration() const
Definition: SplunkDestinationConfiguration.h:353
Aws::Firehose::Model::SplunkDestinationConfiguration::S3ConfigurationHasBeenSet
bool S3ConfigurationHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:327
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::SplunkDestinationConfiguration::GetRetryOptions
const SplunkRetryOptions & GetRetryOptions() const
Definition: SplunkDestinationConfiguration.h:213
Aws::Firehose::Model::SplunkDestinationConfiguration::WithRetryOptions
SplunkDestinationConfiguration & WithRetryOptions(SplunkRetryOptions &&value)
Definition: SplunkDestinationConfiguration.h:243
Firehose_EXPORTS.h
Aws::Firehose::Model::SplunkDestinationConfiguration::SetRetryOptions
void SetRetryOptions(SplunkRetryOptions &&value)
Definition: SplunkDestinationConfiguration.h:231
Aws::Firehose::Model::SplunkDestinationConfiguration::SetCloudWatchLoggingOptions
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
Definition: SplunkDestinationConfiguration.h:399
Aws::Firehose::Model::SplunkDestinationConfiguration::RetryOptionsHasBeenSet
bool RetryOptionsHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:219
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECEndpointType
SplunkDestinationConfiguration & WithHECEndpointType(const HECEndpointType &value)
Definition: SplunkDestinationConfiguration.h:119
Aws::Firehose::Model::S3DestinationConfiguration
Definition: S3DestinationConfiguration.h:37
Aws::Firehose::Model::SplunkDestinationConfiguration::SetCloudWatchLoggingOptions
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
Definition: SplunkDestinationConfiguration.h:394
HECEndpointType.h
Aws::Firehose::Model::SplunkDestinationConfiguration::WithCloudWatchLoggingOptions
SplunkDestinationConfiguration & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
Definition: SplunkDestinationConfiguration.h:404
Aws::Firehose::Model::SplunkDestinationConfiguration::WithS3Configuration
SplunkDestinationConfiguration & WithS3Configuration(S3DestinationConfiguration &&value)
Definition: SplunkDestinationConfiguration.h:347
Aws::Firehose::Model::SplunkDestinationConfiguration::WithRetryOptions
SplunkDestinationConfiguration & WithRetryOptions(const SplunkRetryOptions &value)
Definition: SplunkDestinationConfiguration.h:237
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::SplunkDestinationConfiguration::SetRetryOptions
void SetRetryOptions(const SplunkRetryOptions &value)
Definition: SplunkDestinationConfiguration.h:225
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::SplunkDestinationConfiguration::WithS3BackupMode
SplunkDestinationConfiguration & WithS3BackupMode(const SplunkS3BackupMode &value)
Definition: SplunkDestinationConfiguration.h:304
Aws::Firehose::Model::SplunkDestinationConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::SplunkDestinationConfiguration::GetHECEndpoint
const Aws::String & GetHECEndpoint() const
Definition: SplunkDestinationConfiguration.h:51
SplunkS3BackupMode.h
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECEndpoint
void SetHECEndpoint(const Aws::String &value)
Definition: SplunkDestinationConfiguration.h:63
Aws::Firehose::Model::SplunkDestinationConfiguration::WithS3Configuration
SplunkDestinationConfiguration & WithS3Configuration(const S3DestinationConfiguration &value)
Definition: SplunkDestinationConfiguration.h:342
Aws::Firehose::Model::SplunkDestinationConfiguration::WithProcessingConfiguration
SplunkDestinationConfiguration & WithProcessingConfiguration(const ProcessingConfiguration &value)
Definition: SplunkDestinationConfiguration.h:373
Aws::Firehose::Model::SplunkDestinationConfiguration::HECTokenHasBeenSet
bool HECTokenHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:137
Aws::Firehose::Model::SplunkDestinationConfiguration::GetHECToken
const Aws::String & GetHECToken() const
Definition: SplunkDestinationConfiguration.h:131
Aws::Firehose::Model::SplunkDestinationConfiguration::HECAcknowledgmentTimeoutInSecondsHasBeenSet
bool HECAcknowledgmentTimeoutInSecondsHasBeenSet() const
Definition: SplunkDestinationConfiguration.h:190
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECEndpoint
void SetHECEndpoint(Aws::String &&value)
Definition: SplunkDestinationConfiguration.h:69
Aws::Firehose::Model::SplunkDestinationConfiguration::SetS3BackupMode
void SetS3BackupMode(const SplunkS3BackupMode &value)
Definition: SplunkDestinationConfiguration.h:280
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECToken
void SetHECToken(const char *value)
Definition: SplunkDestinationConfiguration.h:155
Aws::Firehose::Model::SplunkDestinationConfiguration::WithHECToken
SplunkDestinationConfiguration & WithHECToken(const char *value)
Definition: SplunkDestinationConfiguration.h:173
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECToken
void SetHECToken(Aws::String &&value)
Definition: SplunkDestinationConfiguration.h:149
Aws::Firehose::Model::SplunkDestinationConfiguration::SetHECEndpoint
void SetHECEndpoint(const char *value)
Definition: SplunkDestinationConfiguration.h:75
Aws::Firehose::Model::SplunkDestinationConfiguration::GetS3BackupMode
const SplunkS3BackupMode & GetS3BackupMode() const
Definition: SplunkDestinationConfiguration.h:256