AWS SDK for C++  1.9.104
AWS SDK for C++
ProcessorFeature.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 
57  {
58  public:
62 
63  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
64  void OutputToStream(Aws::OStream& oStream, const char* location) const;
65 
66 
71  inline const Aws::String& GetName() const{ return m_name; }
72 
77  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 
83  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 
89  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
90 
95  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
96 
101  inline ProcessorFeature& WithName(const Aws::String& value) { SetName(value); return *this;}
102 
107  inline ProcessorFeature& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 
113  inline ProcessorFeature& WithName(const char* value) { SetName(value); return *this;}
114 
115 
119  inline const Aws::String& GetValue() const{ return m_value; }
120 
124  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
125 
129  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
130 
134  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
135 
139  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
140 
144  inline ProcessorFeature& WithValue(const Aws::String& value) { SetValue(value); return *this;}
145 
149  inline ProcessorFeature& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
150 
154  inline ProcessorFeature& WithValue(const char* value) { SetValue(value); return *this;}
155 
156  private:
157 
158  Aws::String m_name;
159  bool m_nameHasBeenSet;
160 
161  Aws::String m_value;
162  bool m_valueHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace RDS
167 } // namespace Aws
Aws::RDS::Model::ProcessorFeature::WithValue
ProcessorFeature & WithValue(Aws::String &&value)
Definition: ProcessorFeature.h:149
Aws::RDS::Model::ProcessorFeature::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ProcessorFeature.h:77
Aws::RDS::Model::ProcessorFeature::SetName
void SetName(Aws::String &&value)
Definition: ProcessorFeature.h:89
Aws::RDS::Model::ProcessorFeature::SetName
void SetName(const Aws::String &value)
Definition: ProcessorFeature.h:83
Aws::RDS::Model::ProcessorFeature::ProcessorFeature
ProcessorFeature()
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ProcessorFeature::SetValue
void SetValue(const char *value)
Definition: ProcessorFeature.h:139
Aws::RDS::Model::ProcessorFeature::operator=
ProcessorFeature & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::RDS::Model::ProcessorFeature::SetValue
void SetValue(Aws::String &&value)
Definition: ProcessorFeature.h:134
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::ProcessorFeature
Definition: ProcessorFeature.h:57
Aws::RDS::Model::ProcessorFeature::ProcessorFeature
ProcessorFeature(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::ProcessorFeature::WithValue
ProcessorFeature & WithValue(const char *value)
Definition: ProcessorFeature.h:154
AWSString.h
Aws::RDS::Model::ProcessorFeature::WithName
ProcessorFeature & WithName(const char *value)
Definition: ProcessorFeature.h:113
Aws::RDS::Model::ProcessorFeature::WithValue
ProcessorFeature & WithValue(const Aws::String &value)
Definition: ProcessorFeature.h:144
Aws::RDS::Model::ProcessorFeature::WithName
ProcessorFeature & WithName(const Aws::String &value)
Definition: ProcessorFeature.h:101
Aws::RDS::Model::ProcessorFeature::SetName
void SetName(const char *value)
Definition: ProcessorFeature.h:95
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ProcessorFeature::GetValue
const Aws::String & GetValue() const
Definition: ProcessorFeature.h:119
Aws::RDS::Model::ProcessorFeature::GetName
const Aws::String & GetName() const
Definition: ProcessorFeature.h:71
Aws::RDS::Model::ProcessorFeature::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ProcessorFeature.h:124
Aws::RDS::Model::ProcessorFeature::WithName
ProcessorFeature & WithName(Aws::String &&value)
Definition: ProcessorFeature.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::ProcessorFeature::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::ProcessorFeature::SetValue
void SetValue(const Aws::String &value)
Definition: ProcessorFeature.h:129
Aws::RDS::Model::ProcessorFeature::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const