AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentTier.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_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 ElasticBeanstalk
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ELASTICBEANSTALK_API EnvironmentTier();
35 AWS_ELASTICBEANSTALK_API EnvironmentTier(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ELASTICBEANSTALK_API EnvironmentTier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline EnvironmentTier& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline EnvironmentTier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline EnvironmentTier& WithName(const char* value) { SetName(value); return *this;}
57
59
64 inline const Aws::String& GetType() const{ return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
67 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
68 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
69 inline EnvironmentTier& WithType(const Aws::String& value) { SetType(value); return *this;}
70 inline EnvironmentTier& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
71 inline EnvironmentTier& WithType(const char* value) { SetType(value); return *this;}
73
75
81 inline const Aws::String& GetVersion() const{ return m_version; }
82 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
83 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
84 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
85 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
86 inline EnvironmentTier& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
87 inline EnvironmentTier& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
88 inline EnvironmentTier& WithVersion(const char* value) { SetVersion(value); return *this;}
90 private:
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 Aws::String m_type;
96 bool m_typeHasBeenSet = false;
97
98 Aws::String m_version;
99 bool m_versionHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ElasticBeanstalk
104} // namespace Aws
EnvironmentTier & WithType(Aws::String &&value)
EnvironmentTier & WithType(const char *value)
AWS_ELASTICBEANSTALK_API EnvironmentTier & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EnvironmentTier & WithVersion(const Aws::String &value)
EnvironmentTier & WithVersion(const char *value)
EnvironmentTier & WithName(Aws::String &&value)
AWS_ELASTICBEANSTALK_API EnvironmentTier(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EnvironmentTier & WithName(const char *value)
EnvironmentTier & WithType(const Aws::String &value)
void SetVersion(const Aws::String &value)
EnvironmentTier & WithName(const Aws::String &value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API EnvironmentTier()
EnvironmentTier & WithVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream