AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
UpdateStreamProcessorRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/RekognitionRequest.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11#include <aws/rekognition/model/RegionOfInterest.h>
12#include <aws/rekognition/model/StreamProcessorDataSharingPreference.h>
13#include <aws/rekognition/model/StreamProcessorParameterToDelete.h>
14#include <aws/rekognition/model/StreamProcessorSettingsForUpdate.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Rekognition {
20namespace Model {
21
25 public:
26 AWS_REKOGNITION_API UpdateStreamProcessorRequest() = 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 "UpdateStreamProcessor"; }
33
34 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
35
36 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
62 inline const StreamProcessorSettingsForUpdate& GetSettingsForUpdate() const { return m_settingsForUpdate; }
63 inline bool SettingsForUpdateHasBeenSet() const { return m_settingsForUpdateHasBeenSet; }
64 template <typename SettingsForUpdateT = StreamProcessorSettingsForUpdate>
65 void SetSettingsForUpdate(SettingsForUpdateT&& value) {
66 m_settingsForUpdateHasBeenSet = true;
67 m_settingsForUpdate = std::forward<SettingsForUpdateT>(value);
68 }
69 template <typename SettingsForUpdateT = StreamProcessorSettingsForUpdate>
71 SetSettingsForUpdate(std::forward<SettingsForUpdateT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::Vector<RegionOfInterest>& GetRegionsOfInterestForUpdate() const { return m_regionsOfInterestForUpdate; }
83 inline bool RegionsOfInterestForUpdateHasBeenSet() const { return m_regionsOfInterestForUpdateHasBeenSet; }
84 template <typename RegionsOfInterestForUpdateT = Aws::Vector<RegionOfInterest>>
85 void SetRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT&& value) {
86 m_regionsOfInterestForUpdateHasBeenSet = true;
87 m_regionsOfInterestForUpdate = std::forward<RegionsOfInterestForUpdateT>(value);
88 }
89 template <typename RegionsOfInterestForUpdateT = Aws::Vector<RegionOfInterest>>
90 UpdateStreamProcessorRequest& WithRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT&& value) {
91 SetRegionsOfInterestForUpdate(std::forward<RegionsOfInterestForUpdateT>(value));
92 return *this;
93 }
94 template <typename RegionsOfInterestForUpdateT = RegionOfInterest>
95 UpdateStreamProcessorRequest& AddRegionsOfInterestForUpdate(RegionsOfInterestForUpdateT&& value) {
96 m_regionsOfInterestForUpdateHasBeenSet = true;
97 m_regionsOfInterestForUpdate.emplace_back(std::forward<RegionsOfInterestForUpdateT>(value));
98 return *this;
99 }
101
103
109 inline const StreamProcessorDataSharingPreference& GetDataSharingPreferenceForUpdate() const { return m_dataSharingPreferenceForUpdate; }
110 inline bool DataSharingPreferenceForUpdateHasBeenSet() const { return m_dataSharingPreferenceForUpdateHasBeenSet; }
111 template <typename DataSharingPreferenceForUpdateT = StreamProcessorDataSharingPreference>
112 void SetDataSharingPreferenceForUpdate(DataSharingPreferenceForUpdateT&& value) {
113 m_dataSharingPreferenceForUpdateHasBeenSet = true;
114 m_dataSharingPreferenceForUpdate = std::forward<DataSharingPreferenceForUpdateT>(value);
115 }
116 template <typename DataSharingPreferenceForUpdateT = StreamProcessorDataSharingPreference>
117 UpdateStreamProcessorRequest& WithDataSharingPreferenceForUpdate(DataSharingPreferenceForUpdateT&& value) {
118 SetDataSharingPreferenceForUpdate(std::forward<DataSharingPreferenceForUpdateT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Vector<StreamProcessorParameterToDelete>& GetParametersToDelete() const { return m_parametersToDelete; }
128 inline bool ParametersToDeleteHasBeenSet() const { return m_parametersToDeleteHasBeenSet; }
129 template <typename ParametersToDeleteT = Aws::Vector<StreamProcessorParameterToDelete>>
130 void SetParametersToDelete(ParametersToDeleteT&& value) {
131 m_parametersToDeleteHasBeenSet = true;
132 m_parametersToDelete = std::forward<ParametersToDeleteT>(value);
133 }
134 template <typename ParametersToDeleteT = Aws::Vector<StreamProcessorParameterToDelete>>
136 SetParametersToDelete(std::forward<ParametersToDeleteT>(value));
137 return *this;
138 }
140 m_parametersToDeleteHasBeenSet = true;
141 m_parametersToDelete.push_back(value);
142 return *this;
143 }
145 private:
146 Aws::String m_name;
147 bool m_nameHasBeenSet = false;
148
149 StreamProcessorSettingsForUpdate m_settingsForUpdate;
150 bool m_settingsForUpdateHasBeenSet = false;
151
152 Aws::Vector<RegionOfInterest> m_regionsOfInterestForUpdate;
153 bool m_regionsOfInterestForUpdateHasBeenSet = false;
154
155 StreamProcessorDataSharingPreference m_dataSharingPreferenceForUpdate;
156 bool m_dataSharingPreferenceForUpdateHasBeenSet = false;
157
159 bool m_parametersToDeleteHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace Rekognition
164} // 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