AWS SDK for C++  1.9.104
AWS SDK for C++
MinimumEngineVersionPerAllowedValue.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetAllowedValue() const{ return m_allowedValue; }
47 
51  inline bool AllowedValueHasBeenSet() const { return m_allowedValueHasBeenSet; }
52 
56  inline void SetAllowedValue(const Aws::String& value) { m_allowedValueHasBeenSet = true; m_allowedValue = value; }
57 
61  inline void SetAllowedValue(Aws::String&& value) { m_allowedValueHasBeenSet = true; m_allowedValue = std::move(value); }
62 
66  inline void SetAllowedValue(const char* value) { m_allowedValueHasBeenSet = true; m_allowedValue.assign(value); }
67 
71  inline MinimumEngineVersionPerAllowedValue& WithAllowedValue(const Aws::String& value) { SetAllowedValue(value); return *this;}
72 
76  inline MinimumEngineVersionPerAllowedValue& WithAllowedValue(Aws::String&& value) { SetAllowedValue(std::move(value)); return *this;}
77 
81  inline MinimumEngineVersionPerAllowedValue& WithAllowedValue(const char* value) { SetAllowedValue(value); return *this;}
82 
83 
87  inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; }
88 
92  inline bool MinimumEngineVersionHasBeenSet() const { return m_minimumEngineVersionHasBeenSet; }
93 
97  inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = value; }
98 
102  inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::move(value); }
103 
107  inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion.assign(value); }
108 
112  inline MinimumEngineVersionPerAllowedValue& WithMinimumEngineVersion(const Aws::String& value) { SetMinimumEngineVersion(value); return *this;}
113 
117  inline MinimumEngineVersionPerAllowedValue& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
118 
122  inline MinimumEngineVersionPerAllowedValue& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;}
123 
124  private:
125 
126  Aws::String m_allowedValue;
127  bool m_allowedValueHasBeenSet;
128 
129  Aws::String m_minimumEngineVersion;
130  bool m_minimumEngineVersionHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace RDS
135 } // namespace Aws
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::WithAllowedValue
MinimumEngineVersionPerAllowedValue & WithAllowedValue(Aws::String &&value)
Definition: MinimumEngineVersionPerAllowedValue.h:76
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::MinimumEngineVersionPerAllowedValue
MinimumEngineVersionPerAllowedValue(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::WithMinimumEngineVersion
MinimumEngineVersionPerAllowedValue & WithMinimumEngineVersion(const char *value)
Definition: MinimumEngineVersionPerAllowedValue.h:122
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::GetMinimumEngineVersion
const Aws::String & GetMinimumEngineVersion() const
Definition: MinimumEngineVersionPerAllowedValue.h:87
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::SetAllowedValue
void SetAllowedValue(Aws::String &&value)
Definition: MinimumEngineVersionPerAllowedValue.h:61
AWSStreamFwd.h
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::GetAllowedValue
const Aws::String & GetAllowedValue() const
Definition: MinimumEngineVersionPerAllowedValue.h:46
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::MinimumEngineVersionPerAllowedValue
MinimumEngineVersionPerAllowedValue()
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::MinimumEngineVersionHasBeenSet
bool MinimumEngineVersionHasBeenSet() const
Definition: MinimumEngineVersionPerAllowedValue.h:92
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::SetMinimumEngineVersion
void SetMinimumEngineVersion(const char *value)
Definition: MinimumEngineVersionPerAllowedValue.h:107
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::WithAllowedValue
MinimumEngineVersionPerAllowedValue & WithAllowedValue(const char *value)
Definition: MinimumEngineVersionPerAllowedValue.h:81
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::WithAllowedValue
MinimumEngineVersionPerAllowedValue & WithAllowedValue(const Aws::String &value)
Definition: MinimumEngineVersionPerAllowedValue.h:71
AWSString.h
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::SetMinimumEngineVersion
void SetMinimumEngineVersion(const Aws::String &value)
Definition: MinimumEngineVersionPerAllowedValue.h:97
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue
Definition: MinimumEngineVersionPerAllowedValue.h:33
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::WithMinimumEngineVersion
MinimumEngineVersionPerAllowedValue & WithMinimumEngineVersion(const Aws::String &value)
Definition: MinimumEngineVersionPerAllowedValue.h:112
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::SetAllowedValue
void SetAllowedValue(const Aws::String &value)
Definition: MinimumEngineVersionPerAllowedValue.h:56
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::AllowedValueHasBeenSet
bool AllowedValueHasBeenSet() const
Definition: MinimumEngineVersionPerAllowedValue.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::WithMinimumEngineVersion
MinimumEngineVersionPerAllowedValue & WithMinimumEngineVersion(Aws::String &&value)
Definition: MinimumEngineVersionPerAllowedValue.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::SetMinimumEngineVersion
void SetMinimumEngineVersion(Aws::String &&value)
Definition: MinimumEngineVersionPerAllowedValue.h:102
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::SetAllowedValue
void SetAllowedValue(const char *value)
Definition: MinimumEngineVersionPerAllowedValue.h:66
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue::operator=
MinimumEngineVersionPerAllowedValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)