AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TargetPlatform.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/lookoutvision/model/TargetPlatformOs.h>
9#include <aws/lookoutvision/model/TargetPlatformArch.h>
10#include <aws/lookoutvision/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 LookoutforVision
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LOOKOUTFORVISION_API TargetPlatform() = default;
38 AWS_LOOKOUTFORVISION_API TargetPlatform(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTFORVISION_API TargetPlatform& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline TargetPlatformOs GetOs() const { return m_os; }
49 inline bool OsHasBeenSet() const { return m_osHasBeenSet; }
50 inline void SetOs(TargetPlatformOs value) { m_osHasBeenSet = true; m_os = value; }
51 inline TargetPlatform& WithOs(TargetPlatformOs value) { SetOs(value); return *this;}
53
55
60 inline TargetPlatformArch GetArch() const { return m_arch; }
61 inline bool ArchHasBeenSet() const { return m_archHasBeenSet; }
62 inline void SetArch(TargetPlatformArch value) { m_archHasBeenSet = true; m_arch = value; }
63 inline TargetPlatform& WithArch(TargetPlatformArch value) { SetArch(value); return *this;}
65
67
80 inline TargetPlatformAccelerator GetAccelerator() const { return m_accelerator; }
81 inline bool AcceleratorHasBeenSet() const { return m_acceleratorHasBeenSet; }
82 inline void SetAccelerator(TargetPlatformAccelerator value) { m_acceleratorHasBeenSet = true; m_accelerator = value; }
85 private:
86
88 bool m_osHasBeenSet = false;
89
91 bool m_archHasBeenSet = false;
92
94 bool m_acceleratorHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LookoutforVision
99} // namespace Aws
void SetArch(TargetPlatformArch value)
AWS_LOOKOUTFORVISION_API TargetPlatform(Aws::Utils::Json::JsonView jsonValue)
TargetPlatform & WithOs(TargetPlatformOs value)
AWS_LOOKOUTFORVISION_API TargetPlatform()=default
TargetPlatform & WithArch(TargetPlatformArch value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccelerator(TargetPlatformAccelerator value)
TargetPlatformAccelerator GetAccelerator() const
TargetPlatform & WithAccelerator(TargetPlatformAccelerator value)
AWS_LOOKOUTFORVISION_API TargetPlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue