AWS SDK for C++  1.9.108
AWS SDK for C++
CharacterSet.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& GetCharacterSetName() const{ return m_characterSetName; }
47 
51  inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
52 
56  inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; }
57 
61  inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); }
62 
66  inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); }
67 
71  inline CharacterSet& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;}
72 
76  inline CharacterSet& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;}
77 
81  inline CharacterSet& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;}
82 
83 
87  inline const Aws::String& GetCharacterSetDescription() const{ return m_characterSetDescription; }
88 
92  inline bool CharacterSetDescriptionHasBeenSet() const { return m_characterSetDescriptionHasBeenSet; }
93 
97  inline void SetCharacterSetDescription(const Aws::String& value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription = value; }
98 
102  inline void SetCharacterSetDescription(Aws::String&& value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription = std::move(value); }
103 
107  inline void SetCharacterSetDescription(const char* value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription.assign(value); }
108 
112  inline CharacterSet& WithCharacterSetDescription(const Aws::String& value) { SetCharacterSetDescription(value); return *this;}
113 
117  inline CharacterSet& WithCharacterSetDescription(Aws::String&& value) { SetCharacterSetDescription(std::move(value)); return *this;}
118 
122  inline CharacterSet& WithCharacterSetDescription(const char* value) { SetCharacterSetDescription(value); return *this;}
123 
124  private:
125 
126  Aws::String m_characterSetName;
127  bool m_characterSetNameHasBeenSet;
128 
129  Aws::String m_characterSetDescription;
130  bool m_characterSetDescriptionHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace RDS
135 } // namespace Aws
Aws::RDS::Model::CharacterSet::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::CharacterSet::SetCharacterSetName
void SetCharacterSetName(const Aws::String &value)
Definition: CharacterSet.h:56
Aws::RDS::Model::CharacterSet::SetCharacterSetDescription
void SetCharacterSetDescription(Aws::String &&value)
Definition: CharacterSet.h:102
Aws::RDS::Model::CharacterSet::WithCharacterSetName
CharacterSet & WithCharacterSetName(const char *value)
Definition: CharacterSet.h:81
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CharacterSet::SetCharacterSetName
void SetCharacterSetName(const char *value)
Definition: CharacterSet.h:66
Aws::RDS::Model::CharacterSet
Definition: CharacterSet.h:33
AWSStreamFwd.h
Aws::RDS::Model::CharacterSet::WithCharacterSetName
CharacterSet & WithCharacterSetName(Aws::String &&value)
Definition: CharacterSet.h:76
Aws::RDS::Model::CharacterSet::GetCharacterSetName
const Aws::String & GetCharacterSetName() const
Definition: CharacterSet.h:46
Aws::RDS::Model::CharacterSet::SetCharacterSetDescription
void SetCharacterSetDescription(const char *value)
Definition: CharacterSet.h:107
Aws::RDS::Model::CharacterSet::WithCharacterSetDescription
CharacterSet & WithCharacterSetDescription(Aws::String &&value)
Definition: CharacterSet.h:117
Aws::RDS::Model::CharacterSet::CharacterSetDescriptionHasBeenSet
bool CharacterSetDescriptionHasBeenSet() const
Definition: CharacterSet.h:92
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::RDS::Model::CharacterSet::CharacterSet
CharacterSet()
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::CharacterSet::WithCharacterSetDescription
CharacterSet & WithCharacterSetDescription(const Aws::String &value)
Definition: CharacterSet.h:112
AWSString.h
Aws::RDS::Model::CharacterSet::GetCharacterSetDescription
const Aws::String & GetCharacterSetDescription() const
Definition: CharacterSet.h:87
Aws::RDS::Model::CharacterSet::WithCharacterSetDescription
CharacterSet & WithCharacterSetDescription(const char *value)
Definition: CharacterSet.h:122
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CharacterSet::CharacterSetNameHasBeenSet
bool CharacterSetNameHasBeenSet() const
Definition: CharacterSet.h:51
Aws::RDS::Model::CharacterSet::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::CharacterSet::WithCharacterSetName
CharacterSet & WithCharacterSetName(const Aws::String &value)
Definition: CharacterSet.h:71
Aws::RDS::Model::CharacterSet::SetCharacterSetDescription
void SetCharacterSetDescription(const Aws::String &value)
Definition: CharacterSet.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::CharacterSet::SetCharacterSetName
void SetCharacterSetName(Aws::String &&value)
Definition: CharacterSet.h:61
Aws::RDS::Model::CharacterSet::operator=
CharacterSet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::CharacterSet::CharacterSet
CharacterSet(const Aws::Utils::Xml::XmlNode &xmlNode)