AWS SDK for C++  0.14.3
AWS SDK for C++
ElasticsearchVersionStatus.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
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace ElasticsearchService
30 {
31 namespace Model
32 {
33 
39  {
40  public:
43  ElasticsearchVersionStatus& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
50  inline const Aws::String& GetOptions() const{ return m_options; }
51 
56  inline void SetOptions(const Aws::String& value) { m_optionsHasBeenSet = true; m_options = value; }
57 
62  inline void SetOptions(Aws::String&& value) { m_optionsHasBeenSet = true; m_options = value; }
63 
68  inline void SetOptions(const char* value) { m_optionsHasBeenSet = true; m_options.assign(value); }
69 
74  inline ElasticsearchVersionStatus& WithOptions(const Aws::String& value) { SetOptions(value); return *this;}
75 
80  inline ElasticsearchVersionStatus& WithOptions(Aws::String&& value) { SetOptions(value); return *this;}
81 
86  inline ElasticsearchVersionStatus& WithOptions(const char* value) { SetOptions(value); return *this;}
87 
92  inline const OptionStatus& GetStatus() const{ return m_status; }
93 
98  inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
99 
104  inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = value; }
105 
110  inline ElasticsearchVersionStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
111 
116  inline ElasticsearchVersionStatus& WithStatus(OptionStatus&& value) { SetStatus(value); return *this;}
117 
118  private:
119  Aws::String m_options;
120  bool m_optionsHasBeenSet;
121  OptionStatus m_status;
122  bool m_statusHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace ElasticsearchService
127 } // namespace Aws
ElasticsearchVersionStatus & WithStatus(const OptionStatus &value)
ElasticsearchVersionStatus & WithStatus(OptionStatus &&value)
ElasticsearchVersionStatus & WithOptions(const char *value)
ElasticsearchVersionStatus & WithOptions(const Aws::String &value)
#define AWS_ELASTICSEARCHSERVICE_API
ElasticsearchVersionStatus & WithOptions(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).