AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
StartStreamProcessorRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/StreamProcessingStartSelector.h>
11#include <aws/rekognition/model/StreamProcessingStopSelector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Rekognition {
17namespace Model {
18
22 public:
23 AWS_REKOGNITION_API StartStreamProcessorRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartStreamProcessor"; }
30
31 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
32
33 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
63 inline const StreamProcessingStartSelector& GetStartSelector() const { return m_startSelector; }
64 inline bool StartSelectorHasBeenSet() const { return m_startSelectorHasBeenSet; }
65 template <typename StartSelectorT = StreamProcessingStartSelector>
66 void SetStartSelector(StartSelectorT&& value) {
67 m_startSelectorHasBeenSet = true;
68 m_startSelector = std::forward<StartSelectorT>(value);
69 }
70 template <typename StartSelectorT = StreamProcessingStartSelector>
72 SetStartSelector(std::forward<StartSelectorT>(value));
73 return *this;
74 }
76
78
84 inline const StreamProcessingStopSelector& GetStopSelector() const { return m_stopSelector; }
85 inline bool StopSelectorHasBeenSet() const { return m_stopSelectorHasBeenSet; }
86 template <typename StopSelectorT = StreamProcessingStopSelector>
87 void SetStopSelector(StopSelectorT&& value) {
88 m_stopSelectorHasBeenSet = true;
89 m_stopSelector = std::forward<StopSelectorT>(value);
90 }
91 template <typename StopSelectorT = StreamProcessingStopSelector>
93 SetStopSelector(std::forward<StopSelectorT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 StreamProcessingStartSelector m_startSelector;
102 bool m_startSelectorHasBeenSet = false;
103
104 StreamProcessingStopSelector m_stopSelector;
105 bool m_stopSelectorHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Rekognition
110} // 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