AWS SDK for C++  0.12.9
AWS SDK for C++
ElasticsearchDomainConfig.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace ElasticsearchService
33 {
34 namespace Model
35 {
36 
41  {
42  public:
45  ElasticsearchDomainConfig& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
46  Aws::Utils::Json::JsonValue Jsonize() const;
47 
52  inline const ElasticsearchClusterConfigStatus& GetElasticsearchClusterConfig() const{ return m_elasticsearchClusterConfig; }
53 
58  inline void SetElasticsearchClusterConfig(const ElasticsearchClusterConfigStatus& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = value; }
59 
64  inline void SetElasticsearchClusterConfig(ElasticsearchClusterConfigStatus&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = value; }
65 
70  inline ElasticsearchDomainConfig& WithElasticsearchClusterConfig(const ElasticsearchClusterConfigStatus& value) { SetElasticsearchClusterConfig(value); return *this;}
71 
76  inline ElasticsearchDomainConfig& WithElasticsearchClusterConfig(ElasticsearchClusterConfigStatus&& value) { SetElasticsearchClusterConfig(value); return *this;}
77 
81  inline const EBSOptionsStatus& GetEBSOptions() const{ return m_eBSOptions; }
82 
86  inline void SetEBSOptions(const EBSOptionsStatus& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = value; }
87 
91  inline void SetEBSOptions(EBSOptionsStatus&& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = value; }
92 
96  inline ElasticsearchDomainConfig& WithEBSOptions(const EBSOptionsStatus& value) { SetEBSOptions(value); return *this;}
97 
101  inline ElasticsearchDomainConfig& WithEBSOptions(EBSOptionsStatus&& value) { SetEBSOptions(value); return *this;}
102 
106  inline const AccessPoliciesStatus& GetAccessPolicies() const{ return m_accessPolicies; }
107 
111  inline void SetAccessPolicies(const AccessPoliciesStatus& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
112 
116  inline void SetAccessPolicies(AccessPoliciesStatus&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
117 
121  inline ElasticsearchDomainConfig& WithAccessPolicies(const AccessPoliciesStatus& value) { SetAccessPolicies(value); return *this;}
122 
126  inline ElasticsearchDomainConfig& WithAccessPolicies(AccessPoliciesStatus&& value) { SetAccessPolicies(value); return *this;}
127 
131  inline const SnapshotOptionsStatus& GetSnapshotOptions() const{ return m_snapshotOptions; }
132 
136  inline void SetSnapshotOptions(const SnapshotOptionsStatus& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = value; }
137 
141  inline void SetSnapshotOptions(SnapshotOptionsStatus&& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = value; }
142 
146  inline ElasticsearchDomainConfig& WithSnapshotOptions(const SnapshotOptionsStatus& value) { SetSnapshotOptions(value); return *this;}
147 
151  inline ElasticsearchDomainConfig& WithSnapshotOptions(SnapshotOptionsStatus&& value) { SetSnapshotOptions(value); return *this;}
152 
158  inline const AdvancedOptionsStatus& GetAdvancedOptions() const{ return m_advancedOptions; }
159 
165  inline void SetAdvancedOptions(const AdvancedOptionsStatus& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = value; }
166 
172  inline void SetAdvancedOptions(AdvancedOptionsStatus&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = value; }
173 
179  inline ElasticsearchDomainConfig& WithAdvancedOptions(const AdvancedOptionsStatus& value) { SetAdvancedOptions(value); return *this;}
180 
186  inline ElasticsearchDomainConfig& WithAdvancedOptions(AdvancedOptionsStatus&& value) { SetAdvancedOptions(value); return *this;}
187 
188  private:
189  ElasticsearchClusterConfigStatus m_elasticsearchClusterConfig;
190  bool m_elasticsearchClusterConfigHasBeenSet;
191  EBSOptionsStatus m_eBSOptions;
192  bool m_eBSOptionsHasBeenSet;
193  AccessPoliciesStatus m_accessPolicies;
194  bool m_accessPoliciesHasBeenSet;
195  SnapshotOptionsStatus m_snapshotOptions;
196  bool m_snapshotOptionsHasBeenSet;
197  AdvancedOptionsStatus m_advancedOptions;
198  bool m_advancedOptionsHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace ElasticsearchService
203 } // namespace Aws
ElasticsearchDomainConfig & WithEBSOptions(const EBSOptionsStatus &value)
ElasticsearchDomainConfig & WithAdvancedOptions(AdvancedOptionsStatus &&value)
ElasticsearchDomainConfig & WithEBSOptions(EBSOptionsStatus &&value)
void SetElasticsearchClusterConfig(ElasticsearchClusterConfigStatus &&value)
ElasticsearchDomainConfig & WithSnapshotOptions(SnapshotOptionsStatus &&value)
ElasticsearchDomainConfig & WithAdvancedOptions(const AdvancedOptionsStatus &value)
ElasticsearchDomainConfig & WithElasticsearchClusterConfig(ElasticsearchClusterConfigStatus &&value)
#define AWS_ELASTICSEARCHSERVICE_API
ElasticsearchDomainConfig & WithSnapshotOptions(const SnapshotOptionsStatus &value)
const ElasticsearchClusterConfigStatus & GetElasticsearchClusterConfig() const
ElasticsearchDomainConfig & WithAccessPolicies(AccessPoliciesStatus &&value)
void SetElasticsearchClusterConfig(const ElasticsearchClusterConfigStatus &value)
ElasticsearchDomainConfig & WithAccessPolicies(const AccessPoliciesStatus &value)
ElasticsearchDomainConfig & WithElasticsearchClusterConfig(const ElasticsearchClusterConfigStatus &value)
JSON (JavaScript Object Notation).