AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateDatasetEntriesRequest.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/lookoutvision/LookoutforVisionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace LookoutforVision
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOOKOUTFORVISION_API UpdateDatasetEntriesRequest() = 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 "UpdateDatasetEntries"; }
33
34 AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override;
35
36 AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::String& GetProjectName() const { return m_projectName; }
45 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
46 template<typename ProjectNameT = Aws::String>
47 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
48 template<typename ProjectNameT = Aws::String>
49 UpdateDatasetEntriesRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
51
53
58 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
59 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
60 template<typename DatasetTypeT = Aws::String>
61 void SetDatasetType(DatasetTypeT&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::forward<DatasetTypeT>(value); }
62 template<typename DatasetTypeT = Aws::String>
63 UpdateDatasetEntriesRequest& WithDatasetType(DatasetTypeT&& value) { SetDatasetType(std::forward<DatasetTypeT>(value)); return *this;}
65
67
70 inline const Aws::Utils::ByteBuffer& GetChanges() const { return m_changes; }
71 inline bool ChangesHasBeenSet() const { return m_changesHasBeenSet; }
72 template<typename ChangesT = Aws::Utils::ByteBuffer>
73 void SetChanges(ChangesT&& value) { m_changesHasBeenSet = true; m_changes = std::forward<ChangesT>(value); }
74 template<typename ChangesT = Aws::Utils::ByteBuffer>
75 UpdateDatasetEntriesRequest& WithChanges(ChangesT&& value) { SetChanges(std::forward<ChangesT>(value)); return *this;}
77
79
94 inline const Aws::String& GetClientToken() const { return m_clientToken; }
95 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
96 template<typename ClientTokenT = Aws::String>
97 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
98 template<typename ClientTokenT = Aws::String>
99 UpdateDatasetEntriesRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
101 private:
102
103 Aws::String m_projectName;
104 bool m_projectNameHasBeenSet = false;
105
106 Aws::String m_datasetType;
107 bool m_datasetTypeHasBeenSet = false;
108
109 Aws::Utils::ByteBuffer m_changes{};
110 bool m_changesHasBeenSet = false;
111
113 bool m_clientTokenHasBeenSet = true;
114 };
115
116} // namespace Model
117} // namespace LookoutforVision
118} // namespace Aws
UpdateDatasetEntriesRequest & WithClientToken(ClientTokenT &&value)
UpdateDatasetEntriesRequest & WithProjectName(ProjectNameT &&value)
AWS_LOOKOUTFORVISION_API UpdateDatasetEntriesRequest()=default
UpdateDatasetEntriesRequest & WithDatasetType(DatasetTypeT &&value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
UpdateDatasetEntriesRequest & WithChanges(ChangesT &&value)
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String