AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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