AWS SDK for C++  1.9.160
AWS SDK for C++
DefaultClusterParameters.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace Redshift
24 {
25 namespace Model
26 {
27 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
49  inline const Aws::String& GetParameterGroupFamily() const{ return m_parameterGroupFamily; }
50 
55  inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; }
56 
61  inline void SetParameterGroupFamily(const Aws::String& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = value; }
62 
67  inline void SetParameterGroupFamily(Aws::String&& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = std::move(value); }
68 
73  inline void SetParameterGroupFamily(const char* value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily.assign(value); }
74 
79  inline DefaultClusterParameters& WithParameterGroupFamily(const Aws::String& value) { SetParameterGroupFamily(value); return *this;}
80 
85  inline DefaultClusterParameters& WithParameterGroupFamily(Aws::String&& value) { SetParameterGroupFamily(std::move(value)); return *this;}
86 
91  inline DefaultClusterParameters& WithParameterGroupFamily(const char* value) { SetParameterGroupFamily(value); return *this;}
92 
93 
102  inline const Aws::String& GetMarker() const{ return m_marker; }
103 
112  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
113 
122  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
123 
132  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
133 
142  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
143 
152  inline DefaultClusterParameters& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
153 
162  inline DefaultClusterParameters& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
163 
172  inline DefaultClusterParameters& WithMarker(const char* value) { SetMarker(value); return *this;}
173 
174 
178  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
179 
183  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
184 
188  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
189 
193  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
194 
198  inline DefaultClusterParameters& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
199 
203  inline DefaultClusterParameters& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
204 
208  inline DefaultClusterParameters& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
209 
213  inline DefaultClusterParameters& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
214 
215  private:
216 
217  Aws::String m_parameterGroupFamily;
218  bool m_parameterGroupFamilyHasBeenSet;
219 
220  Aws::String m_marker;
221  bool m_markerHasBeenSet;
222 
223  Aws::Vector<Parameter> m_parameters;
224  bool m_parametersHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace Redshift
229 } // namespace Aws
Aws::Redshift::Model::DefaultClusterParameters::GetParameters
const Aws::Vector< Parameter > & GetParameters() const
Definition: DefaultClusterParameters.h:178
Parameter.h
Aws::Redshift::Model::DefaultClusterParameters::AddParameters
DefaultClusterParameters & AddParameters(Parameter &&value)
Definition: DefaultClusterParameters.h:213
Aws::Redshift::Model::DefaultClusterParameters::AddParameters
DefaultClusterParameters & AddParameters(const Parameter &value)
Definition: DefaultClusterParameters.h:208
Aws::Redshift::Model::DefaultClusterParameters::WithParameters
DefaultClusterParameters & WithParameters(Aws::Vector< Parameter > &&value)
Definition: DefaultClusterParameters.h:203
Aws::Redshift::Model::DefaultClusterParameters::operator=
DefaultClusterParameters & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::DefaultClusterParameters::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DefaultClusterParameters.h:112
Aws::Redshift::Model::DefaultClusterParameters::SetParameters
void SetParameters(const Aws::Vector< Parameter > &value)
Definition: DefaultClusterParameters.h:188
Aws::Redshift::Model::DefaultClusterParameters::WithMarker
DefaultClusterParameters & WithMarker(const char *value)
Definition: DefaultClusterParameters.h:172
Aws::Redshift::Model::DefaultClusterParameters::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::DefaultClusterParameters::DefaultClusterParameters
DefaultClusterParameters(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DefaultClusterParameters::SetMarker
void SetMarker(const Aws::String &value)
Definition: DefaultClusterParameters.h:122
AWSStreamFwd.h
Aws::Redshift::Model::DefaultClusterParameters::SetParameterGroupFamily
void SetParameterGroupFamily(Aws::String &&value)
Definition: DefaultClusterParameters.h:67
AWSVector.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::DefaultClusterParameters::GetMarker
const Aws::String & GetMarker() const
Definition: DefaultClusterParameters.h:102
Aws::Redshift::Model::DefaultClusterParameters::SetParameters
void SetParameters(Aws::Vector< Parameter > &&value)
Definition: DefaultClusterParameters.h:193
Aws::Redshift::Model::DefaultClusterParameters::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::DefaultClusterParameters::SetMarker
void SetMarker(Aws::String &&value)
Definition: DefaultClusterParameters.h:132
Aws::Redshift::Model::DefaultClusterParameters::SetParameterGroupFamily
void SetParameterGroupFamily(const char *value)
Definition: DefaultClusterParameters.h:73
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DefaultClusterParameters::WithMarker
DefaultClusterParameters & WithMarker(const Aws::String &value)
Definition: DefaultClusterParameters.h:152
Aws::Redshift::Model::DefaultClusterParameters::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: DefaultClusterParameters.h:183
AWSString.h
Aws::Redshift::Model::DefaultClusterParameters::WithParameters
DefaultClusterParameters & WithParameters(const Aws::Vector< Parameter > &value)
Definition: DefaultClusterParameters.h:198
Aws::Redshift::Model::DefaultClusterParameters::SetParameterGroupFamily
void SetParameterGroupFamily(const Aws::String &value)
Definition: DefaultClusterParameters.h:61
Aws::Redshift::Model::DefaultClusterParameters::ParameterGroupFamilyHasBeenSet
bool ParameterGroupFamilyHasBeenSet() const
Definition: DefaultClusterParameters.h:55
Aws::Redshift::Model::DefaultClusterParameters::DefaultClusterParameters
DefaultClusterParameters()
Aws::Redshift::Model::DefaultClusterParameters::WithMarker
DefaultClusterParameters & WithMarker(Aws::String &&value)
Definition: DefaultClusterParameters.h:162
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DefaultClusterParameters::WithParameterGroupFamily
DefaultClusterParameters & WithParameterGroupFamily(const Aws::String &value)
Definition: DefaultClusterParameters.h:79
Aws::Redshift::Model::Parameter
Definition: Parameter.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DefaultClusterParameters::WithParameterGroupFamily
DefaultClusterParameters & WithParameterGroupFamily(Aws::String &&value)
Definition: DefaultClusterParameters.h:85
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::DefaultClusterParameters::WithParameterGroupFamily
DefaultClusterParameters & WithParameterGroupFamily(const char *value)
Definition: DefaultClusterParameters.h:91
Aws::Redshift::Model::DefaultClusterParameters::SetMarker
void SetMarker(const char *value)
Definition: DefaultClusterParameters.h:142
Aws::Redshift::Model::DefaultClusterParameters::GetParameterGroupFamily
const Aws::String & GetParameterGroupFamily() const
Definition: DefaultClusterParameters.h:49
Aws::Redshift::Model::DefaultClusterParameters
Definition: DefaultClusterParameters.h:35