AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Asset.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/GroundTruthManifest.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition {
20namespace Model {
21
29class Asset {
30 public:
31 AWS_REKOGNITION_API Asset() = default;
32 AWS_REKOGNITION_API Asset(Aws::Utils::Json::JsonView jsonValue);
33 AWS_REKOGNITION_API Asset& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const GroundTruthManifest& GetGroundTruthManifest() const { return m_groundTruthManifest; }
39 inline bool GroundTruthManifestHasBeenSet() const { return m_groundTruthManifestHasBeenSet; }
40 template <typename GroundTruthManifestT = GroundTruthManifest>
41 void SetGroundTruthManifest(GroundTruthManifestT&& value) {
42 m_groundTruthManifestHasBeenSet = true;
43 m_groundTruthManifest = std::forward<GroundTruthManifestT>(value);
44 }
45 template <typename GroundTruthManifestT = GroundTruthManifest>
46 Asset& WithGroundTruthManifest(GroundTruthManifestT&& value) {
47 SetGroundTruthManifest(std::forward<GroundTruthManifestT>(value));
48 return *this;
49 }
51 private:
52 GroundTruthManifest m_groundTruthManifest;
53 bool m_groundTruthManifestHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Rekognition
58} // namespace Aws
bool GroundTruthManifestHasBeenSet() const
Definition Asset.h:39
const GroundTruthManifest & GetGroundTruthManifest() const
Definition Asset.h:38
void SetGroundTruthManifest(GroundTruthManifestT &&value)
Definition Asset.h:41
AWS_REKOGNITION_API Asset()=default
AWS_REKOGNITION_API Asset & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API Asset(Aws::Utils::Json::JsonView jsonValue)
Asset & WithGroundTruthManifest(GroundTruthManifestT &&value)
Definition Asset.h:46
Aws::Utils::Json::JsonValue JsonValue