AWS SDK for C++  0.12.9
AWS SDK for C++
ModifyClusterParameterGroupResult.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 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace Utils
26 {
27 namespace Xml
28 {
29  class XmlDocument;
30 } // namespace Xml
31 } // namespace Utils
32 namespace Redshift
33 {
34 namespace Model
35 {
40  {
41  public:
45 
49  inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
50 
54  inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupName = value; }
55 
59  inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupName = value; }
60 
64  inline void SetParameterGroupName(const char* value) { m_parameterGroupName.assign(value); }
65 
69  inline ModifyClusterParameterGroupResult& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;}
70 
74  inline ModifyClusterParameterGroupResult& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(value); return *this;}
75 
79  inline ModifyClusterParameterGroupResult& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
80 
86  inline const Aws::String& GetParameterGroupStatus() const{ return m_parameterGroupStatus; }
87 
93  inline void SetParameterGroupStatus(const Aws::String& value) { m_parameterGroupStatus = value; }
94 
100  inline void SetParameterGroupStatus(Aws::String&& value) { m_parameterGroupStatus = value; }
101 
107  inline void SetParameterGroupStatus(const char* value) { m_parameterGroupStatus.assign(value); }
108 
114  inline ModifyClusterParameterGroupResult& WithParameterGroupStatus(const Aws::String& value) { SetParameterGroupStatus(value); return *this;}
115 
121  inline ModifyClusterParameterGroupResult& WithParameterGroupStatus(Aws::String&& value) { SetParameterGroupStatus(value); return *this;}
122 
128  inline ModifyClusterParameterGroupResult& WithParameterGroupStatus(const char* value) { SetParameterGroupStatus(value); return *this;}
129 
130 
131  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
132 
133 
134  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
135 
136 
137  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
138 
139 
140  inline ModifyClusterParameterGroupResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
141 
142 
143  inline ModifyClusterParameterGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
144 
145  private:
146  Aws::String m_parameterGroupName;
147  Aws::String m_parameterGroupStatus;
148  ResponseMetadata m_responseMetadata;
149  };
150 
151 } // namespace Model
152 } // namespace Redshift
153 } // namespace Aws
ModifyClusterParameterGroupResult & WithParameterGroupStatus(const char *value)
ModifyClusterParameterGroupResult & WithParameterGroupName(Aws::String &&value)
ModifyClusterParameterGroupResult & WithResponseMetadata(ResponseMetadata &&value)
ModifyClusterParameterGroupResult & WithParameterGroupName(const Aws::String &value)
#define AWS_REDSHIFT_API
ModifyClusterParameterGroupResult & WithParameterGroupStatus(Aws::String &&value)
ModifyClusterParameterGroupResult & WithParameterGroupName(const char *value)
ModifyClusterParameterGroupResult & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ModifyClusterParameterGroupResult & WithParameterGroupStatus(const Aws::String &value)
JSON (JavaScript Object Notation).