AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CpuOptions.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SnowDeviceManagement
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SNOWDEVICEMANAGEMENT_API CpuOptions();
34 AWS_SNOWDEVICEMANAGEMENT_API CpuOptions(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SNOWDEVICEMANAGEMENT_API CpuOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetCoreCount() const{ return m_coreCount; }
44 inline bool CoreCountHasBeenSet() const { return m_coreCountHasBeenSet; }
45 inline void SetCoreCount(int value) { m_coreCountHasBeenSet = true; m_coreCount = value; }
46 inline CpuOptions& WithCoreCount(int value) { SetCoreCount(value); return *this;}
48
50
53 inline int GetThreadsPerCore() const{ return m_threadsPerCore; }
54 inline bool ThreadsPerCoreHasBeenSet() const { return m_threadsPerCoreHasBeenSet; }
55 inline void SetThreadsPerCore(int value) { m_threadsPerCoreHasBeenSet = true; m_threadsPerCore = value; }
56 inline CpuOptions& WithThreadsPerCore(int value) { SetThreadsPerCore(value); return *this;}
58 private:
59
60 int m_coreCount;
61 bool m_coreCountHasBeenSet = false;
62
63 int m_threadsPerCore;
64 bool m_threadsPerCoreHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace SnowDeviceManagement
69} // namespace Aws
CpuOptions & WithThreadsPerCore(int value)
Definition CpuOptions.h:56
AWS_SNOWDEVICEMANAGEMENT_API CpuOptions()
AWS_SNOWDEVICEMANAGEMENT_API CpuOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SNOWDEVICEMANAGEMENT_API CpuOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue