AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BaselinePerformanceFactorsRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/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 EC2
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_EC2_API BaselinePerformanceFactorsRequest() = default;
44
45 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_EC2_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 EC2
69} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
BaselinePerformanceFactorsRequest & WithCpu(CpuT &&value)
AWS_EC2_API BaselinePerformanceFactorsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API BaselinePerformanceFactorsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream