AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DatasetSource.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/GroundTruthManifest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_REKOGNITION_API DatasetSource() = default;
44 AWS_REKOGNITION_API DatasetSource(Aws::Utils::Json::JsonView jsonValue);
45 AWS_REKOGNITION_API DatasetSource& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
51 inline const GroundTruthManifest& GetGroundTruthManifest() const { return m_groundTruthManifest; }
52 inline bool GroundTruthManifestHasBeenSet() const { return m_groundTruthManifestHasBeenSet; }
53 template<typename GroundTruthManifestT = GroundTruthManifest>
54 void SetGroundTruthManifest(GroundTruthManifestT&& value) { m_groundTruthManifestHasBeenSet = true; m_groundTruthManifest = std::forward<GroundTruthManifestT>(value); }
55 template<typename GroundTruthManifestT = GroundTruthManifest>
56 DatasetSource& WithGroundTruthManifest(GroundTruthManifestT&& value) { SetGroundTruthManifest(std::forward<GroundTruthManifestT>(value)); return *this;}
58
60
64 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
65 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
66 template<typename DatasetArnT = Aws::String>
67 void SetDatasetArn(DatasetArnT&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::forward<DatasetArnT>(value); }
68 template<typename DatasetArnT = Aws::String>
69 DatasetSource& WithDatasetArn(DatasetArnT&& value) { SetDatasetArn(std::forward<DatasetArnT>(value)); return *this;}
71 private:
72
73 GroundTruthManifest m_groundTruthManifest;
74 bool m_groundTruthManifestHasBeenSet = false;
75
76 Aws::String m_datasetArn;
77 bool m_datasetArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Rekognition
82} // namespace Aws
AWS_REKOGNITION_API DatasetSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatasetArn() const
AWS_REKOGNITION_API DatasetSource()=default
AWS_REKOGNITION_API DatasetSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatasetArn(DatasetArnT &&value)
const GroundTruthManifest & GetGroundTruthManifest() const
void SetGroundTruthManifest(GroundTruthManifestT &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetSource & WithGroundTruthManifest(GroundTruthManifestT &&value)
DatasetSource & WithDatasetArn(DatasetArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue