AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RuntimePlatform.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/CPUArchitecture.h>
9#include <aws/ecs/model/OSFamily.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ECS {
21namespace Model {
22
33 public:
34 AWS_ECS_API RuntimePlatform() = default;
38
40
46 inline CPUArchitecture GetCpuArchitecture() const { return m_cpuArchitecture; }
47 inline bool CpuArchitectureHasBeenSet() const { return m_cpuArchitectureHasBeenSet; }
49 m_cpuArchitectureHasBeenSet = true;
50 m_cpuArchitecture = value;
51 }
53 SetCpuArchitecture(value);
54 return *this;
55 }
57
59
62 inline OSFamily GetOperatingSystemFamily() const { return m_operatingSystemFamily; }
63 inline bool OperatingSystemFamilyHasBeenSet() const { return m_operatingSystemFamilyHasBeenSet; }
65 m_operatingSystemFamilyHasBeenSet = true;
66 m_operatingSystemFamily = value;
67 }
70 return *this;
71 }
73 private:
75
76 OSFamily m_operatingSystemFamily{OSFamily::NOT_SET};
77 bool m_cpuArchitectureHasBeenSet = false;
78 bool m_operatingSystemFamilyHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace ECS
83} // namespace Aws
void SetCpuArchitecture(CPUArchitecture value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
OSFamily GetOperatingSystemFamily() const
AWS_ECS_API RuntimePlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperatingSystemFamily(OSFamily value)
RuntimePlatform & WithCpuArchitecture(CPUArchitecture value)
RuntimePlatform & WithOperatingSystemFamily(OSFamily value)
AWS_ECS_API RuntimePlatform()=default
AWS_ECS_API RuntimePlatform(Aws::Utils::Json::JsonView jsonValue)
CPUArchitecture GetCpuArchitecture() const
Aws::Utils::Json::JsonValue JsonValue