AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StreamProcessor.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/model/StreamProcessorStatus.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
38 {
39 public:
40 AWS_REKOGNITION_API StreamProcessor() = default;
41 AWS_REKOGNITION_API StreamProcessor(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REKOGNITION_API StreamProcessor& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template<typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
54 template<typename NameT = Aws::String>
55 StreamProcessor& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57
59
62 inline StreamProcessorStatus GetStatus() const { return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(StreamProcessorStatus value) { m_statusHasBeenSet = true; m_status = value; }
65 inline StreamProcessor& WithStatus(StreamProcessorStatus value) { SetStatus(value); return *this;}
67 private:
68
69 Aws::String m_name;
70 bool m_nameHasBeenSet = false;
71
73 bool m_statusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Rekognition
78} // namespace Aws
AWS_REKOGNITION_API StreamProcessor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API StreamProcessor()=default
AWS_REKOGNITION_API StreamProcessor(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
StreamProcessorStatus GetStatus() const
StreamProcessor & WithStatus(StreamProcessorStatus value)
StreamProcessor & WithName(NameT &&value)
void SetStatus(StreamProcessorStatus value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue