AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartStreamProcessorRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/StreamProcessingStartSelector.h>
11#include <aws/rekognition/model/StreamProcessingStopSelector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Rekognition
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REKOGNITION_API StartStreamProcessorRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartStreamProcessor"; }
33
34 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
35
36 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 StartStreamProcessorRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
61 inline const StreamProcessingStartSelector& GetStartSelector() const { return m_startSelector; }
62 inline bool StartSelectorHasBeenSet() const { return m_startSelectorHasBeenSet; }
63 template<typename StartSelectorT = StreamProcessingStartSelector>
64 void SetStartSelector(StartSelectorT&& value) { m_startSelectorHasBeenSet = true; m_startSelector = std::forward<StartSelectorT>(value); }
65 template<typename StartSelectorT = StreamProcessingStartSelector>
66 StartStreamProcessorRequest& WithStartSelector(StartSelectorT&& value) { SetStartSelector(std::forward<StartSelectorT>(value)); return *this;}
68
70
76 inline const StreamProcessingStopSelector& GetStopSelector() const { return m_stopSelector; }
77 inline bool StopSelectorHasBeenSet() const { return m_stopSelectorHasBeenSet; }
78 template<typename StopSelectorT = StreamProcessingStopSelector>
79 void SetStopSelector(StopSelectorT&& value) { m_stopSelectorHasBeenSet = true; m_stopSelector = std::forward<StopSelectorT>(value); }
80 template<typename StopSelectorT = StreamProcessingStopSelector>
81 StartStreamProcessorRequest& WithStopSelector(StopSelectorT&& value) { SetStopSelector(std::forward<StopSelectorT>(value)); return *this;}
83 private:
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 StreamProcessingStartSelector m_startSelector;
89 bool m_startSelectorHasBeenSet = false;
90
91 StreamProcessingStopSelector m_stopSelector;
92 bool m_stopSelectorHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Rekognition
97} // namespace Aws
StartStreamProcessorRequest & WithStopSelector(StopSelectorT &&value)
const StreamProcessingStopSelector & GetStopSelector() const
AWS_REKOGNITION_API Aws::String SerializePayload() const override
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const StreamProcessingStartSelector & GetStartSelector() const
AWS_REKOGNITION_API StartStreamProcessorRequest()=default
StartStreamProcessorRequest & WithStartSelector(StartSelectorT &&value)
StartStreamProcessorRequest & WithName(NameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String