AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroundTruthManifest(const GroundTruthManifest& value) { m_groundTruthManifestHasBeenSet = true; m_groundTruthManifest = value; }
54 inline void SetGroundTruthManifest(GroundTruthManifest&& value) { m_groundTruthManifestHasBeenSet = true; m_groundTruthManifest = std::move(value); }
56 inline DatasetSource& WithGroundTruthManifest(GroundTruthManifest&& value) { SetGroundTruthManifest(std::move(value)); return *this;}
58
60
64 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
65 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
66 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
67 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
68 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
69 inline DatasetSource& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
70 inline DatasetSource& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
71 inline DatasetSource& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
73 private:
74
75 GroundTruthManifest m_groundTruthManifest;
76 bool m_groundTruthManifestHasBeenSet = false;
77
78 Aws::String m_datasetArn;
79 bool m_datasetArnHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Rekognition
84} // namespace Aws
DatasetSource & WithGroundTruthManifest(const GroundTruthManifest &value)
AWS_REKOGNITION_API DatasetSource(Aws::Utils::Json::JsonView jsonValue)
void SetGroundTruthManifest(GroundTruthManifest &&value)
const Aws::String & GetDatasetArn() const
AWS_REKOGNITION_API DatasetSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetSource & WithDatasetArn(Aws::String &&value)
DatasetSource & WithGroundTruthManifest(GroundTruthManifest &&value)
DatasetSource & WithDatasetArn(const Aws::String &value)
void SetGroundTruthManifest(const GroundTruthManifest &value)
const GroundTruthManifest & GetGroundTruthManifest() const
void SetDatasetArn(const char *value)
DatasetSource & WithDatasetArn(const char *value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatasetArn(Aws::String &&value)
void SetDatasetArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue