AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PerformanceFactorReferenceRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_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 AutoScaling
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_AUTOSCALING_API PerformanceFactorReferenceRequest() = default;
42
43 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
69 inline const Aws::String& GetInstanceFamily() const { return m_instanceFamily; }
70 inline bool InstanceFamilyHasBeenSet() const { return m_instanceFamilyHasBeenSet; }
71 template<typename InstanceFamilyT = Aws::String>
72 void SetInstanceFamily(InstanceFamilyT&& value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily = std::forward<InstanceFamilyT>(value); }
73 template<typename InstanceFamilyT = Aws::String>
74 PerformanceFactorReferenceRequest& WithInstanceFamily(InstanceFamilyT&& value) { SetInstanceFamily(std::forward<InstanceFamilyT>(value)); return *this;}
76 private:
77
78 Aws::String m_instanceFamily;
79 bool m_instanceFamilyHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AutoScaling
84} // namespace Aws
AWS_AUTOSCALING_API PerformanceFactorReferenceRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
PerformanceFactorReferenceRequest & WithInstanceFamily(InstanceFamilyT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API PerformanceFactorReferenceRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API PerformanceFactorReferenceRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream