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/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();
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 inline void SetOperatingSystemFamily(const Aws::String& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = value; }
66 inline void SetOperatingSystemFamily(Aws::String&& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = std::move(value); }
67 inline void SetOperatingSystemFamily(const char* value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily.assign(value); }
69 inline RuntimePlatform& WithOperatingSystemFamily(Aws::String&& value) { SetOperatingSystemFamily(std::move(value)); return *this;}
70 inline RuntimePlatform& WithOperatingSystemFamily(const char* value) { SetOperatingSystemFamily(value); return *this;}
72
74
85 inline const Aws::String& GetCpuArchitecture() const{ return m_cpuArchitecture; }
86 inline bool CpuArchitectureHasBeenSet() const { return m_cpuArchitectureHasBeenSet; }
87 inline void SetCpuArchitecture(const Aws::String& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = value; }
88 inline void SetCpuArchitecture(Aws::String&& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = std::move(value); }
89 inline void SetCpuArchitecture(const char* value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture.assign(value); }
90 inline RuntimePlatform& WithCpuArchitecture(const Aws::String& value) { SetCpuArchitecture(value); return *this;}
91 inline RuntimePlatform& WithCpuArchitecture(Aws::String&& value) { SetCpuArchitecture(std::move(value)); return *this;}
92 inline RuntimePlatform& WithCpuArchitecture(const char* value) { SetCpuArchitecture(value); return *this;}
94 private:
95
96 Aws::String m_operatingSystemFamily;
97 bool m_operatingSystemFamilyHasBeenSet = false;
98
99 Aws::String m_cpuArchitecture;
100 bool m_cpuArchitectureHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Batch
105} // namespace Aws
void SetOperatingSystemFamily(const char *value)
const Aws::String & GetCpuArchitecture() const
void SetCpuArchitecture(const Aws::String &value)
AWS_BATCH_API RuntimePlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
RuntimePlatform & WithCpuArchitecture(Aws::String &&value)
void SetOperatingSystemFamily(const Aws::String &value)
void SetCpuArchitecture(const char *value)
RuntimePlatform & WithCpuArchitecture(const char *value)
void SetOperatingSystemFamily(Aws::String &&value)
RuntimePlatform & WithOperatingSystemFamily(Aws::String &&value)
RuntimePlatform & WithCpuArchitecture(const Aws::String &value)
RuntimePlatform & WithOperatingSystemFamily(const Aws::String &value)
AWS_BATCH_API RuntimePlatform(Aws::Utils::Json::JsonView jsonValue)
void SetCpuArchitecture(Aws::String &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOperatingSystemFamily() const
RuntimePlatform & WithOperatingSystemFamily(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue