AWS SDK for C++  1.9.158
AWS SDK for C++
CPU.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace DeviceFarm
22 {
23 namespace Model
24 {
25 
33  {
34  public:
35  CPU();
39 
40 
44  inline const Aws::String& GetFrequency() const{ return m_frequency; }
45 
49  inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
50 
54  inline void SetFrequency(const Aws::String& value) { m_frequencyHasBeenSet = true; m_frequency = value; }
55 
59  inline void SetFrequency(Aws::String&& value) { m_frequencyHasBeenSet = true; m_frequency = std::move(value); }
60 
64  inline void SetFrequency(const char* value) { m_frequencyHasBeenSet = true; m_frequency.assign(value); }
65 
69  inline CPU& WithFrequency(const Aws::String& value) { SetFrequency(value); return *this;}
70 
74  inline CPU& WithFrequency(Aws::String&& value) { SetFrequency(std::move(value)); return *this;}
75 
79  inline CPU& WithFrequency(const char* value) { SetFrequency(value); return *this;}
80 
81 
85  inline const Aws::String& GetArchitecture() const{ return m_architecture; }
86 
90  inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
91 
95  inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; }
96 
100  inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
101 
105  inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); }
106 
110  inline CPU& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;}
111 
115  inline CPU& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;}
116 
120  inline CPU& WithArchitecture(const char* value) { SetArchitecture(value); return *this;}
121 
122 
127  inline double GetClock() const{ return m_clock; }
128 
133  inline bool ClockHasBeenSet() const { return m_clockHasBeenSet; }
134 
139  inline void SetClock(double value) { m_clockHasBeenSet = true; m_clock = value; }
140 
145  inline CPU& WithClock(double value) { SetClock(value); return *this;}
146 
147  private:
148 
149  Aws::String m_frequency;
150  bool m_frequencyHasBeenSet;
151 
152  Aws::String m_architecture;
153  bool m_architectureHasBeenSet;
154 
155  double m_clock;
156  bool m_clockHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace DeviceFarm
161 } // namespace Aws
Aws::DeviceFarm::Model::CPU::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DeviceFarm::Model::CPU::SetArchitecture
void SetArchitecture(const Aws::String &value)
Definition: CPU.h:95
Aws::DeviceFarm::Model::CPU::SetFrequency
void SetFrequency(const char *value)
Definition: CPU.h:64
Aws::DeviceFarm::Model::CPU::GetArchitecture
const Aws::String & GetArchitecture() const
Definition: CPU.h:85
Aws::DeviceFarm::Model::CPU::GetClock
double GetClock() const
Definition: CPU.h:127
Aws::DeviceFarm::Model::CPU::operator=
CPU & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::CPU::SetFrequency
void SetFrequency(const Aws::String &value)
Definition: CPU.h:54
Aws::DeviceFarm::Model::CPU::ArchitectureHasBeenSet
bool ArchitectureHasBeenSet() const
Definition: CPU.h:90
Aws::DeviceFarm::Model::CPU
Definition: CPU.h:33
Aws::DeviceFarm::Model::CPU::WithFrequency
CPU & WithFrequency(const Aws::String &value)
Definition: CPU.h:69
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::CPU::WithFrequency
CPU & WithFrequency(Aws::String &&value)
Definition: CPU.h:74
Aws::DeviceFarm::Model::CPU::WithArchitecture
CPU & WithArchitecture(const Aws::String &value)
Definition: CPU.h:110
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DeviceFarm::Model::CPU::GetFrequency
const Aws::String & GetFrequency() const
Definition: CPU.h:44
Aws::DeviceFarm::Model::CPU::WithFrequency
CPU & WithFrequency(const char *value)
Definition: CPU.h:79
Aws::DeviceFarm::Model::CPU::FrequencyHasBeenSet
bool FrequencyHasBeenSet() const
Definition: CPU.h:49
Aws::DeviceFarm::Model::CPU::SetArchitecture
void SetArchitecture(Aws::String &&value)
Definition: CPU.h:100
Aws::DeviceFarm::Model::CPU::CPU
CPU()
Aws::DeviceFarm::Model::CPU::SetFrequency
void SetFrequency(Aws::String &&value)
Definition: CPU.h:59
Aws::DeviceFarm::Model::CPU::WithArchitecture
CPU & WithArchitecture(const char *value)
Definition: CPU.h:120
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::CPU::SetArchitecture
void SetArchitecture(const char *value)
Definition: CPU.h:105
Aws::DeviceFarm::Model::CPU::SetClock
void SetClock(double value)
Definition: CPU.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::CPU::WithClock
CPU & WithClock(double value)
Definition: CPU.h:145
Aws::DeviceFarm::Model::CPU::ClockHasBeenSet
bool ClockHasBeenSet() const
Definition: CPU.h:133
Aws::DeviceFarm::Model::CPU::CPU
CPU(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::CPU::WithArchitecture
CPU & WithArchitecture(Aws::String &&value)
Definition: CPU.h:115