AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const TargetPlatformOs& GetOs() const{ return m_os; }
49 inline bool OsHasBeenSet() const { return m_osHasBeenSet; }
50 inline void SetOs(const TargetPlatformOs& value) { m_osHasBeenSet = true; m_os = value; }
51 inline void SetOs(TargetPlatformOs&& value) { m_osHasBeenSet = true; m_os = std::move(value); }
52 inline TargetPlatform& WithOs(const TargetPlatformOs& value) { SetOs(value); return *this;}
53 inline TargetPlatform& WithOs(TargetPlatformOs&& value) { SetOs(std::move(value)); return *this;}
55
57
62 inline const TargetPlatformArch& GetArch() const{ return m_arch; }
63 inline bool ArchHasBeenSet() const { return m_archHasBeenSet; }
64 inline void SetArch(const TargetPlatformArch& value) { m_archHasBeenSet = true; m_arch = value; }
65 inline void SetArch(TargetPlatformArch&& value) { m_archHasBeenSet = true; m_arch = std::move(value); }
66 inline TargetPlatform& WithArch(const TargetPlatformArch& value) { SetArch(value); return *this;}
67 inline TargetPlatform& WithArch(TargetPlatformArch&& value) { SetArch(std::move(value)); return *this;}
69
71
84 inline const TargetPlatformAccelerator& GetAccelerator() const{ return m_accelerator; }
85 inline bool AcceleratorHasBeenSet() const { return m_acceleratorHasBeenSet; }
86 inline void SetAccelerator(const TargetPlatformAccelerator& value) { m_acceleratorHasBeenSet = true; m_accelerator = value; }
87 inline void SetAccelerator(TargetPlatformAccelerator&& value) { m_acceleratorHasBeenSet = true; m_accelerator = std::move(value); }
88 inline TargetPlatform& WithAccelerator(const TargetPlatformAccelerator& value) { SetAccelerator(value); return *this;}
89 inline TargetPlatform& WithAccelerator(TargetPlatformAccelerator&& value) { SetAccelerator(std::move(value)); return *this;}
91 private:
92
94 bool m_osHasBeenSet = false;
95
96 TargetPlatformArch m_arch;
97 bool m_archHasBeenSet = false;
98
99 TargetPlatformAccelerator m_accelerator;
100 bool m_acceleratorHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace LookoutforVision
105} // namespace Aws
const TargetPlatformArch & GetArch() const
TargetPlatform & WithOs(TargetPlatformOs &&value)
AWS_LOOKOUTFORVISION_API TargetPlatform(Aws::Utils::Json::JsonView jsonValue)
void SetOs(const TargetPlatformOs &value)
TargetPlatform & WithAccelerator(TargetPlatformAccelerator &&value)
TargetPlatform & WithAccelerator(const TargetPlatformAccelerator &value)
void SetOs(TargetPlatformOs &&value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArch(const TargetPlatformArch &value)
void SetAccelerator(const TargetPlatformAccelerator &value)
void SetArch(TargetPlatformArch &&value)
void SetAccelerator(TargetPlatformAccelerator &&value)
const TargetPlatformAccelerator & GetAccelerator() const
const TargetPlatformOs & GetOs() const
TargetPlatform & WithOs(const TargetPlatformOs &value)
TargetPlatform & WithArch(TargetPlatformArch &&value)
TargetPlatform & WithArch(const TargetPlatformArch &value)
AWS_LOOKOUTFORVISION_API TargetPlatform()
AWS_LOOKOUTFORVISION_API TargetPlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue