AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RuntimePlatform.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Batch
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BATCH_API RuntimePlatform() = default;
38 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
63 inline const Aws::String& GetOperatingSystemFamily() const { return m_operatingSystemFamily; }
64 inline bool OperatingSystemFamilyHasBeenSet() const { return m_operatingSystemFamilyHasBeenSet; }
65 template<typename OperatingSystemFamilyT = Aws::String>
66 void SetOperatingSystemFamily(OperatingSystemFamilyT&& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = std::forward<OperatingSystemFamilyT>(value); }
67 template<typename OperatingSystemFamilyT = Aws::String>
68 RuntimePlatform& WithOperatingSystemFamily(OperatingSystemFamilyT&& value) { SetOperatingSystemFamily(std::forward<OperatingSystemFamilyT>(value)); return *this;}
70
72
83 inline const Aws::String& GetCpuArchitecture() const { return m_cpuArchitecture; }
84 inline bool CpuArchitectureHasBeenSet() const { return m_cpuArchitectureHasBeenSet; }
85 template<typename CpuArchitectureT = Aws::String>
86 void SetCpuArchitecture(CpuArchitectureT&& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = std::forward<CpuArchitectureT>(value); }
87 template<typename CpuArchitectureT = Aws::String>
88 RuntimePlatform& WithCpuArchitecture(CpuArchitectureT&& value) { SetCpuArchitecture(std::forward<CpuArchitectureT>(value)); return *this;}
90 private:
91
92 Aws::String m_operatingSystemFamily;
93 bool m_operatingSystemFamilyHasBeenSet = false;
94
95 Aws::String m_cpuArchitecture;
96 bool m_cpuArchitectureHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Batch
101} // namespace Aws
const Aws::String & GetCpuArchitecture() const
RuntimePlatform & WithOperatingSystemFamily(OperatingSystemFamilyT &&value)
AWS_BATCH_API RuntimePlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
RuntimePlatform & WithCpuArchitecture(CpuArchitectureT &&value)
AWS_BATCH_API RuntimePlatform()=default
void SetCpuArchitecture(CpuArchitectureT &&value)
void SetOperatingSystemFamily(OperatingSystemFamilyT &&value)
AWS_BATCH_API RuntimePlatform(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOperatingSystemFamily() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue