AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
29 public:
30 AWS_BATCH_API RuntimePlatform() = default;
33 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
57 inline const Aws::String& GetOperatingSystemFamily() const { return m_operatingSystemFamily; }
58 inline bool OperatingSystemFamilyHasBeenSet() const { return m_operatingSystemFamilyHasBeenSet; }
59 template <typename OperatingSystemFamilyT = Aws::String>
60 void SetOperatingSystemFamily(OperatingSystemFamilyT&& value) {
61 m_operatingSystemFamilyHasBeenSet = true;
62 m_operatingSystemFamily = std::forward<OperatingSystemFamilyT>(value);
63 }
64 template <typename OperatingSystemFamilyT = Aws::String>
65 RuntimePlatform& WithOperatingSystemFamily(OperatingSystemFamilyT&& value) {
66 SetOperatingSystemFamily(std::forward<OperatingSystemFamilyT>(value));
67 return *this;
68 }
70
72
82 inline const Aws::String& GetCpuArchitecture() const { return m_cpuArchitecture; }
83 inline bool CpuArchitectureHasBeenSet() const { return m_cpuArchitectureHasBeenSet; }
84 template <typename CpuArchitectureT = Aws::String>
85 void SetCpuArchitecture(CpuArchitectureT&& value) {
86 m_cpuArchitectureHasBeenSet = true;
87 m_cpuArchitecture = std::forward<CpuArchitectureT>(value);
88 }
89 template <typename CpuArchitectureT = Aws::String>
90 RuntimePlatform& WithCpuArchitecture(CpuArchitectureT&& value) {
91 SetCpuArchitecture(std::forward<CpuArchitectureT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_operatingSystemFamily;
97
98 Aws::String m_cpuArchitecture;
99 bool m_operatingSystemFamilyHasBeenSet = false;
100 bool m_cpuArchitectureHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Batch
105} // 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