AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetContentModerationRequestMetadata.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/ContentModerationAggregateBy.h>
9#include <aws/rekognition/model/ContentModerationSortBy.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 GetContentModerationRequestMetadata() = default;
34 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ContentModerationSortBy GetSortBy() const { return m_sortBy; }
41 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
43 m_sortByHasBeenSet = true;
44 m_sortBy = value;
45 }
47 SetSortBy(value);
48 return *this;
49 }
51
53
56 inline ContentModerationAggregateBy 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 bool m_sortByHasBeenSet = false;
70
72 bool m_aggregateByHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Rekognition
77} // 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