AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ValidationData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/Asset.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
38 public:
39 AWS_REKOGNITION_API ValidationData() = default;
40 AWS_REKOGNITION_API ValidationData(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API ValidationData& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::Vector<Asset>& GetAssets() const { return m_assets; }
49 inline bool AssetsHasBeenSet() const { return m_assetsHasBeenSet; }
50 template <typename AssetsT = Aws::Vector<Asset>>
51 void SetAssets(AssetsT&& value) {
52 m_assetsHasBeenSet = true;
53 m_assets = std::forward<AssetsT>(value);
54 }
55 template <typename AssetsT = Aws::Vector<Asset>>
56 ValidationData& WithAssets(AssetsT&& value) {
57 SetAssets(std::forward<AssetsT>(value));
58 return *this;
59 }
60 template <typename AssetsT = Asset>
61 ValidationData& AddAssets(AssetsT&& value) {
62 m_assetsHasBeenSet = true;
63 m_assets.emplace_back(std::forward<AssetsT>(value));
64 return *this;
65 }
67 private:
68 Aws::Vector<Asset> m_assets;
69 bool m_assetsHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace Rekognition
74} // namespace Aws
ValidationData & WithAssets(AssetsT &&value)
AWS_REKOGNITION_API ValidationData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API ValidationData()=default
const Aws::Vector< Asset > & GetAssets() const
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API ValidationData(Aws::Utils::Json::JsonView jsonValue)
ValidationData & AddAssets(AssetsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue