AWS SDK for C++  0.12.9
AWS SDK for C++
ClusterParameterStatus.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 Xml
25 {
26  class XmlNode;
27 } // namespace Xml
28 } // namespace Utils
29 namespace Redshift
30 {
31 namespace Model
32 {
33 
38  {
39  public:
42  ClusterParameterStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
50  inline const Aws::String& GetParameterName() const{ return m_parameterName; }
51 
55  inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
56 
60  inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
61 
65  inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
66 
70  inline ClusterParameterStatus& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
71 
75  inline ClusterParameterStatus& WithParameterName(Aws::String&& value) { SetParameterName(value); return *this;}
76 
80  inline ClusterParameterStatus& WithParameterName(const char* value) { SetParameterName(value); return *this;}
81 
98  inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; }
99 
116  inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
117 
134  inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
135 
152  inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); }
153 
170  inline ClusterParameterStatus& WithParameterApplyStatus(const Aws::String& value) { SetParameterApplyStatus(value); return *this;}
171 
188  inline ClusterParameterStatus& WithParameterApplyStatus(Aws::String&& value) { SetParameterApplyStatus(value); return *this;}
189 
206  inline ClusterParameterStatus& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;}
207 
212  inline const Aws::String& GetParameterApplyErrorDescription() const{ return m_parameterApplyErrorDescription; }
213 
218  inline void SetParameterApplyErrorDescription(const Aws::String& value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription = value; }
219 
224  inline void SetParameterApplyErrorDescription(Aws::String&& value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription = value; }
225 
230  inline void SetParameterApplyErrorDescription(const char* value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription.assign(value); }
231 
236  inline ClusterParameterStatus& WithParameterApplyErrorDescription(const Aws::String& value) { SetParameterApplyErrorDescription(value); return *this;}
237 
242  inline ClusterParameterStatus& WithParameterApplyErrorDescription(Aws::String&& value) { SetParameterApplyErrorDescription(value); return *this;}
243 
248  inline ClusterParameterStatus& WithParameterApplyErrorDescription(const char* value) { SetParameterApplyErrorDescription(value); return *this;}
249 
250  private:
251  Aws::String m_parameterName;
252  bool m_parameterNameHasBeenSet;
253  Aws::String m_parameterApplyStatus;
254  bool m_parameterApplyStatusHasBeenSet;
255  Aws::String m_parameterApplyErrorDescription;
256  bool m_parameterApplyErrorDescriptionHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace Redshift
261 } // namespace Aws
void SetParameterApplyErrorDescription(const Aws::String &value)
const Aws::String & GetParameterApplyStatus() const
ClusterParameterStatus & WithParameterName(const char *value)
ClusterParameterStatus & WithParameterApplyStatus(const Aws::String &value)
ClusterParameterStatus & WithParameterApplyErrorDescription(const char *value)
#define AWS_REDSHIFT_API
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
ClusterParameterStatus & WithParameterName(Aws::String &&value)
ClusterParameterStatus & WithParameterApplyStatus(Aws::String &&value)
void SetParameterApplyStatus(const Aws::String &value)
ClusterParameterStatus & WithParameterApplyErrorDescription(const Aws::String &value)
ClusterParameterStatus & WithParameterName(const Aws::String &value)
const Aws::String & GetParameterApplyErrorDescription() const
ClusterParameterStatus & WithParameterApplyStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ClusterParameterStatus & WithParameterApplyErrorDescription(Aws::String &&value)
JSON (JavaScript Object Notation).