AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingData.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/model/Asset.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
33 {
34 public:
35 AWS_REKOGNITION_API TrainingData();
36 AWS_REKOGNITION_API TrainingData(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API TrainingData& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<Asset>& GetAssets() const{ return m_assets; }
47 inline bool AssetsHasBeenSet() const { return m_assetsHasBeenSet; }
48 inline void SetAssets(const Aws::Vector<Asset>& value) { m_assetsHasBeenSet = true; m_assets = value; }
49 inline void SetAssets(Aws::Vector<Asset>&& value) { m_assetsHasBeenSet = true; m_assets = std::move(value); }
50 inline TrainingData& WithAssets(const Aws::Vector<Asset>& value) { SetAssets(value); return *this;}
51 inline TrainingData& WithAssets(Aws::Vector<Asset>&& value) { SetAssets(std::move(value)); return *this;}
52 inline TrainingData& AddAssets(const Asset& value) { m_assetsHasBeenSet = true; m_assets.push_back(value); return *this; }
53 inline TrainingData& AddAssets(Asset&& value) { m_assetsHasBeenSet = true; m_assets.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<Asset> m_assets;
58 bool m_assetsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Rekognition
63} // namespace Aws
TrainingData & AddAssets(const Asset &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingData & WithAssets(Aws::Vector< Asset > &&value)
AWS_REKOGNITION_API TrainingData(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Asset > & GetAssets() const
TrainingData & AddAssets(Asset &&value)
AWS_REKOGNITION_API TrainingData()
AWS_REKOGNITION_API TrainingData & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingData & WithAssets(const Aws::Vector< Asset > &value)
void SetAssets(Aws::Vector< Asset > &&value)
void SetAssets(const Aws::Vector< Asset > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue