AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateElasticsearchDomainConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
18 #include <aws/es/model/LogType.h>
20 #include <utility>
21 
22 namespace Aws
23 {
24 namespace ElasticsearchService
25 {
26 namespace Model
27 {
28 
37  {
38  public:
40 
41  // Service request name is the Operation name which will send this request out,
42  // each operation should has unique request name, so that we can get operation's name from this request.
43  // Note: this is not true for response, multiple operations may have the same response name,
44  // so we can not get operation's name from response.
45  inline virtual const char* GetServiceRequestName() const override { return "UpdateElasticsearchDomainConfig"; }
46 
47  Aws::String SerializePayload() const override;
48 
49 
53  inline const Aws::String& GetDomainName() const{ return m_domainName; }
54 
58  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
59 
63  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
64 
68  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
69 
73  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
74 
78  inline UpdateElasticsearchDomainConfigRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
79 
83  inline UpdateElasticsearchDomainConfigRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
84 
88  inline UpdateElasticsearchDomainConfigRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
89 
90 
94  inline const ElasticsearchClusterConfig& GetElasticsearchClusterConfig() const{ return m_elasticsearchClusterConfig; }
95 
99  inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
100 
104  inline void SetElasticsearchClusterConfig(const ElasticsearchClusterConfig& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = value; }
105 
109  inline void SetElasticsearchClusterConfig(ElasticsearchClusterConfig&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::move(value); }
110 
114  inline UpdateElasticsearchDomainConfigRequest& WithElasticsearchClusterConfig(const ElasticsearchClusterConfig& value) { SetElasticsearchClusterConfig(value); return *this;}
115 
119  inline UpdateElasticsearchDomainConfigRequest& WithElasticsearchClusterConfig(ElasticsearchClusterConfig&& value) { SetElasticsearchClusterConfig(std::move(value)); return *this;}
120 
121 
125  inline const EBSOptions& GetEBSOptions() const{ return m_eBSOptions; }
126 
130  inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
131 
135  inline void SetEBSOptions(const EBSOptions& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = value; }
136 
140  inline void SetEBSOptions(EBSOptions&& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = std::move(value); }
141 
145  inline UpdateElasticsearchDomainConfigRequest& WithEBSOptions(const EBSOptions& value) { SetEBSOptions(value); return *this;}
146 
150  inline UpdateElasticsearchDomainConfigRequest& WithEBSOptions(EBSOptions&& value) { SetEBSOptions(std::move(value)); return *this;}
151 
152 
157  inline const SnapshotOptions& GetSnapshotOptions() const{ return m_snapshotOptions; }
158 
163  inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
164 
169  inline void SetSnapshotOptions(const SnapshotOptions& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = value; }
170 
175  inline void SetSnapshotOptions(SnapshotOptions&& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = std::move(value); }
176 
181  inline UpdateElasticsearchDomainConfigRequest& WithSnapshotOptions(const SnapshotOptions& value) { SetSnapshotOptions(value); return *this;}
182 
187  inline UpdateElasticsearchDomainConfigRequest& WithSnapshotOptions(SnapshotOptions&& value) { SetSnapshotOptions(std::move(value)); return *this;}
188 
189 
197  inline const VPCOptions& GetVPCOptions() const{ return m_vPCOptions; }
198 
206  inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
207 
215  inline void SetVPCOptions(const VPCOptions& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = value; }
216 
224  inline void SetVPCOptions(VPCOptions&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::move(value); }
225 
233  inline UpdateElasticsearchDomainConfigRequest& WithVPCOptions(const VPCOptions& value) { SetVPCOptions(value); return *this;}
234 
242  inline UpdateElasticsearchDomainConfigRequest& WithVPCOptions(VPCOptions&& value) { SetVPCOptions(std::move(value)); return *this;}
243 
244 
251  inline const CognitoOptions& GetCognitoOptions() const{ return m_cognitoOptions; }
252 
259  inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
260 
267  inline void SetCognitoOptions(const CognitoOptions& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = value; }
268 
275  inline void SetCognitoOptions(CognitoOptions&& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = std::move(value); }
276 
283  inline UpdateElasticsearchDomainConfigRequest& WithCognitoOptions(const CognitoOptions& value) { SetCognitoOptions(value); return *this;}
284 
291  inline UpdateElasticsearchDomainConfigRequest& WithCognitoOptions(CognitoOptions&& value) { SetCognitoOptions(std::move(value)); return *this;}
292 
293 
301  inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const{ return m_advancedOptions; }
302 
310  inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
311 
319  inline void SetAdvancedOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = value; }
320 
328  inline void SetAdvancedOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::move(value); }
329 
337  inline UpdateElasticsearchDomainConfigRequest& WithAdvancedOptions(const Aws::Map<Aws::String, Aws::String>& value) { SetAdvancedOptions(value); return *this;}
338 
346  inline UpdateElasticsearchDomainConfigRequest& WithAdvancedOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetAdvancedOptions(std::move(value)); return *this;}
347 
355  inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const Aws::String& key, const Aws::String& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, value); return *this; }
356 
364  inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, const Aws::String& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), value); return *this; }
365 
373  inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const Aws::String& key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, std::move(value)); return *this; }
374 
382  inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), std::move(value)); return *this; }
383 
391  inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const char* key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, std::move(value)); return *this; }
392 
400  inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, const char* value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), value); return *this; }
401 
409  inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const char* key, const char* value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, value); return *this; }
410 
411 
415  inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; }
416 
420  inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
421 
425  inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
426 
430  inline void SetAccessPolicies(Aws::String&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); }
431 
435  inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); }
436 
440  inline UpdateElasticsearchDomainConfigRequest& WithAccessPolicies(const Aws::String& value) { SetAccessPolicies(value); return *this;}
441 
445  inline UpdateElasticsearchDomainConfigRequest& WithAccessPolicies(Aws::String&& value) { SetAccessPolicies(std::move(value)); return *this;}
446 
450  inline UpdateElasticsearchDomainConfigRequest& WithAccessPolicies(const char* value) { SetAccessPolicies(value); return *this;}
451 
452 
457  inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const{ return m_logPublishingOptions; }
458 
463  inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
464 
469  inline void SetLogPublishingOptions(const Aws::Map<LogType, LogPublishingOption>& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; }
470 
475  inline void SetLogPublishingOptions(Aws::Map<LogType, LogPublishingOption>&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); }
476 
481  inline UpdateElasticsearchDomainConfigRequest& WithLogPublishingOptions(const Aws::Map<LogType, LogPublishingOption>& value) { SetLogPublishingOptions(value); return *this;}
482 
487  inline UpdateElasticsearchDomainConfigRequest& WithLogPublishingOptions(Aws::Map<LogType, LogPublishingOption>&& value) { SetLogPublishingOptions(std::move(value)); return *this;}
488 
493  inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(const LogType& key, const LogPublishingOption& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(key, value); return *this; }
494 
499  inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(LogType&& key, const LogPublishingOption& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(std::move(key), value); return *this; }
500 
505  inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(const LogType& key, LogPublishingOption&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(key, std::move(value)); return *this; }
506 
511  inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(LogType&& key, LogPublishingOption&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(std::move(key), std::move(value)); return *this; }
512 
513 
518  inline const DomainEndpointOptions& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; }
519 
524  inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
525 
530  inline void SetDomainEndpointOptions(const DomainEndpointOptions& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = value; }
531 
536  inline void SetDomainEndpointOptions(DomainEndpointOptions&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::move(value); }
537 
542  inline UpdateElasticsearchDomainConfigRequest& WithDomainEndpointOptions(const DomainEndpointOptions& value) { SetDomainEndpointOptions(value); return *this;}
543 
548  inline UpdateElasticsearchDomainConfigRequest& WithDomainEndpointOptions(DomainEndpointOptions&& value) { SetDomainEndpointOptions(std::move(value)); return *this;}
549 
550 
554  inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const{ return m_advancedSecurityOptions; }
555 
559  inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
560 
564  inline void SetAdvancedSecurityOptions(const AdvancedSecurityOptionsInput& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = value; }
565 
569  inline void SetAdvancedSecurityOptions(AdvancedSecurityOptionsInput&& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = std::move(value); }
570 
574  inline UpdateElasticsearchDomainConfigRequest& WithAdvancedSecurityOptions(const AdvancedSecurityOptionsInput& value) { SetAdvancedSecurityOptions(value); return *this;}
575 
579  inline UpdateElasticsearchDomainConfigRequest& WithAdvancedSecurityOptions(AdvancedSecurityOptionsInput&& value) { SetAdvancedSecurityOptions(std::move(value)); return *this;}
580 
581  private:
582 
583  Aws::String m_domainName;
584  bool m_domainNameHasBeenSet;
585 
586  ElasticsearchClusterConfig m_elasticsearchClusterConfig;
587  bool m_elasticsearchClusterConfigHasBeenSet;
588 
589  EBSOptions m_eBSOptions;
590  bool m_eBSOptionsHasBeenSet;
591 
592  SnapshotOptions m_snapshotOptions;
593  bool m_snapshotOptionsHasBeenSet;
594 
595  VPCOptions m_vPCOptions;
596  bool m_vPCOptionsHasBeenSet;
597 
598  CognitoOptions m_cognitoOptions;
599  bool m_cognitoOptionsHasBeenSet;
600 
601  Aws::Map<Aws::String, Aws::String> m_advancedOptions;
602  bool m_advancedOptionsHasBeenSet;
603 
604  Aws::String m_accessPolicies;
605  bool m_accessPoliciesHasBeenSet;
606 
607  Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
608  bool m_logPublishingOptionsHasBeenSet;
609 
610  DomainEndpointOptions m_domainEndpointOptions;
611  bool m_domainEndpointOptionsHasBeenSet;
612 
613  AdvancedSecurityOptionsInput m_advancedSecurityOptions;
614  bool m_advancedSecurityOptionsHasBeenSet;
615  };
616 
617 } // namespace Model
618 } // namespace ElasticsearchService
619 } // namespace Aws
UpdateElasticsearchDomainConfigRequest & WithLogPublishingOptions(const Aws::Map< LogType, LogPublishingOption > &value)
UpdateElasticsearchDomainConfigRequest & WithDomainName(const Aws::String &value)
UpdateElasticsearchDomainConfigRequest & WithLogPublishingOptions(Aws::Map< LogType, LogPublishingOption > &&value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(Aws::String &&key, Aws::String &&value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(Aws::String &&key, const Aws::String &value)
UpdateElasticsearchDomainConfigRequest & WithCognitoOptions(CognitoOptions &&value)
UpdateElasticsearchDomainConfigRequest & WithAccessPolicies(const Aws::String &value)
UpdateElasticsearchDomainConfigRequest & WithDomainName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(Aws::String &&key, const char *value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(const char *key, Aws::String &&value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(const LogType &key, LogPublishingOption &&value)
UpdateElasticsearchDomainConfigRequest & WithCognitoOptions(const CognitoOptions &value)
UpdateElasticsearchDomainConfigRequest & WithEBSOptions(const EBSOptions &value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedOptions(const Aws::Map< Aws::String, Aws::String > &value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedOptions(Aws::Map< Aws::String, Aws::String > &&value)
UpdateElasticsearchDomainConfigRequest & WithSnapshotOptions(SnapshotOptions &&value)
UpdateElasticsearchDomainConfigRequest & WithVPCOptions(const VPCOptions &value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(const char *key, const char *value)
void SetLogPublishingOptions(const Aws::Map< LogType, LogPublishingOption > &value)
#define AWS_ELASTICSEARCHSERVICE_API
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(const Aws::String &key, const Aws::String &value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(LogType &&key, const LogPublishingOption &value)
UpdateElasticsearchDomainConfigRequest & WithDomainEndpointOptions(DomainEndpointOptions &&value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(const LogType &key, const LogPublishingOption &value)
UpdateElasticsearchDomainConfigRequest & WithDomainEndpointOptions(const DomainEndpointOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateElasticsearchDomainConfigRequest & WithElasticsearchClusterConfig(const ElasticsearchClusterConfig &value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(LogType &&key, LogPublishingOption &&value)
UpdateElasticsearchDomainConfigRequest & WithAccessPolicies(Aws::String &&value)
UpdateElasticsearchDomainConfigRequest & WithElasticsearchClusterConfig(ElasticsearchClusterConfig &&value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(const Aws::String &key, Aws::String &&value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedSecurityOptions(const AdvancedSecurityOptionsInput &value)
UpdateElasticsearchDomainConfigRequest & WithSnapshotOptions(const SnapshotOptions &value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedSecurityOptions(AdvancedSecurityOptionsInput &&value)