AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AvailableProcessorFeature.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
36 {
37 public:
41
42 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
51 inline const Aws::String& GetName() const{ return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline AvailableProcessorFeature& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline AvailableProcessorFeature& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline AvailableProcessorFeature& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
66 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
67 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
68 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
69 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
70 inline AvailableProcessorFeature& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
71 inline AvailableProcessorFeature& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
72 inline AvailableProcessorFeature& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
74
76
79 inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
80 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
81 inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
82 inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
83 inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
84 inline AvailableProcessorFeature& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
85 inline AvailableProcessorFeature& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
86 inline AvailableProcessorFeature& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_defaultValue;
94 bool m_defaultValueHasBeenSet = false;
95
96 Aws::String m_allowedValues;
97 bool m_allowedValuesHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace RDS
102} // namespace Aws
AWS_RDS_API AvailableProcessorFeature & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AvailableProcessorFeature & WithAllowedValues(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AvailableProcessorFeature & WithName(const char *value)
AvailableProcessorFeature & WithDefaultValue(const Aws::String &value)
AvailableProcessorFeature & WithDefaultValue(Aws::String &&value)
AvailableProcessorFeature & WithAllowedValues(Aws::String &&value)
AvailableProcessorFeature & WithDefaultValue(const char *value)
AvailableProcessorFeature & WithName(Aws::String &&value)
AvailableProcessorFeature & WithName(const Aws::String &value)
AvailableProcessorFeature & WithAllowedValues(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API AvailableProcessorFeature(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream