AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline UpdateStreamProcessorRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline UpdateStreamProcessorRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline UpdateStreamProcessorRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
62 inline const StreamProcessorSettingsForUpdate& GetSettingsForUpdate() const{ return m_settingsForUpdate; }
63 inline bool SettingsForUpdateHasBeenSet() const { return m_settingsForUpdateHasBeenSet; }
64 inline void SetSettingsForUpdate(const StreamProcessorSettingsForUpdate& value) { m_settingsForUpdateHasBeenSet = true; m_settingsForUpdate = value; }
65 inline void SetSettingsForUpdate(StreamProcessorSettingsForUpdate&& value) { m_settingsForUpdateHasBeenSet = true; m_settingsForUpdate = std::move(value); }
69
71
76 inline const Aws::Vector<RegionOfInterest>& GetRegionsOfInterestForUpdate() const{ return m_regionsOfInterestForUpdate; }
77 inline bool RegionsOfInterestForUpdateHasBeenSet() const { return m_regionsOfInterestForUpdateHasBeenSet; }
78 inline void SetRegionsOfInterestForUpdate(const Aws::Vector<RegionOfInterest>& value) { m_regionsOfInterestForUpdateHasBeenSet = true; m_regionsOfInterestForUpdate = value; }
79 inline void SetRegionsOfInterestForUpdate(Aws::Vector<RegionOfInterest>&& value) { m_regionsOfInterestForUpdateHasBeenSet = true; m_regionsOfInterestForUpdate = std::move(value); }
82 inline UpdateStreamProcessorRequest& AddRegionsOfInterestForUpdate(const RegionOfInterest& value) { m_regionsOfInterestForUpdateHasBeenSet = true; m_regionsOfInterestForUpdate.push_back(value); return *this; }
83 inline UpdateStreamProcessorRequest& AddRegionsOfInterestForUpdate(RegionOfInterest&& value) { m_regionsOfInterestForUpdateHasBeenSet = true; m_regionsOfInterestForUpdate.push_back(std::move(value)); return *this; }
85
87
93 inline const StreamProcessorDataSharingPreference& GetDataSharingPreferenceForUpdate() const{ return m_dataSharingPreferenceForUpdate; }
94 inline bool DataSharingPreferenceForUpdateHasBeenSet() const { return m_dataSharingPreferenceForUpdateHasBeenSet; }
95 inline void SetDataSharingPreferenceForUpdate(const StreamProcessorDataSharingPreference& value) { m_dataSharingPreferenceForUpdateHasBeenSet = true; m_dataSharingPreferenceForUpdate = value; }
96 inline void SetDataSharingPreferenceForUpdate(StreamProcessorDataSharingPreference&& value) { m_dataSharingPreferenceForUpdateHasBeenSet = true; m_dataSharingPreferenceForUpdate = std::move(value); }
100
102
105 inline const Aws::Vector<StreamProcessorParameterToDelete>& GetParametersToDelete() const{ return m_parametersToDelete; }
106 inline bool ParametersToDeleteHasBeenSet() const { return m_parametersToDeleteHasBeenSet; }
107 inline void SetParametersToDelete(const Aws::Vector<StreamProcessorParameterToDelete>& value) { m_parametersToDeleteHasBeenSet = true; m_parametersToDelete = value; }
108 inline void SetParametersToDelete(Aws::Vector<StreamProcessorParameterToDelete>&& value) { m_parametersToDeleteHasBeenSet = true; m_parametersToDelete = std::move(value); }
111 inline UpdateStreamProcessorRequest& AddParametersToDelete(const StreamProcessorParameterToDelete& value) { m_parametersToDeleteHasBeenSet = true; m_parametersToDelete.push_back(value); return *this; }
112 inline UpdateStreamProcessorRequest& AddParametersToDelete(StreamProcessorParameterToDelete&& value) { m_parametersToDeleteHasBeenSet = true; m_parametersToDelete.push_back(std::move(value)); return *this; }
114 private:
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 StreamProcessorSettingsForUpdate m_settingsForUpdate;
120 bool m_settingsForUpdateHasBeenSet = false;
121
122 Aws::Vector<RegionOfInterest> m_regionsOfInterestForUpdate;
123 bool m_regionsOfInterestForUpdateHasBeenSet = false;
124
125 StreamProcessorDataSharingPreference m_dataSharingPreferenceForUpdate;
126 bool m_dataSharingPreferenceForUpdateHasBeenSet = false;
127
129 bool m_parametersToDeleteHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Rekognition
134} // namespace Aws
UpdateStreamProcessorRequest & WithDataSharingPreferenceForUpdate(StreamProcessorDataSharingPreference &&value)
const StreamProcessorSettingsForUpdate & GetSettingsForUpdate() const
void SetSettingsForUpdate(const StreamProcessorSettingsForUpdate &value)
const StreamProcessorDataSharingPreference & GetDataSharingPreferenceForUpdate() const
UpdateStreamProcessorRequest & WithName(Aws::String &&value)
UpdateStreamProcessorRequest & WithSettingsForUpdate(const StreamProcessorSettingsForUpdate &value)
const Aws::Vector< RegionOfInterest > & GetRegionsOfInterestForUpdate() const
void SetDataSharingPreferenceForUpdate(const StreamProcessorDataSharingPreference &value)
UpdateStreamProcessorRequest & WithSettingsForUpdate(StreamProcessorSettingsForUpdate &&value)
UpdateStreamProcessorRequest & WithRegionsOfInterestForUpdate(Aws::Vector< RegionOfInterest > &&value)
UpdateStreamProcessorRequest & WithName(const char *value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
void SetRegionsOfInterestForUpdate(const Aws::Vector< RegionOfInterest > &value)
void SetParametersToDelete(const Aws::Vector< StreamProcessorParameterToDelete > &value)
const Aws::Vector< StreamProcessorParameterToDelete > & GetParametersToDelete() const
UpdateStreamProcessorRequest & AddRegionsOfInterestForUpdate(RegionOfInterest &&value)
UpdateStreamProcessorRequest & WithRegionsOfInterestForUpdate(const Aws::Vector< RegionOfInterest > &value)
void SetSettingsForUpdate(StreamProcessorSettingsForUpdate &&value)
void SetRegionsOfInterestForUpdate(Aws::Vector< RegionOfInterest > &&value)
void SetDataSharingPreferenceForUpdate(StreamProcessorDataSharingPreference &&value)
UpdateStreamProcessorRequest & AddParametersToDelete(StreamProcessorParameterToDelete &&value)
void SetParametersToDelete(Aws::Vector< StreamProcessorParameterToDelete > &&value)
UpdateStreamProcessorRequest & AddParametersToDelete(const StreamProcessorParameterToDelete &value)
UpdateStreamProcessorRequest & WithParametersToDelete(const Aws::Vector< StreamProcessorParameterToDelete > &value)
UpdateStreamProcessorRequest & WithDataSharingPreferenceForUpdate(const StreamProcessorDataSharingPreference &value)
UpdateStreamProcessorRequest & WithName(const Aws::String &value)
UpdateStreamProcessorRequest & WithParametersToDelete(Aws::Vector< StreamProcessorParameterToDelete > &&value)
UpdateStreamProcessorRequest & AddRegionsOfInterestForUpdate(const RegionOfInterest &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