AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DatasetLabelDescription.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/DatasetLabelStats.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
30 public:
31 AWS_REKOGNITION_API DatasetLabelDescription() = default;
34 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetLabelName() const { return m_labelName; }
41 inline bool LabelNameHasBeenSet() const { return m_labelNameHasBeenSet; }
42 template <typename LabelNameT = Aws::String>
43 void SetLabelName(LabelNameT&& value) {
44 m_labelNameHasBeenSet = true;
45 m_labelName = std::forward<LabelNameT>(value);
46 }
47 template <typename LabelNameT = Aws::String>
49 SetLabelName(std::forward<LabelNameT>(value));
50 return *this;
51 }
53
55
58 inline const DatasetLabelStats& GetLabelStats() const { return m_labelStats; }
59 inline bool LabelStatsHasBeenSet() const { return m_labelStatsHasBeenSet; }
60 template <typename LabelStatsT = DatasetLabelStats>
61 void SetLabelStats(LabelStatsT&& value) {
62 m_labelStatsHasBeenSet = true;
63 m_labelStats = std::forward<LabelStatsT>(value);
64 }
65 template <typename LabelStatsT = DatasetLabelStats>
67 SetLabelStats(std::forward<LabelStatsT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_labelName;
73 bool m_labelNameHasBeenSet = false;
74
75 DatasetLabelStats m_labelStats;
76 bool m_labelStatsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Rekognition
81} // namespace Aws
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API DatasetLabelDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetLabelDescription & WithLabelStats(LabelStatsT &&value)
DatasetLabelDescription & WithLabelName(LabelNameT &&value)
AWS_REKOGNITION_API DatasetLabelDescription()=default
AWS_REKOGNITION_API DatasetLabelDescription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue