AWS SDK for C++  1.9.175
AWS SDK for C++
PlatformProgrammingLanguage.h
Go to the documentation of this file.
1 
6 #pragma once
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 ElasticBeanstalk
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& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline PlatformProgrammingLanguage& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline PlatformProgrammingLanguage& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline PlatformProgrammingLanguage& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline const Aws::String& GetVersion() const{ return m_version; }
88 
92  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
93 
97  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
98 
102  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
103 
107  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
108 
112  inline PlatformProgrammingLanguage& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
113 
117  inline PlatformProgrammingLanguage& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
118 
122  inline PlatformProgrammingLanguage& WithVersion(const char* value) { SetVersion(value); return *this;}
123 
124  private:
125 
126  Aws::String m_name;
127  bool m_nameHasBeenSet;
128 
129  Aws::String m_version;
130  bool m_versionHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace ElasticBeanstalk
135 } // namespace Aws
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::GetName
const Aws::String & GetName() const
Definition: PlatformProgrammingLanguage.h:46
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::WithVersion
PlatformProgrammingLanguage & WithVersion(Aws::String &&value)
Definition: PlatformProgrammingLanguage.h:117
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::SetVersion
void SetVersion(Aws::String &&value)
Definition: PlatformProgrammingLanguage.h:102
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::SetVersion
void SetVersion(const Aws::String &value)
Definition: PlatformProgrammingLanguage.h:97
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::WithName
PlatformProgrammingLanguage & WithName(const char *value)
Definition: PlatformProgrammingLanguage.h:81
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::WithName
PlatformProgrammingLanguage & WithName(Aws::String &&value)
Definition: PlatformProgrammingLanguage.h:76
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::WithVersion
PlatformProgrammingLanguage & WithVersion(const char *value)
Definition: PlatformProgrammingLanguage.h:122
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::SetName
void SetName(const char *value)
Definition: PlatformProgrammingLanguage.h:66
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::WithVersion
PlatformProgrammingLanguage & WithVersion(const Aws::String &value)
Definition: PlatformProgrammingLanguage.h:112
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::SetName
void SetName(const Aws::String &value)
Definition: PlatformProgrammingLanguage.h:56
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::WithName
PlatformProgrammingLanguage & WithName(const Aws::String &value)
Definition: PlatformProgrammingLanguage.h:71
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: PlatformProgrammingLanguage.h:92
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::SetName
void SetName(Aws::String &&value)
Definition: PlatformProgrammingLanguage.h:61
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::SetVersion
void SetVersion(const char *value)
Definition: PlatformProgrammingLanguage.h:107
AWSString.h
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::PlatformProgrammingLanguage
PlatformProgrammingLanguage()
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::PlatformProgrammingLanguage
PlatformProgrammingLanguage(const Aws::Utils::Xml::XmlNode &xmlNode)
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage
Definition: PlatformProgrammingLanguage.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PlatformProgrammingLanguage.h:51
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::ElasticBeanstalk::Model::PlatformProgrammingLanguage::operator=
PlatformProgrammingLanguage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::PlatformProgrammingLanguage::GetVersion
const Aws::String & GetVersion() const
Definition: PlatformProgrammingLanguage.h:87