AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
FrameSamplingStrategy.h
1
6#pragma once
7#include <aws/elementalinference/ElementalInference_EXPORTS.h>
8#include <aws/elementalinference/model/FrameSamplingMode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ElementalInference {
20namespace Model {
21
30 public:
31 AWS_ELEMENTALINFERENCE_API FrameSamplingStrategy() = default;
32 AWS_ELEMENTALINFERENCE_API FrameSamplingStrategy(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ELEMENTALINFERENCE_API FrameSamplingStrategy& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline FrameSamplingMode GetMode() const { return m_mode; }
42 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
43 inline void SetMode(FrameSamplingMode value) {
44 m_modeHasBeenSet = true;
45 m_mode = value;
46 }
48 SetMode(value);
49 return *this;
50 }
52
54
59 inline int GetCount() const { return m_count; }
60 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
61 inline void SetCount(int value) {
62 m_countHasBeenSet = true;
63 m_count = value;
64 }
65 inline FrameSamplingStrategy& WithCount(int value) {
66 SetCount(value);
67 return *this;
68 }
70 private:
72
73 int m_count{0};
74 bool m_modeHasBeenSet = false;
75 bool m_countHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ElementalInference
80} // namespace Aws
AWS_ELEMENTALINFERENCE_API FrameSamplingStrategy()=default
FrameSamplingStrategy & WithMode(FrameSamplingMode value)
AWS_ELEMENTALINFERENCE_API FrameSamplingStrategy(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELEMENTALINFERENCE_API FrameSamplingStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue