AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateStreamProcessorRequest.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/StreamProcessorSettingsForUpdate.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rekognition/model/StreamProcessorDataSharingPreference.h>
13#include <aws/rekognition/model/RegionOfInterest.h>
14#include <aws/rekognition/model/StreamProcessorParameterToDelete.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Rekognition
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_REKOGNITION_API UpdateStreamProcessorRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateStreamProcessor"; }
36
37 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
38
39 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 UpdateStreamProcessorRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
60 inline const StreamProcessorSettingsForUpdate& GetSettingsForUpdate() const { return m_settingsForUpdate; }
61 inline bool SettingsForUpdateHasBeenSet() const { return m_settingsForUpdateHasBeenSet; }
62 template<typename SettingsForUpdateT = StreamProcessorSettingsForUpdate>
63 void SetSettingsForUpdate(SettingsForUpdateT&& value) { m_settingsForUpdateHasBeenSet = true; m_settingsForUpdate = std::forward<SettingsForUpdateT>(value); }
64 template<typename SettingsForUpdateT = StreamProcessorSettingsForUpdate>
65 UpdateStreamProcessorRequest& WithSettingsForUpdate(SettingsForUpdateT&& value) { SetSettingsForUpdate(std::forward<SettingsForUpdateT>(value)); return *this;}
67
69
74 inline const Aws::Vector<RegionOfInterest>& GetRegionsOfInterestForUpdate() const { return m_regionsOfInterestForUpdate; }
75 inline bool RegionsOfInterestForUpdateHasBeenSet() const { return m_regionsOfInterestForUpdateHasBeenSet; }
76 template<typename RegionsOfInterestForUpdateT = Aws::Vector<RegionOfInterest>>
77 void SetRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT&& value) { m_regionsOfInterestForUpdateHasBeenSet = true; m_regionsOfInterestForUpdate = std::forward<RegionsOfInterestForUpdateT>(value); }
78 template<typename RegionsOfInterestForUpdateT = Aws::Vector<RegionOfInterest>>
79 UpdateStreamProcessorRequest& WithRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT&& value) { SetRegionsOfInterestForUpdate(std::forward<RegionsOfInterestForUpdateT>(value)); return *this;}
80 template<typename RegionsOfInterestForUpdateT = RegionOfInterest>
81 UpdateStreamProcessorRequest& AddRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT&& value) { m_regionsOfInterestForUpdateHasBeenSet = true; m_regionsOfInterestForUpdate.emplace_back(std::forward<RegionsOfInterestForUpdateT>(value)); return *this; }
83
85
91 inline const StreamProcessorDataSharingPreference& GetDataSharingPreferenceForUpdate() const { return m_dataSharingPreferenceForUpdate; }
92 inline bool DataSharingPreferenceForUpdateHasBeenSet() const { return m_dataSharingPreferenceForUpdateHasBeenSet; }
93 template<typename DataSharingPreferenceForUpdateT = StreamProcessorDataSharingPreference>
94 void SetDataSharingPreferenceForUpdate(DataSharingPreferenceForUpdateT&& value) { m_dataSharingPreferenceForUpdateHasBeenSet = true; m_dataSharingPreferenceForUpdate = std::forward<DataSharingPreferenceForUpdateT>(value); }
95 template<typename DataSharingPreferenceForUpdateT = StreamProcessorDataSharingPreference>
96 UpdateStreamProcessorRequest& WithDataSharingPreferenceForUpdate(DataSharingPreferenceForUpdateT&& value) { SetDataSharingPreferenceForUpdate(std::forward<DataSharingPreferenceForUpdateT>(value)); return *this;}
98
100
103 inline const Aws::Vector<StreamProcessorParameterToDelete>& GetParametersToDelete() const { return m_parametersToDelete; }
104 inline bool ParametersToDeleteHasBeenSet() const { return m_parametersToDeleteHasBeenSet; }
105 template<typename ParametersToDeleteT = Aws::Vector<StreamProcessorParameterToDelete>>
106 void SetParametersToDelete(ParametersToDeleteT&& value) { m_parametersToDeleteHasBeenSet = true; m_parametersToDelete = std::forward<ParametersToDeleteT>(value); }
107 template<typename ParametersToDeleteT = Aws::Vector<StreamProcessorParameterToDelete>>
108 UpdateStreamProcessorRequest& WithParametersToDelete(ParametersToDeleteT&& value) { SetParametersToDelete(std::forward<ParametersToDeleteT>(value)); return *this;}
109 inline UpdateStreamProcessorRequest& AddParametersToDelete(StreamProcessorParameterToDelete value) { m_parametersToDeleteHasBeenSet = true; m_parametersToDelete.push_back(value); return *this; }
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 StreamProcessorSettingsForUpdate m_settingsForUpdate;
117 bool m_settingsForUpdateHasBeenSet = false;
118
119 Aws::Vector<RegionOfInterest> m_regionsOfInterestForUpdate;
120 bool m_regionsOfInterestForUpdateHasBeenSet = false;
121
122 StreamProcessorDataSharingPreference m_dataSharingPreferenceForUpdate;
123 bool m_dataSharingPreferenceForUpdateHasBeenSet = false;
124
126 bool m_parametersToDeleteHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Rekognition
131} // namespace Aws
const StreamProcessorSettingsForUpdate & GetSettingsForUpdate() const
const StreamProcessorDataSharingPreference & GetDataSharingPreferenceForUpdate() const
const Aws::Vector< RegionOfInterest > & GetRegionsOfInterestForUpdate() const
void SetRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT &&value)
AWS_REKOGNITION_API UpdateStreamProcessorRequest()=default
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDataSharingPreferenceForUpdate(DataSharingPreferenceForUpdateT &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
const Aws::Vector< StreamProcessorParameterToDelete > & GetParametersToDelete() const
UpdateStreamProcessorRequest & AddRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT &&value)
UpdateStreamProcessorRequest & AddParametersToDelete(StreamProcessorParameterToDelete value)
UpdateStreamProcessorRequest & WithDataSharingPreferenceForUpdate(DataSharingPreferenceForUpdateT &&value)
UpdateStreamProcessorRequest & WithSettingsForUpdate(SettingsForUpdateT &&value)
UpdateStreamProcessorRequest & WithParametersToDelete(ParametersToDeleteT &&value)
UpdateStreamProcessorRequest & WithName(NameT &&value)
UpdateStreamProcessorRequest & WithRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector