AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
GetLabelDetectionRequestMetadata.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/LabelDetectionAggregateBy.h>
9#include <aws/rekognition/model/LabelDetectionSortBy.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 GetLabelDetectionRequestMetadata() = default;
34 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline LabelDetectionSortBy GetSortBy() const { return m_sortBy; }
41 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
42 inline void SetSortBy(LabelDetectionSortBy value) {
43 m_sortByHasBeenSet = true;
44 m_sortBy = value;
45 }
47 SetSortBy(value);
48 return *this;
49 }
51
53
56 inline LabelDetectionAggregateBy GetAggregateBy() const { return m_aggregateBy; }
57 inline bool AggregateByHasBeenSet() const { return m_aggregateByHasBeenSet; }
59 m_aggregateByHasBeenSet = true;
60 m_aggregateBy = value;
61 }
63 SetAggregateBy(value);
64 return *this;
65 }
67 private:
69
71 bool m_sortByHasBeenSet = false;
72 bool m_aggregateByHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Rekognition
77} // 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