AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
DatasetSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/GroundTruthManifest.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Rekognition {
21namespace Model {
22
37 public:
38 AWS_REKOGNITION_API DatasetSource() = default;
39 AWS_REKOGNITION_API DatasetSource(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REKOGNITION_API DatasetSource& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
45 inline const GroundTruthManifest& GetGroundTruthManifest() const { return m_groundTruthManifest; }
46 inline bool GroundTruthManifestHasBeenSet() const { return m_groundTruthManifestHasBeenSet; }
47 template <typename GroundTruthManifestT = GroundTruthManifest>
48 void SetGroundTruthManifest(GroundTruthManifestT&& value) {
49 m_groundTruthManifestHasBeenSet = true;
50 m_groundTruthManifest = std::forward<GroundTruthManifestT>(value);
51 }
52 template <typename GroundTruthManifestT = GroundTruthManifest>
53 DatasetSource& WithGroundTruthManifest(GroundTruthManifestT&& value) {
54 SetGroundTruthManifest(std::forward<GroundTruthManifestT>(value));
55 return *this;
56 }
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) {
68 m_datasetArnHasBeenSet = true;
69 m_datasetArn = std::forward<DatasetArnT>(value);
70 }
71 template <typename DatasetArnT = Aws::String>
72 DatasetSource& WithDatasetArn(DatasetArnT&& value) {
73 SetDatasetArn(std::forward<DatasetArnT>(value));
74 return *this;
75 }
77 private:
78 GroundTruthManifest m_groundTruthManifest;
79 bool m_groundTruthManifestHasBeenSet = false;
80
81 Aws::String m_datasetArn;
82 bool m_datasetArnHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Rekognition
87} // 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