AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidationData.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
42 {
43 public:
44 AWS_REKOGNITION_API ValidationData();
45 AWS_REKOGNITION_API ValidationData(Aws::Utils::Json::JsonView jsonValue);
46 AWS_REKOGNITION_API ValidationData& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::Vector<Asset>& GetAssets() const{ return m_assets; }
55 inline bool AssetsHasBeenSet() const { return m_assetsHasBeenSet; }
56 inline void SetAssets(const Aws::Vector<Asset>& value) { m_assetsHasBeenSet = true; m_assets = value; }
57 inline void SetAssets(Aws::Vector<Asset>&& value) { m_assetsHasBeenSet = true; m_assets = std::move(value); }
58 inline ValidationData& WithAssets(const Aws::Vector<Asset>& value) { SetAssets(value); return *this;}
59 inline ValidationData& WithAssets(Aws::Vector<Asset>&& value) { SetAssets(std::move(value)); return *this;}
60 inline ValidationData& AddAssets(const Asset& value) { m_assetsHasBeenSet = true; m_assets.push_back(value); return *this; }
61 inline ValidationData& AddAssets(Asset&& value) { m_assetsHasBeenSet = true; m_assets.push_back(std::move(value)); return *this; }
63 private:
64
65 Aws::Vector<Asset> m_assets;
66 bool m_assetsHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Rekognition
71} // namespace Aws
ValidationData & WithAssets(Aws::Vector< Asset > &&value)
void SetAssets(const Aws::Vector< Asset > &value)
ValidationData & AddAssets(Asset &&value)
AWS_REKOGNITION_API ValidationData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Asset > & GetAssets() const
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationData & WithAssets(const Aws::Vector< Asset > &value)
AWS_REKOGNITION_API ValidationData(Aws::Utils::Json::JsonView jsonValue)
void SetAssets(Aws::Vector< Asset > &&value)
ValidationData & AddAssets(const Asset &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue