AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TargetPlatform.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TargetPlatformOs.h>
9#include <aws/sagemaker/model/TargetPlatformArch.h>
10#include <aws/sagemaker/model/TargetPlatformAccelerator.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_SAGEMAKER_API TargetPlatform() = default;
39 AWS_SAGEMAKER_API TargetPlatform(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline TargetPlatformOs GetOs() const { return m_os; }
53 inline bool OsHasBeenSet() const { return m_osHasBeenSet; }
54 inline void SetOs(TargetPlatformOs value) { m_osHasBeenSet = true; m_os = value; }
55 inline TargetPlatform& WithOs(TargetPlatformOs value) { SetOs(value); return *this;}
57
59
68 inline TargetPlatformArch GetArch() const { return m_arch; }
69 inline bool ArchHasBeenSet() const { return m_archHasBeenSet; }
70 inline void SetArch(TargetPlatformArch value) { m_archHasBeenSet = true; m_arch = value; }
71 inline TargetPlatform& WithArch(TargetPlatformArch value) { SetArch(value); return *this;}
73
75
83 inline TargetPlatformAccelerator GetAccelerator() const { return m_accelerator; }
84 inline bool AcceleratorHasBeenSet() const { return m_acceleratorHasBeenSet; }
85 inline void SetAccelerator(TargetPlatformAccelerator value) { m_acceleratorHasBeenSet = true; m_accelerator = value; }
88 private:
89
91 bool m_osHasBeenSet = false;
92
94 bool m_archHasBeenSet = false;
95
97 bool m_acceleratorHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SageMaker
102} // namespace Aws
TargetPlatform & WithOs(TargetPlatformOs value)
TargetPlatform & WithArch(TargetPlatformArch value)
void SetOs(TargetPlatformOs value)
AWS_SAGEMAKER_API TargetPlatform()=default
TargetPlatform & WithAccelerator(TargetPlatformAccelerator value)
AWS_SAGEMAKER_API TargetPlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetPlatformAccelerator GetAccelerator() const
void SetAccelerator(TargetPlatformAccelerator value)
AWS_SAGEMAKER_API TargetPlatform(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArch(TargetPlatformArch value)
TargetPlatformArch GetArch() const
Aws::Utils::Json::JsonValue JsonValue