AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline StartStreamProcessorRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline StartStreamProcessorRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline StartStreamProcessorRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
63 inline const StreamProcessingStartSelector& GetStartSelector() const{ return m_startSelector; }
64 inline bool StartSelectorHasBeenSet() const { return m_startSelectorHasBeenSet; }
65 inline void SetStartSelector(const StreamProcessingStartSelector& value) { m_startSelectorHasBeenSet = true; m_startSelector = value; }
66 inline void SetStartSelector(StreamProcessingStartSelector&& value) { m_startSelectorHasBeenSet = true; m_startSelector = std::move(value); }
70
72
78 inline const StreamProcessingStopSelector& GetStopSelector() const{ return m_stopSelector; }
79 inline bool StopSelectorHasBeenSet() const { return m_stopSelectorHasBeenSet; }
80 inline void SetStopSelector(const StreamProcessingStopSelector& value) { m_stopSelectorHasBeenSet = true; m_stopSelector = value; }
81 inline void SetStopSelector(StreamProcessingStopSelector&& value) { m_stopSelectorHasBeenSet = true; m_stopSelector = std::move(value); }
85 private:
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 StreamProcessingStartSelector m_startSelector;
91 bool m_startSelectorHasBeenSet = false;
92
93 StreamProcessingStopSelector m_stopSelector;
94 bool m_stopSelectorHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Rekognition
99} // namespace Aws
StartStreamProcessorRequest & WithStartSelector(StreamProcessingStartSelector &&value)
const StreamProcessingStopSelector & GetStopSelector() const
StartStreamProcessorRequest & WithStopSelector(const StreamProcessingStopSelector &value)
void SetStartSelector(StreamProcessingStartSelector &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetStartSelector(const StreamProcessingStartSelector &value)
const StreamProcessingStartSelector & GetStartSelector() const
void SetStopSelector(StreamProcessingStopSelector &&value)
StartStreamProcessorRequest & WithName(Aws::String &&value)
StartStreamProcessorRequest & WithName(const Aws::String &value)
void SetStopSelector(const StreamProcessingStopSelector &value)
StartStreamProcessorRequest & WithName(const char *value)
StartStreamProcessorRequest & WithStopSelector(StreamProcessingStopSelector &&value)
StartStreamProcessorRequest & WithStartSelector(const StreamProcessingStartSelector &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String