AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
UpdateDatasetEntriesRequest.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/DatasetChanges.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Rekognition {
16namespace Model {
17
21 public:
22 AWS_REKOGNITION_API UpdateDatasetEntriesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDatasetEntries"; }
29
30 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
31
32 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
39 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
40 template <typename DatasetArnT = Aws::String>
41 void SetDatasetArn(DatasetArnT&& value) {
42 m_datasetArnHasBeenSet = true;
43 m_datasetArn = std::forward<DatasetArnT>(value);
44 }
45 template <typename DatasetArnT = Aws::String>
47 SetDatasetArn(std::forward<DatasetArnT>(value));
48 return *this;
49 }
51
53
56 inline const DatasetChanges& GetChanges() const { return m_changes; }
57 inline bool ChangesHasBeenSet() const { return m_changesHasBeenSet; }
58 template <typename ChangesT = DatasetChanges>
59 void SetChanges(ChangesT&& value) {
60 m_changesHasBeenSet = true;
61 m_changes = std::forward<ChangesT>(value);
62 }
63 template <typename ChangesT = DatasetChanges>
65 SetChanges(std::forward<ChangesT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_datasetArn;
71 bool m_datasetArnHasBeenSet = false;
72
73 DatasetChanges m_changes;
74 bool m_changesHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Rekognition
79} // namespace Aws
UpdateDatasetEntriesRequest & WithChanges(ChangesT &&value)
AWS_REKOGNITION_API UpdateDatasetEntriesRequest()=default
AWS_REKOGNITION_API Aws::String SerializePayload() const override
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDatasetEntriesRequest & WithDatasetArn(DatasetArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String