AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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