AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLabelDetectionRequestMetadata.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/LabelDetectionSortBy.h>
9#include <aws/rekognition/model/LabelDetectionAggregateBy.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 GetLabelDetectionRequestMetadata();
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const LabelDetectionSortBy& GetSortBy() const{ return m_sortBy; }
47 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
48 inline void SetSortBy(const LabelDetectionSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
49 inline void SetSortBy(LabelDetectionSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
50 inline GetLabelDetectionRequestMetadata& WithSortBy(const LabelDetectionSortBy& value) { SetSortBy(value); return *this;}
51 inline GetLabelDetectionRequestMetadata& WithSortBy(LabelDetectionSortBy&& value) { SetSortBy(std::move(value)); return *this;}
53
55
58 inline const LabelDetectionAggregateBy& GetAggregateBy() const{ return m_aggregateBy; }
59 inline bool AggregateByHasBeenSet() const { return m_aggregateByHasBeenSet; }
60 inline void SetAggregateBy(const LabelDetectionAggregateBy& value) { m_aggregateByHasBeenSet = true; m_aggregateBy = value; }
61 inline void SetAggregateBy(LabelDetectionAggregateBy&& value) { m_aggregateByHasBeenSet = true; m_aggregateBy = std::move(value); }
65 private:
66
67 LabelDetectionSortBy m_sortBy;
68 bool m_sortByHasBeenSet = false;
69
70 LabelDetectionAggregateBy m_aggregateBy;
71 bool m_aggregateByHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Rekognition
76} // namespace Aws
GetLabelDetectionRequestMetadata & WithAggregateBy(LabelDetectionAggregateBy &&value)
GetLabelDetectionRequestMetadata & WithSortBy(LabelDetectionSortBy &&value)
GetLabelDetectionRequestMetadata & WithSortBy(const LabelDetectionSortBy &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API GetLabelDetectionRequestMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API GetLabelDetectionRequestMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
GetLabelDetectionRequestMetadata & WithAggregateBy(const LabelDetectionAggregateBy &value)
Aws::Utils::Json::JsonValue JsonValue