AWS SDK for C++  1.9.158
AWS SDK for C++
SplunkDestinationUpdate.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 SplunkDestinationUpdate& WithHECEndpoint(const Aws::String& value) { SetHECEndpoint(value); return *this;}
82 
87  inline SplunkDestinationUpdate& WithHECEndpoint(Aws::String&& value) { SetHECEndpoint(std::move(value)); return *this;}
88 
93  inline SplunkDestinationUpdate& 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 SplunkDestinationUpdate& WithHECEndpointType(const HECEndpointType& value) { SetHECEndpointType(value); return *this;}
120 
124  inline SplunkDestinationUpdate& 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 SplunkDestinationUpdate& WithHECToken(const Aws::String& value) { SetHECToken(value); return *this;}
162 
167  inline SplunkDestinationUpdate& WithHECToken(Aws::String&& value) { SetHECToken(std::move(value)); return *this;}
168 
173  inline SplunkDestinationUpdate& 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 SplunkDestinationUpdate& 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 SplunkDestinationUpdate& WithRetryOptions(const SplunkRetryOptions& value) { SetRetryOptions(value); return *this;}
238 
243  inline SplunkDestinationUpdate& 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 SplunkDestinationUpdate& WithS3BackupMode(const SplunkS3BackupMode& value) { SetS3BackupMode(value); return *this;}
305 
316  inline SplunkDestinationUpdate& WithS3BackupMode(SplunkS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
317 
318 
322  inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
323 
327  inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
328 
332  inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
333 
337  inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
338 
342  inline SplunkDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;}
343 
347  inline SplunkDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(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 SplunkDestinationUpdate& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;}
374 
378  inline SplunkDestinationUpdate& 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 SplunkDestinationUpdate& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
405 
409  inline SplunkDestinationUpdate& 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  S3DestinationUpdate m_s3Update;
432  bool m_s3UpdateHasBeenSet;
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::SplunkDestinationUpdate::HECEndpointTypeHasBeenSet
bool HECEndpointTypeHasBeenSet() const
Definition: SplunkDestinationUpdate.h:104
Aws::Firehose::Model::SplunkDestinationUpdate::CloudWatchLoggingOptionsHasBeenSet
bool CloudWatchLoggingOptionsHasBeenSet() const
Definition: SplunkDestinationUpdate.h:389
Aws::Firehose::Model::SplunkDestinationUpdate::WithS3BackupMode
SplunkDestinationUpdate & WithS3BackupMode(const SplunkS3BackupMode &value)
Definition: SplunkDestinationUpdate.h:304
Aws::Firehose::Model::SplunkDestinationUpdate::GetS3BackupMode
const SplunkS3BackupMode & GetS3BackupMode() const
Definition: SplunkDestinationUpdate.h:256
Aws::Firehose::Model::SplunkDestinationUpdate::WithCloudWatchLoggingOptions
SplunkDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
Definition: SplunkDestinationUpdate.h:404
S3DestinationUpdate.h
ProcessingConfiguration.h
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECAcknowledgmentTimeoutInSeconds
void SetHECAcknowledgmentTimeoutInSeconds(int value)
Definition: SplunkDestinationUpdate.h:198
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECEndpoint
void SetHECEndpoint(const char *value)
Definition: SplunkDestinationUpdate.h:75
Aws::Firehose::Model::CloudWatchLoggingOptions
Definition: CloudWatchLoggingOptions.h:33
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECToken
void SetHECToken(const Aws::String &value)
Definition: SplunkDestinationUpdate.h:143
Aws::Firehose::Model::SplunkDestinationUpdate::RetryOptionsHasBeenSet
bool RetryOptionsHasBeenSet() const
Definition: SplunkDestinationUpdate.h:219
Aws::Firehose::Model::SplunkDestinationUpdate::SetProcessingConfiguration
void SetProcessingConfiguration(const ProcessingConfiguration &value)
Definition: SplunkDestinationUpdate.h:363
Aws::Firehose::Model::HECEndpointType
HECEndpointType
Definition: HECEndpointType.h:17
Aws::Firehose::Model::SplunkDestinationUpdate::WithCloudWatchLoggingOptions
SplunkDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
Definition: SplunkDestinationUpdate.h:409
Aws::Firehose::Model::SplunkDestinationUpdate::WithRetryOptions
SplunkDestinationUpdate & WithRetryOptions(const SplunkRetryOptions &value)
Definition: SplunkDestinationUpdate.h:237
Aws::Firehose::Model::SplunkDestinationUpdate::GetCloudWatchLoggingOptions
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
Definition: SplunkDestinationUpdate.h:384
Aws::Firehose::Model::SplunkDestinationUpdate::operator=
SplunkDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::SplunkDestinationUpdate::SetRetryOptions
void SetRetryOptions(const SplunkRetryOptions &value)
Definition: SplunkDestinationUpdate.h:225
Aws::Firehose::Model::SplunkS3BackupMode
SplunkS3BackupMode
Definition: SplunkS3BackupMode.h:17
SplunkRetryOptions.h
Aws::Firehose::Model::SplunkDestinationUpdate::GetProcessingConfiguration
const ProcessingConfiguration & GetProcessingConfiguration() const
Definition: SplunkDestinationUpdate.h:353
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECEndpoint
void SetHECEndpoint(const Aws::String &value)
Definition: SplunkDestinationUpdate.h:63
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECEndpointType
SplunkDestinationUpdate & WithHECEndpointType(const HECEndpointType &value)
Definition: SplunkDestinationUpdate.h:119
Aws::Firehose::Model::SplunkDestinationUpdate::WithRetryOptions
SplunkDestinationUpdate & WithRetryOptions(SplunkRetryOptions &&value)
Definition: SplunkDestinationUpdate.h:243
Aws::Firehose::Model::SplunkDestinationUpdate::SetCloudWatchLoggingOptions
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
Definition: SplunkDestinationUpdate.h:394
Aws::Firehose::Model::SplunkDestinationUpdate::SetS3BackupMode
void SetS3BackupMode(const SplunkS3BackupMode &value)
Definition: SplunkDestinationUpdate.h:280
Aws::Firehose::Model::ProcessingConfiguration
Definition: ProcessingConfiguration.h:33
Aws::Firehose::Model::SplunkDestinationUpdate::ProcessingConfigurationHasBeenSet
bool ProcessingConfigurationHasBeenSet() const
Definition: SplunkDestinationUpdate.h:358
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECToken
SplunkDestinationUpdate & WithHECToken(const char *value)
Definition: SplunkDestinationUpdate.h:173
Aws::Firehose::Model::SplunkDestinationUpdate::WithS3BackupMode
SplunkDestinationUpdate & WithS3BackupMode(SplunkS3BackupMode &&value)
Definition: SplunkDestinationUpdate.h:316
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECEndpoint
void SetHECEndpoint(Aws::String &&value)
Definition: SplunkDestinationUpdate.h:69
Aws::Firehose::Model::SplunkDestinationUpdate::GetHECEndpointType
const HECEndpointType & GetHECEndpointType() const
Definition: SplunkDestinationUpdate.h:99
Aws::Firehose::Model::SplunkRetryOptions
Definition: SplunkRetryOptions.h:32
Aws::Firehose::Model::SplunkDestinationUpdate::HECEndpointHasBeenSet
bool HECEndpointHasBeenSet() const
Definition: SplunkDestinationUpdate.h:57
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::SplunkDestinationUpdate::SetCloudWatchLoggingOptions
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
Definition: SplunkDestinationUpdate.h:399
CloudWatchLoggingOptions.h
Aws::Firehose::Model::SplunkDestinationUpdate::HECTokenHasBeenSet
bool HECTokenHasBeenSet() const
Definition: SplunkDestinationUpdate.h:137
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECToken
SplunkDestinationUpdate & WithHECToken(Aws::String &&value)
Definition: SplunkDestinationUpdate.h:167
Aws::Firehose::Model::SplunkDestinationUpdate::GetHECAcknowledgmentTimeoutInSeconds
int GetHECAcknowledgmentTimeoutInSeconds() const
Definition: SplunkDestinationUpdate.h:182
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Firehose::Model::SplunkDestinationUpdate::GetRetryOptions
const SplunkRetryOptions & GetRetryOptions() const
Definition: SplunkDestinationUpdate.h:213
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Firehose_EXPORTS.h
HECEndpointType.h
Aws::Firehose::Model::SplunkDestinationUpdate::GetS3Update
const S3DestinationUpdate & GetS3Update() const
Definition: SplunkDestinationUpdate.h:322
Aws::Firehose::Model::SplunkDestinationUpdate::SetS3Update
void SetS3Update(S3DestinationUpdate &&value)
Definition: SplunkDestinationUpdate.h:337
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECAcknowledgmentTimeoutInSeconds
SplunkDestinationUpdate & WithHECAcknowledgmentTimeoutInSeconds(int value)
Definition: SplunkDestinationUpdate.h:206
Aws::Firehose::Model::SplunkDestinationUpdate::SetRetryOptions
void SetRetryOptions(SplunkRetryOptions &&value)
Definition: SplunkDestinationUpdate.h:231
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECToken
SplunkDestinationUpdate & WithHECToken(const Aws::String &value)
Definition: SplunkDestinationUpdate.h:161
Aws::Firehose::Model::SplunkDestinationUpdate::SetS3Update
void SetS3Update(const S3DestinationUpdate &value)
Definition: SplunkDestinationUpdate.h:332
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECEndpoint
SplunkDestinationUpdate & WithHECEndpoint(const Aws::String &value)
Definition: SplunkDestinationUpdate.h:81
Aws::Firehose::Model::SplunkDestinationUpdate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::SplunkDestinationUpdate::HECAcknowledgmentTimeoutInSecondsHasBeenSet
bool HECAcknowledgmentTimeoutInSecondsHasBeenSet() const
Definition: SplunkDestinationUpdate.h:190
Aws::Firehose::Model::SplunkDestinationUpdate::GetHECToken
const Aws::String & GetHECToken() const
Definition: SplunkDestinationUpdate.h:131
Aws::Firehose::Model::SplunkDestinationUpdate
Definition: SplunkDestinationUpdate.h:39
Aws::Firehose::Model::SplunkDestinationUpdate::WithS3Update
SplunkDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
Definition: SplunkDestinationUpdate.h:342
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECToken
void SetHECToken(const char *value)
Definition: SplunkDestinationUpdate.h:155
Aws::Firehose::Model::SplunkDestinationUpdate::SplunkDestinationUpdate
SplunkDestinationUpdate()
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECEndpointType
void SetHECEndpointType(const HECEndpointType &value)
Definition: SplunkDestinationUpdate.h:109
Aws::Firehose::Model::SplunkDestinationUpdate::S3BackupModeHasBeenSet
bool S3BackupModeHasBeenSet() const
Definition: SplunkDestinationUpdate.h:268
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECEndpointType
void SetHECEndpointType(HECEndpointType &&value)
Definition: SplunkDestinationUpdate.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::SplunkDestinationUpdate::WithS3Update
SplunkDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
Definition: SplunkDestinationUpdate.h:347
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECEndpoint
SplunkDestinationUpdate & WithHECEndpoint(Aws::String &&value)
Definition: SplunkDestinationUpdate.h:87
Aws::Firehose::Model::SplunkDestinationUpdate::SetProcessingConfiguration
void SetProcessingConfiguration(ProcessingConfiguration &&value)
Definition: SplunkDestinationUpdate.h:368
SplunkS3BackupMode.h
Aws::Firehose::Model::SplunkDestinationUpdate::SetS3BackupMode
void SetS3BackupMode(SplunkS3BackupMode &&value)
Definition: SplunkDestinationUpdate.h:292
Aws::Firehose::Model::SplunkDestinationUpdate::WithProcessingConfiguration
SplunkDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
Definition: SplunkDestinationUpdate.h:373
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECEndpoint
SplunkDestinationUpdate & WithHECEndpoint(const char *value)
Definition: SplunkDestinationUpdate.h:93
Aws::Firehose::Model::SplunkDestinationUpdate::WithProcessingConfiguration
SplunkDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
Definition: SplunkDestinationUpdate.h:378
Aws::Firehose::Model::SplunkDestinationUpdate::WithHECEndpointType
SplunkDestinationUpdate & WithHECEndpointType(HECEndpointType &&value)
Definition: SplunkDestinationUpdate.h:124
Aws::Firehose::Model::SplunkDestinationUpdate::GetHECEndpoint
const Aws::String & GetHECEndpoint() const
Definition: SplunkDestinationUpdate.h:51
Aws::Firehose::Model::SplunkDestinationUpdate::SetHECToken
void SetHECToken(Aws::String &&value)
Definition: SplunkDestinationUpdate.h:149
Aws::Firehose::Model::SplunkDestinationUpdate::SplunkDestinationUpdate
SplunkDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::SplunkDestinationUpdate::S3UpdateHasBeenSet
bool S3UpdateHasBeenSet() const
Definition: SplunkDestinationUpdate.h:327
Aws::Firehose::Model::S3DestinationUpdate
Definition: S3DestinationUpdate.h:37