AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BaselinePerformanceFactorsRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/autoscaling/model/CpuPerformanceFactorRequest.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
39 {
40 public:
41 AWS_AUTOSCALING_API BaselinePerformanceFactorsRequest() = default;
44
45 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
54 inline const CpuPerformanceFactorRequest& GetCpu() const { return m_cpu; }
55 inline bool CpuHasBeenSet() const { return m_cpuHasBeenSet; }
56 template<typename CpuT = CpuPerformanceFactorRequest>
57 void SetCpu(CpuT&& value) { m_cpuHasBeenSet = true; m_cpu = std::forward<CpuT>(value); }
58 template<typename CpuT = CpuPerformanceFactorRequest>
59 BaselinePerformanceFactorsRequest& WithCpu(CpuT&& value) { SetCpu(std::forward<CpuT>(value)); return *this;}
61 private:
62
64 bool m_cpuHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace AutoScaling
69} // namespace Aws
AWS_AUTOSCALING_API BaselinePerformanceFactorsRequest & 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 BaselinePerformanceFactorsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API BaselinePerformanceFactorsRequest()=default
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream