AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PerformanceFactorReference.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
33 public:
34 AWS_EC2_API PerformanceFactorReference() = default;
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
75 inline const Aws::String& GetInstanceFamily() const { return m_instanceFamily; }
76 inline bool InstanceFamilyHasBeenSet() const { return m_instanceFamilyHasBeenSet; }
77 template <typename InstanceFamilyT = Aws::String>
78 void SetInstanceFamily(InstanceFamilyT&& value) {
79 m_instanceFamilyHasBeenSet = true;
80 m_instanceFamily = std::forward<InstanceFamilyT>(value);
81 }
82 template <typename InstanceFamilyT = Aws::String>
84 SetInstanceFamily(std::forward<InstanceFamilyT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_instanceFamily;
90 bool m_instanceFamilyHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace EC2
95} // 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