AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PerformanceFactorReference.h
1
6#pragma once
7#include <aws/ec2/EC2_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 EC2
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_EC2_API PerformanceFactorReference() = default;
42
43 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
81 inline const Aws::String& GetInstanceFamily() const { return m_instanceFamily; }
82 inline bool InstanceFamilyHasBeenSet() const { return m_instanceFamilyHasBeenSet; }
83 template<typename InstanceFamilyT = Aws::String>
84 void SetInstanceFamily(InstanceFamilyT&& value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily = std::forward<InstanceFamilyT>(value); }
85 template<typename InstanceFamilyT = Aws::String>
86 PerformanceFactorReference& WithInstanceFamily(InstanceFamilyT&& value) { SetInstanceFamily(std::forward<InstanceFamilyT>(value)); return *this;}
88 private:
89
90 Aws::String m_instanceFamily;
91 bool m_instanceFamilyHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace EC2
96} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PerformanceFactorReference & WithInstanceFamily(InstanceFamilyT &&value)
AWS_EC2_API PerformanceFactorReference(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API PerformanceFactorReference()=default
AWS_EC2_API PerformanceFactorReference & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream