AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ContentModerationSortBy& GetSortBy() const{ return m_sortBy; }
47 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
48 inline void SetSortBy(const ContentModerationSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
49 inline void SetSortBy(ContentModerationSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
51 inline GetContentModerationRequestMetadata& WithSortBy(ContentModerationSortBy&& value) { SetSortBy(std::move(value)); return *this;}
53
55
58 inline const ContentModerationAggregateBy& GetAggregateBy() const{ return m_aggregateBy; }
59 inline bool AggregateByHasBeenSet() const { return m_aggregateByHasBeenSet; }
60 inline void SetAggregateBy(const ContentModerationAggregateBy& value) { m_aggregateByHasBeenSet = true; m_aggregateBy = value; }
61 inline void SetAggregateBy(ContentModerationAggregateBy&& value) { m_aggregateByHasBeenSet = true; m_aggregateBy = std::move(value); }
65 private:
66
68 bool m_sortByHasBeenSet = false;
69
70 ContentModerationAggregateBy m_aggregateBy;
71 bool m_aggregateByHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Rekognition
76} // 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)
GetContentModerationRequestMetadata & WithSortBy(ContentModerationSortBy &&value)
GetContentModerationRequestMetadata & WithSortBy(const ContentModerationSortBy &value)
GetContentModerationRequestMetadata & WithAggregateBy(const ContentModerationAggregateBy &value)
Aws::Utils::Json::JsonValue JsonValue