AWS SDK for C++  1.8.95
AWS SDK for C++
ElasticsearchDestinationUpdate.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 
56  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
57 
67  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
68 
78  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
79 
89  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
90 
100  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
101 
111  inline ElasticsearchDestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
112 
122  inline ElasticsearchDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
123 
133  inline ElasticsearchDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
134 
135 
146  inline const Aws::String& GetDomainARN() const{ return m_domainARN; }
147 
158  inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
159 
170  inline void SetDomainARN(const Aws::String& value) { m_domainARNHasBeenSet = true; m_domainARN = value; }
171 
182  inline void SetDomainARN(Aws::String&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::move(value); }
183 
194  inline void SetDomainARN(const char* value) { m_domainARNHasBeenSet = true; m_domainARN.assign(value); }
195 
206  inline ElasticsearchDestinationUpdate& WithDomainARN(const Aws::String& value) { SetDomainARN(value); return *this;}
207 
218  inline ElasticsearchDestinationUpdate& WithDomainARN(Aws::String&& value) { SetDomainARN(std::move(value)); return *this;}
219 
230  inline ElasticsearchDestinationUpdate& WithDomainARN(const char* value) { SetDomainARN(value); return *this;}
231 
232 
237  inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; }
238 
243  inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
244 
249  inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; }
250 
255  inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); }
256 
261  inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); }
262 
267  inline ElasticsearchDestinationUpdate& WithClusterEndpoint(const Aws::String& value) { SetClusterEndpoint(value); return *this;}
268 
273  inline ElasticsearchDestinationUpdate& WithClusterEndpoint(Aws::String&& value) { SetClusterEndpoint(std::move(value)); return *this;}
274 
279  inline ElasticsearchDestinationUpdate& WithClusterEndpoint(const char* value) { SetClusterEndpoint(value); return *this;}
280 
281 
285  inline const Aws::String& GetIndexName() const{ return m_indexName; }
286 
290  inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
291 
295  inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
296 
300  inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
301 
305  inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
306 
310  inline ElasticsearchDestinationUpdate& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
311 
315  inline ElasticsearchDestinationUpdate& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
316 
320  inline ElasticsearchDestinationUpdate& WithIndexName(const char* value) { SetIndexName(value); return *this;}
321 
322 
333  inline const Aws::String& GetTypeName() const{ return m_typeName; }
334 
345  inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
346 
357  inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
358 
369  inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
370 
381  inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
382 
393  inline ElasticsearchDestinationUpdate& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
394 
405  inline ElasticsearchDestinationUpdate& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
406 
417  inline ElasticsearchDestinationUpdate& WithTypeName(const char* value) { SetTypeName(value); return *this;}
418 
419 
428  inline const ElasticsearchIndexRotationPeriod& GetIndexRotationPeriod() const{ return m_indexRotationPeriod; }
429 
438  inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
439 
448  inline void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
449 
458  inline void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod&& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = std::move(value); }
459 
468  inline ElasticsearchDestinationUpdate& WithIndexRotationPeriod(const ElasticsearchIndexRotationPeriod& value) { SetIndexRotationPeriod(value); return *this;}
469 
478  inline ElasticsearchDestinationUpdate& WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod&& value) { SetIndexRotationPeriod(std::move(value)); return *this;}
479 
480 
485  inline const ElasticsearchBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
486 
491  inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
492 
497  inline void SetBufferingHints(const ElasticsearchBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
498 
503  inline void SetBufferingHints(ElasticsearchBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
504 
509  inline ElasticsearchDestinationUpdate& WithBufferingHints(const ElasticsearchBufferingHints& value) { SetBufferingHints(value); return *this;}
510 
515  inline ElasticsearchDestinationUpdate& WithBufferingHints(ElasticsearchBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
516 
517 
522  inline const ElasticsearchRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
523 
528  inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
529 
534  inline void SetRetryOptions(const ElasticsearchRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
535 
540  inline void SetRetryOptions(ElasticsearchRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
541 
546  inline ElasticsearchDestinationUpdate& WithRetryOptions(const ElasticsearchRetryOptions& value) { SetRetryOptions(value); return *this;}
547 
552  inline ElasticsearchDestinationUpdate& WithRetryOptions(ElasticsearchRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
553 
554 
558  inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
559 
563  inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
564 
568  inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
569 
573  inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
574 
578  inline ElasticsearchDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;}
579 
583  inline ElasticsearchDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;}
584 
585 
589  inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
590 
594  inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
595 
599  inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
600 
604  inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
605 
609  inline ElasticsearchDestinationUpdate& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;}
610 
614  inline ElasticsearchDestinationUpdate& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;}
615 
616 
620  inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
621 
625  inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
626 
630  inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
631 
635  inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
636 
640  inline ElasticsearchDestinationUpdate& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
641 
645  inline ElasticsearchDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
646 
647  private:
648 
649  Aws::String m_roleARN;
650  bool m_roleARNHasBeenSet;
651 
652  Aws::String m_domainARN;
653  bool m_domainARNHasBeenSet;
654 
655  Aws::String m_clusterEndpoint;
656  bool m_clusterEndpointHasBeenSet;
657 
658  Aws::String m_indexName;
659  bool m_indexNameHasBeenSet;
660 
661  Aws::String m_typeName;
662  bool m_typeNameHasBeenSet;
663 
664  ElasticsearchIndexRotationPeriod m_indexRotationPeriod;
665  bool m_indexRotationPeriodHasBeenSet;
666 
667  ElasticsearchBufferingHints m_bufferingHints;
668  bool m_bufferingHintsHasBeenSet;
669 
670  ElasticsearchRetryOptions m_retryOptions;
671  bool m_retryOptionsHasBeenSet;
672 
673  S3DestinationUpdate m_s3Update;
674  bool m_s3UpdateHasBeenSet;
675 
676  ProcessingConfiguration m_processingConfiguration;
677  bool m_processingConfigurationHasBeenSet;
678 
679  CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
680  bool m_cloudWatchLoggingOptionsHasBeenSet;
681  };
682 
683 } // namespace Model
684 } // namespace Firehose
685 } // namespace Aws
void SetRetryOptions(const ElasticsearchRetryOptions &value)
ElasticsearchDestinationUpdate & WithClusterEndpoint(const Aws::String &value)
ElasticsearchDestinationUpdate & WithDomainARN(const Aws::String &value)
ElasticsearchDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
ElasticsearchDestinationUpdate & WithClusterEndpoint(Aws::String &&value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
ElasticsearchDestinationUpdate & WithIndexName(const char *value)
ElasticsearchDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
ElasticsearchDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
#define AWS_FIREHOSE_API
ElasticsearchDestinationUpdate & WithDomainARN(const char *value)
ElasticsearchDestinationUpdate & WithTypeName(const Aws::String &value)
ElasticsearchDestinationUpdate & WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod &&value)
ElasticsearchDestinationUpdate & WithRoleARN(const char *value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
ElasticsearchDestinationUpdate & WithIndexName(Aws::String &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
ElasticsearchDestinationUpdate & WithIndexRotationPeriod(const ElasticsearchIndexRotationPeriod &value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod &value)
ElasticsearchDestinationUpdate & WithBufferingHints(const ElasticsearchBufferingHints &value)
ElasticsearchDestinationUpdate & WithIndexName(const Aws::String &value)
ElasticsearchDestinationUpdate & WithClusterEndpoint(const char *value)
ElasticsearchDestinationUpdate & WithTypeName(Aws::String &&value)
ElasticsearchDestinationUpdate & WithDomainARN(Aws::String &&value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
const ElasticsearchBufferingHints & GetBufferingHints() const
ElasticsearchDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
ElasticsearchDestinationUpdate & WithRoleARN(Aws::String &&value)
ElasticsearchDestinationUpdate & WithRetryOptions(ElasticsearchRetryOptions &&value)
void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod &&value)
const ElasticsearchIndexRotationPeriod & GetIndexRotationPeriod() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ElasticsearchDestinationUpdate & WithRoleARN(const Aws::String &value)
ElasticsearchDestinationUpdate & WithBufferingHints(ElasticsearchBufferingHints &&value)
ElasticsearchDestinationUpdate & WithTypeName(const char *value)
ElasticsearchDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
ElasticsearchDestinationUpdate & WithRetryOptions(const ElasticsearchRetryOptions &value)
ElasticsearchDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
void SetBufferingHints(const ElasticsearchBufferingHints &value)