AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetLabelDescription.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/model/DatasetLabelStats.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
34 {
35 public:
36 AWS_REKOGNITION_API DatasetLabelDescription();
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLabelName() const{ return m_labelName; }
47 inline bool LabelNameHasBeenSet() const { return m_labelNameHasBeenSet; }
48 inline void SetLabelName(const Aws::String& value) { m_labelNameHasBeenSet = true; m_labelName = value; }
49 inline void SetLabelName(Aws::String&& value) { m_labelNameHasBeenSet = true; m_labelName = std::move(value); }
50 inline void SetLabelName(const char* value) { m_labelNameHasBeenSet = true; m_labelName.assign(value); }
51 inline DatasetLabelDescription& WithLabelName(const Aws::String& value) { SetLabelName(value); return *this;}
52 inline DatasetLabelDescription& WithLabelName(Aws::String&& value) { SetLabelName(std::move(value)); return *this;}
53 inline DatasetLabelDescription& WithLabelName(const char* value) { SetLabelName(value); return *this;}
55
57
60 inline const DatasetLabelStats& GetLabelStats() const{ return m_labelStats; }
61 inline bool LabelStatsHasBeenSet() const { return m_labelStatsHasBeenSet; }
62 inline void SetLabelStats(const DatasetLabelStats& value) { m_labelStatsHasBeenSet = true; m_labelStats = value; }
63 inline void SetLabelStats(DatasetLabelStats&& value) { m_labelStatsHasBeenSet = true; m_labelStats = std::move(value); }
64 inline DatasetLabelDescription& WithLabelStats(const DatasetLabelStats& value) { SetLabelStats(value); return *this;}
65 inline DatasetLabelDescription& WithLabelStats(DatasetLabelStats&& value) { SetLabelStats(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_labelName;
70 bool m_labelNameHasBeenSet = false;
71
72 DatasetLabelStats m_labelStats;
73 bool m_labelStatsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Rekognition
78} // namespace Aws
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API DatasetLabelDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetLabelDescription & WithLabelStats(const DatasetLabelStats &value)
DatasetLabelDescription & WithLabelName(const Aws::String &value)
DatasetLabelDescription & WithLabelName(const char *value)
DatasetLabelDescription & WithLabelName(Aws::String &&value)
DatasetLabelDescription & WithLabelStats(DatasetLabelStats &&value)
void SetLabelStats(const DatasetLabelStats &value)
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