AWS SDK for C++  1.9.158
AWS SDK for C++
EnvironmentTier.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 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
54  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 
61  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 
68  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 
75  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 
82  inline EnvironmentTier& WithName(const Aws::String& value) { SetName(value); return *this;}
83 
89  inline EnvironmentTier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
90 
96  inline EnvironmentTier& WithName(const char* value) { SetName(value); return *this;}
97 
98 
104  inline const Aws::String& GetType() const{ return m_type; }
105 
111  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
112 
118  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
119 
125  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
126 
132  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
133 
139  inline EnvironmentTier& WithType(const Aws::String& value) { SetType(value); return *this;}
140 
146  inline EnvironmentTier& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
147 
153  inline EnvironmentTier& WithType(const char* value) { SetType(value); return *this;}
154 
155 
162  inline const Aws::String& GetVersion() const{ return m_version; }
163 
170  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
171 
178  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
179 
186  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
187 
194  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
195 
202  inline EnvironmentTier& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
203 
210  inline EnvironmentTier& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
211 
218  inline EnvironmentTier& WithVersion(const char* value) { SetVersion(value); return *this;}
219 
220  private:
221 
222  Aws::String m_name;
223  bool m_nameHasBeenSet;
224 
225  Aws::String m_type;
226  bool m_typeHasBeenSet;
227 
228  Aws::String m_version;
229  bool m_versionHasBeenSet;
230  };
231 
232 } // namespace Model
233 } // namespace ElasticBeanstalk
234 } // namespace Aws
Aws::ElasticBeanstalk::Model::EnvironmentTier::operator=
EnvironmentTier & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithType
EnvironmentTier & WithType(const Aws::String &value)
Definition: EnvironmentTier.h:139
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetType
void SetType(const char *value)
Definition: EnvironmentTier.h:132
Aws::ElasticBeanstalk::Model::EnvironmentTier::NameHasBeenSet
bool NameHasBeenSet() const
Definition: EnvironmentTier.h:54
Aws::ElasticBeanstalk::Model::EnvironmentTier::GetVersion
const Aws::String & GetVersion() const
Definition: EnvironmentTier.h:162
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetType
void SetType(const Aws::String &value)
Definition: EnvironmentTier.h:118
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetName
void SetName(Aws::String &&value)
Definition: EnvironmentTier.h:68
Aws::ElasticBeanstalk::Model::EnvironmentTier::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: EnvironmentTier.h:170
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetVersion
void SetVersion(Aws::String &&value)
Definition: EnvironmentTier.h:186
Aws::ElasticBeanstalk::Model::EnvironmentTier::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetType
void SetType(Aws::String &&value)
Definition: EnvironmentTier.h:125
Aws::ElasticBeanstalk::Model::EnvironmentTier::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::EnvironmentTier::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: EnvironmentTier.h:111
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::EnvironmentTier
Definition: EnvironmentTier.h:32
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithName
EnvironmentTier & WithName(Aws::String &&value)
Definition: EnvironmentTier.h:89
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithVersion
EnvironmentTier & WithVersion(const char *value)
Definition: EnvironmentTier.h:218
AWSString.h
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetVersion
void SetVersion(const Aws::String &value)
Definition: EnvironmentTier.h:178
Aws::ElasticBeanstalk::Model::EnvironmentTier::EnvironmentTier
EnvironmentTier(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::EnvironmentTier::GetType
const Aws::String & GetType() const
Definition: EnvironmentTier.h:104
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithVersion
EnvironmentTier & WithVersion(Aws::String &&value)
Definition: EnvironmentTier.h:210
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithVersion
EnvironmentTier & WithVersion(const Aws::String &value)
Definition: EnvironmentTier.h:202
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetVersion
void SetVersion(const char *value)
Definition: EnvironmentTier.h:194
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetName
void SetName(const char *value)
Definition: EnvironmentTier.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::EnvironmentTier::SetName
void SetName(const Aws::String &value)
Definition: EnvironmentTier.h:61
Aws::ElasticBeanstalk::Model::EnvironmentTier::EnvironmentTier
EnvironmentTier()
Aws::ElasticBeanstalk::Model::EnvironmentTier::GetName
const Aws::String & GetName() const
Definition: EnvironmentTier.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithName
EnvironmentTier & WithName(const Aws::String &value)
Definition: EnvironmentTier.h:82
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithType
EnvironmentTier & WithType(const char *value)
Definition: EnvironmentTier.h:153
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithName
EnvironmentTier & WithName(const char *value)
Definition: EnvironmentTier.h:96
Aws::ElasticBeanstalk::Model::EnvironmentTier::WithType
EnvironmentTier & WithType(Aws::String &&value)
Definition: EnvironmentTier.h:146