AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_ECS_API RuntimePlatform();
43
44
46
52 inline const CPUArchitecture& GetCpuArchitecture() const{ return m_cpuArchitecture; }
53 inline bool CpuArchitectureHasBeenSet() const { return m_cpuArchitectureHasBeenSet; }
54 inline void SetCpuArchitecture(const CPUArchitecture& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = value; }
55 inline void SetCpuArchitecture(CPUArchitecture&& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = std::move(value); }
56 inline RuntimePlatform& WithCpuArchitecture(const CPUArchitecture& value) { SetCpuArchitecture(value); return *this;}
57 inline RuntimePlatform& WithCpuArchitecture(CPUArchitecture&& value) { SetCpuArchitecture(std::move(value)); return *this;}
59
61
64 inline const OSFamily& GetOperatingSystemFamily() const{ return m_operatingSystemFamily; }
65 inline bool OperatingSystemFamilyHasBeenSet() const { return m_operatingSystemFamilyHasBeenSet; }
66 inline void SetOperatingSystemFamily(const OSFamily& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = value; }
67 inline void SetOperatingSystemFamily(OSFamily&& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = std::move(value); }
68 inline RuntimePlatform& WithOperatingSystemFamily(const OSFamily& value) { SetOperatingSystemFamily(value); return *this;}
69 inline RuntimePlatform& WithOperatingSystemFamily(OSFamily&& value) { SetOperatingSystemFamily(std::move(value)); return *this;}
71 private:
72
73 CPUArchitecture m_cpuArchitecture;
74 bool m_cpuArchitectureHasBeenSet = false;
75
76 OSFamily m_operatingSystemFamily;
77 bool m_operatingSystemFamilyHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ECS
82} // namespace Aws
void SetCpuArchitecture(const CPUArchitecture &value)
RuntimePlatform & WithCpuArchitecture(const CPUArchitecture &value)
const CPUArchitecture & GetCpuArchitecture() const
void SetOperatingSystemFamily(OSFamily &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCpuArchitecture(CPUArchitecture &&value)
AWS_ECS_API RuntimePlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
RuntimePlatform & WithOperatingSystemFamily(const OSFamily &value)
void SetOperatingSystemFamily(const OSFamily &value)
RuntimePlatform & WithCpuArchitecture(CPUArchitecture &&value)
AWS_ECS_API RuntimePlatform(Aws::Utils::Json::JsonView jsonValue)
const OSFamily & GetOperatingSystemFamily() const
RuntimePlatform & WithOperatingSystemFamily(OSFamily &&value)
Aws::Utils::Json::JsonValue JsonValue