AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline LabelDetectionSortBy GetSortBy() const { return m_sortBy; }
47 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
48 inline void SetSortBy(LabelDetectionSortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
51
53
56 inline LabelDetectionAggregateBy GetAggregateBy() const { return m_aggregateBy; }
57 inline bool AggregateByHasBeenSet() const { return m_aggregateByHasBeenSet; }
58 inline void SetAggregateBy(LabelDetectionAggregateBy value) { m_aggregateByHasBeenSet = true; m_aggregateBy = value; }
61 private:
62
64 bool m_sortByHasBeenSet = false;
65
67 bool m_aggregateByHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Rekognition
72} // namespace Aws
GetLabelDetectionRequestMetadata & WithSortBy(LabelDetectionSortBy value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API GetLabelDetectionRequestMetadata()=default
GetLabelDetectionRequestMetadata & WithAggregateBy(LabelDetectionAggregateBy value)
AWS_REKOGNITION_API GetLabelDetectionRequestMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API GetLabelDetectionRequestMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue