AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetContentModerationRequestMetadata.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/ContentModerationSortBy.h>
9#include <aws/rekognition/model/ContentModerationAggregateBy.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 GetContentModerationRequestMetadata() = default;
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline ContentModerationSortBy GetSortBy() const { return m_sortBy; }
47 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
48 inline void SetSortBy(ContentModerationSortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
51
53
56 inline ContentModerationAggregateBy GetAggregateBy() const { return m_aggregateBy; }
57 inline bool AggregateByHasBeenSet() const { return m_aggregateByHasBeenSet; }
58 inline void SetAggregateBy(ContentModerationAggregateBy 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
AWS_REKOGNITION_API GetContentModerationRequestMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API GetContentModerationRequestMetadata(Aws::Utils::Json::JsonView jsonValue)
GetContentModerationRequestMetadata & WithAggregateBy(ContentModerationAggregateBy value)
AWS_REKOGNITION_API GetContentModerationRequestMetadata()=default
GetContentModerationRequestMetadata & WithSortBy(ContentModerationSortBy value)
Aws::Utils::Json::JsonValue JsonValue