AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 EnvironmentTier& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
62 inline const Aws::String& GetType() const { return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 template<typename TypeT = Aws::String>
65 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
66 template<typename TypeT = Aws::String>
67 EnvironmentTier& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
69
71
77 inline const Aws::String& GetVersion() const { return m_version; }
78 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
79 template<typename VersionT = Aws::String>
80 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
81 template<typename VersionT = Aws::String>
82 EnvironmentTier& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
84 private:
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_type;
90 bool m_typeHasBeenSet = false;
91
92 Aws::String m_version;
93 bool m_versionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ElasticBeanstalk
98} // namespace Aws
AWS_ELASTICBEANSTALK_API EnvironmentTier & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API EnvironmentTier()=default
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 & WithVersion(VersionT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EnvironmentTier & WithName(NameT &&value)
EnvironmentTier & WithType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream