AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
RuntimePlatform.h
Go to the documentation of this file.
1
6#pragma once
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:
43
44
51 inline const CPUArchitecture& GetCpuArchitecture() const{ return m_cpuArchitecture; }
52
59 inline bool CpuArchitectureHasBeenSet() const { return m_cpuArchitectureHasBeenSet; }
60
67 inline void SetCpuArchitecture(const CPUArchitecture& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = value; }
68
75 inline void SetCpuArchitecture(CPUArchitecture&& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = std::move(value); }
76
83 inline RuntimePlatform& WithCpuArchitecture(const CPUArchitecture& value) { SetCpuArchitecture(value); return *this;}
84
91 inline RuntimePlatform& WithCpuArchitecture(CPUArchitecture&& value) { SetCpuArchitecture(std::move(value)); return *this;}
92
93
97 inline const OSFamily& GetOperatingSystemFamily() const{ return m_operatingSystemFamily; }
98
102 inline bool OperatingSystemFamilyHasBeenSet() const { return m_operatingSystemFamilyHasBeenSet; }
103
107 inline void SetOperatingSystemFamily(const OSFamily& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = value; }
108
112 inline void SetOperatingSystemFamily(OSFamily&& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = std::move(value); }
113
117 inline RuntimePlatform& WithOperatingSystemFamily(const OSFamily& value) { SetOperatingSystemFamily(value); return *this;}
118
122 inline RuntimePlatform& WithOperatingSystemFamily(OSFamily&& value) { SetOperatingSystemFamily(std::move(value)); return *this;}
123
124 private:
125
126 CPUArchitecture m_cpuArchitecture;
127 bool m_cpuArchitectureHasBeenSet = false;
128
129 OSFamily m_operatingSystemFamily;
130 bool m_operatingSystemFamilyHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace ECS
135} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
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)