AWS SDK for C++  1.8.95
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:
44  Aws::Utils::Json::JsonValue Jsonize() const;
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
const SplunkRetryOptions & GetRetryOptions() const
void SetHECEndpointType(const HECEndpointType &value)
SplunkDestinationUpdate & WithHECToken(Aws::String &&value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
SplunkDestinationUpdate & WithS3BackupMode(const SplunkS3BackupMode &value)
SplunkDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
void SetRetryOptions(const SplunkRetryOptions &value)
SplunkDestinationUpdate & WithHECEndpoint(const Aws::String &value)
const S3DestinationUpdate & GetS3Update() const
#define AWS_FIREHOSE_API
SplunkDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
SplunkDestinationUpdate & WithHECToken(const char *value)
void SetS3BackupMode(const SplunkS3BackupMode &value)
SplunkDestinationUpdate & WithHECEndpointType(HECEndpointType &&value)
SplunkDestinationUpdate & WithRetryOptions(const SplunkRetryOptions &value)
const ProcessingConfiguration & GetProcessingConfiguration() const
SplunkDestinationUpdate & WithHECEndpoint(Aws::String &&value)
SplunkDestinationUpdate & WithHECEndpoint(const char *value)
SplunkDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
void SetS3Update(const S3DestinationUpdate &value)
SplunkDestinationUpdate & WithRetryOptions(SplunkRetryOptions &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
SplunkDestinationUpdate & WithHECAcknowledgmentTimeoutInSeconds(int value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
void SetProcessingConfiguration(ProcessingConfiguration &&value)
SplunkDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const HECEndpointType & GetHECEndpointType() const
SplunkDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
SplunkDestinationUpdate & WithS3BackupMode(SplunkS3BackupMode &&value)
SplunkDestinationUpdate & WithHECToken(const Aws::String &value)
SplunkDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
const SplunkS3BackupMode & GetS3BackupMode() const
SplunkDestinationUpdate & WithHECEndpointType(const HECEndpointType &value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const