AWS SDK for C++  1.9.104
AWS SDK for C++
AquaConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace Redshift
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
50  inline const AquaStatus& GetAquaStatus() const{ return m_aquaStatus; }
51 
58  inline bool AquaStatusHasBeenSet() const { return m_aquaStatusHasBeenSet; }
59 
66  inline void SetAquaStatus(const AquaStatus& value) { m_aquaStatusHasBeenSet = true; m_aquaStatus = value; }
67 
74  inline void SetAquaStatus(AquaStatus&& value) { m_aquaStatusHasBeenSet = true; m_aquaStatus = std::move(value); }
75 
82  inline AquaConfiguration& WithAquaStatus(const AquaStatus& value) { SetAquaStatus(value); return *this;}
83 
90  inline AquaConfiguration& WithAquaStatus(AquaStatus&& value) { SetAquaStatus(std::move(value)); return *this;}
91 
92 
100  inline const AquaConfigurationStatus& GetAquaConfigurationStatus() const{ return m_aquaConfigurationStatus; }
101 
109  inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; }
110 
118  inline void SetAquaConfigurationStatus(const AquaConfigurationStatus& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; }
119 
127  inline void SetAquaConfigurationStatus(AquaConfigurationStatus&& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = std::move(value); }
128 
136  inline AquaConfiguration& WithAquaConfigurationStatus(const AquaConfigurationStatus& value) { SetAquaConfigurationStatus(value); return *this;}
137 
145  inline AquaConfiguration& WithAquaConfigurationStatus(AquaConfigurationStatus&& value) { SetAquaConfigurationStatus(std::move(value)); return *this;}
146 
147  private:
148 
149  AquaStatus m_aquaStatus;
150  bool m_aquaStatusHasBeenSet;
151 
152  AquaConfigurationStatus m_aquaConfigurationStatus;
153  bool m_aquaConfigurationStatusHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace Redshift
158 } // namespace Aws
Aws::Redshift::Model::AquaConfiguration
Definition: AquaConfiguration.h:34
Aws::Redshift::Model::AquaConfiguration::WithAquaConfigurationStatus
AquaConfiguration & WithAquaConfigurationStatus(const AquaConfigurationStatus &value)
Definition: AquaConfiguration.h:136
AquaStatus.h
Aws::Redshift::Model::AquaConfiguration::WithAquaStatus
AquaConfiguration & WithAquaStatus(AquaStatus &&value)
Definition: AquaConfiguration.h:90
Aws::Redshift::Model::AquaConfiguration::WithAquaStatus
AquaConfiguration & WithAquaStatus(const AquaStatus &value)
Definition: AquaConfiguration.h:82
Aws::Redshift::Model::AquaConfiguration::AquaConfiguration
AquaConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::AquaConfiguration::SetAquaConfigurationStatus
void SetAquaConfigurationStatus(const AquaConfigurationStatus &value)
Definition: AquaConfiguration.h:118
AWSStreamFwd.h
Aws::Redshift::Model::AquaConfiguration::GetAquaStatus
const AquaStatus & GetAquaStatus() const
Definition: AquaConfiguration.h:50
Aws::Redshift::Model::AquaConfiguration::SetAquaStatus
void SetAquaStatus(AquaStatus &&value)
Definition: AquaConfiguration.h:74
Aws::Redshift::Model::AquaConfiguration::AquaConfigurationStatusHasBeenSet
bool AquaConfigurationStatusHasBeenSet() const
Definition: AquaConfiguration.h:109
Aws::Redshift::Model::AquaConfiguration::GetAquaConfigurationStatus
const AquaConfigurationStatus & GetAquaConfigurationStatus() const
Definition: AquaConfiguration.h:100
Aws::Redshift::Model::AquaConfiguration::operator=
AquaConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::AquaConfiguration::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::AquaStatus
AquaStatus
Definition: AquaStatus.h:17
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AquaConfigurationStatus.h
Aws::Redshift::Model::AquaConfiguration::SetAquaStatus
void SetAquaStatus(const AquaStatus &value)
Definition: AquaConfiguration.h:66
Aws::Redshift::Model::AquaConfiguration::AquaStatusHasBeenSet
bool AquaStatusHasBeenSet() const
Definition: AquaConfiguration.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::AquaConfigurationStatus
AquaConfigurationStatus
Definition: AquaConfigurationStatus.h:17
Aws::Redshift::Model::AquaConfiguration::AquaConfiguration
AquaConfiguration()
Redshift_EXPORTS.h
Aws::Redshift::Model::AquaConfiguration::WithAquaConfigurationStatus
AquaConfiguration & WithAquaConfigurationStatus(AquaConfigurationStatus &&value)
Definition: AquaConfiguration.h:145
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::AquaConfiguration::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::AquaConfiguration::SetAquaConfigurationStatus
void SetAquaConfigurationStatus(AquaConfigurationStatus &&value)
Definition: AquaConfiguration.h:127