AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CPU.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DeviceFarm
22{
23namespace Model
24{
25
32 class CPU
33 {
34 public:
35 AWS_DEVICEFARM_API CPU();
36 AWS_DEVICEFARM_API CPU(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DEVICEFARM_API CPU& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFrequency() const{ return m_frequency; }
46 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
47 inline void SetFrequency(const Aws::String& value) { m_frequencyHasBeenSet = true; m_frequency = value; }
48 inline void SetFrequency(Aws::String&& value) { m_frequencyHasBeenSet = true; m_frequency = std::move(value); }
49 inline void SetFrequency(const char* value) { m_frequencyHasBeenSet = true; m_frequency.assign(value); }
50 inline CPU& WithFrequency(const Aws::String& value) { SetFrequency(value); return *this;}
51 inline CPU& WithFrequency(Aws::String&& value) { SetFrequency(std::move(value)); return *this;}
52 inline CPU& WithFrequency(const char* value) { SetFrequency(value); return *this;}
54
56
59 inline const Aws::String& GetArchitecture() const{ return m_architecture; }
60 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
61 inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; }
62 inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
63 inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); }
64 inline CPU& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;}
65 inline CPU& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;}
66 inline CPU& WithArchitecture(const char* value) { SetArchitecture(value); return *this;}
68
70
74 inline double GetClock() const{ return m_clock; }
75 inline bool ClockHasBeenSet() const { return m_clockHasBeenSet; }
76 inline void SetClock(double value) { m_clockHasBeenSet = true; m_clock = value; }
77 inline CPU& WithClock(double value) { SetClock(value); return *this;}
79 private:
80
81 Aws::String m_frequency;
82 bool m_frequencyHasBeenSet = false;
83
84 Aws::String m_architecture;
85 bool m_architectureHasBeenSet = false;
86
87 double m_clock;
88 bool m_clockHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DeviceFarm
93} // namespace Aws
CPU & WithFrequency(const Aws::String &value)
Definition CPU.h:50
AWS_DEVICEFARM_API CPU & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ClockHasBeenSet() const
Definition CPU.h:75
void SetFrequency(const Aws::String &value)
Definition CPU.h:47
void SetArchitecture(Aws::String &&value)
Definition CPU.h:62
void SetArchitecture(const char *value)
Definition CPU.h:63
CPU & WithFrequency(Aws::String &&value)
Definition CPU.h:51
CPU & WithArchitecture(const Aws::String &value)
Definition CPU.h:64
bool ArchitectureHasBeenSet() const
Definition CPU.h:60
CPU & WithArchitecture(const char *value)
Definition CPU.h:66
double GetClock() const
Definition CPU.h:74
void SetArchitecture(const Aws::String &value)
Definition CPU.h:61
CPU & WithClock(double value)
Definition CPU.h:77
const Aws::String & GetFrequency() const
Definition CPU.h:45
bool FrequencyHasBeenSet() const
Definition CPU.h:46
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFrequency(const char *value)
Definition CPU.h:49
void SetFrequency(Aws::String &&value)
Definition CPU.h:48
void SetClock(double value)
Definition CPU.h:76
AWS_DEVICEFARM_API CPU(Aws::Utils::Json::JsonView jsonValue)
CPU & WithFrequency(const char *value)
Definition CPU.h:52
CPU & WithArchitecture(Aws::String &&value)
Definition CPU.h:65
const Aws::String & GetArchitecture() const
Definition CPU.h:59
AWS_DEVICEFARM_API CPU()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue