AWS SDK for C++  0.14.3
AWS SDK for C++
CharacterSet.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/rds/RDS_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Xml
25 {
26  class XmlNode;
27 } // namespace Xml
28 } // namespace Utils
29 namespace RDS
30 {
31 namespace Model
32 {
33 
39  {
40  public:
41  CharacterSet();
42  CharacterSet(const Aws::Utils::Xml::XmlNode& xmlNode);
43  CharacterSet& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44 
45  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46  void OutputToStream(Aws::OStream& oStream, const char* location) const;
47 
51  inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; }
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 = 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(value); return *this;}
77 
81  inline CharacterSet& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;}
82 
86  inline const Aws::String& GetCharacterSetDescription() const{ return m_characterSetDescription; }
87 
91  inline void SetCharacterSetDescription(const Aws::String& value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription = value; }
92 
96  inline void SetCharacterSetDescription(Aws::String&& value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription = value; }
97 
101  inline void SetCharacterSetDescription(const char* value) { m_characterSetDescriptionHasBeenSet = true; m_characterSetDescription.assign(value); }
102 
106  inline CharacterSet& WithCharacterSetDescription(const Aws::String& value) { SetCharacterSetDescription(value); return *this;}
107 
111  inline CharacterSet& WithCharacterSetDescription(Aws::String&& value) { SetCharacterSetDescription(value); return *this;}
112 
116  inline CharacterSet& WithCharacterSetDescription(const char* value) { SetCharacterSetDescription(value); return *this;}
117 
118  private:
119  Aws::String m_characterSetName;
120  bool m_characterSetNameHasBeenSet;
121  Aws::String m_characterSetDescription;
122  bool m_characterSetDescriptionHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace RDS
127 } // namespace Aws
CharacterSet & WithCharacterSetDescription(Aws::String &&value)
Definition: CharacterSet.h:111
void SetCharacterSetName(Aws::String &&value)
Definition: CharacterSet.h:61
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
void SetCharacterSetName(const Aws::String &value)
Definition: CharacterSet.h:56
CharacterSet & WithCharacterSetName(Aws::String &&value)
Definition: CharacterSet.h:76
CharacterSet & WithCharacterSetName(const char *value)
Definition: CharacterSet.h:81
const Aws::String & GetCharacterSetDescription() const
Definition: CharacterSet.h:86
CharacterSet & WithCharacterSetDescription(const Aws::String &value)
Definition: CharacterSet.h:106
void SetCharacterSetName(const char *value)
Definition: CharacterSet.h:66
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
void SetCharacterSetDescription(const char *value)
Definition: CharacterSet.h:101
CharacterSet & WithCharacterSetDescription(const char *value)
Definition: CharacterSet.h:116
void SetCharacterSetDescription(const Aws::String &value)
Definition: CharacterSet.h:91
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetCharacterSetDescription(Aws::String &&value)
Definition: CharacterSet.h:96
CharacterSet & WithCharacterSetName(const Aws::String &value)
Definition: CharacterSet.h:71
const Aws::String & GetCharacterSetName() const
Definition: CharacterSet.h:51
JSON (JavaScript Object Notation).