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/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();
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 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
47 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
48 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
49 inline UpdateDatasetEntriesRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
50 inline UpdateDatasetEntriesRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
51 inline UpdateDatasetEntriesRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
53
55
60 inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
61 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
62 inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
63 inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
64 inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
65 inline UpdateDatasetEntriesRequest& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
66 inline UpdateDatasetEntriesRequest& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
67 inline UpdateDatasetEntriesRequest& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
69
71
74 inline const Aws::Utils::ByteBuffer& GetChanges() const{ return m_changes; }
75 inline bool ChangesHasBeenSet() const { return m_changesHasBeenSet; }
76 inline void SetChanges(const Aws::Utils::ByteBuffer& value) { m_changesHasBeenSet = true; m_changes = value; }
77 inline void SetChanges(Aws::Utils::ByteBuffer&& value) { m_changesHasBeenSet = true; m_changes = std::move(value); }
78 inline UpdateDatasetEntriesRequest& WithChanges(const Aws::Utils::ByteBuffer& value) { SetChanges(value); return *this;}
79 inline UpdateDatasetEntriesRequest& WithChanges(Aws::Utils::ByteBuffer&& value) { SetChanges(std::move(value)); return *this;}
81
83
98 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
99 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
100 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
101 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
102 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
103 inline UpdateDatasetEntriesRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
104 inline UpdateDatasetEntriesRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
105 inline UpdateDatasetEntriesRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
107 private:
108
109 Aws::String m_projectName;
110 bool m_projectNameHasBeenSet = false;
111
112 Aws::String m_datasetType;
113 bool m_datasetTypeHasBeenSet = false;
114
115 Aws::Utils::ByteBuffer m_changes;
116 bool m_changesHasBeenSet = false;
117
118 Aws::String m_clientToken;
119 bool m_clientTokenHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace LookoutforVision
124} // namespace Aws
UpdateDatasetEntriesRequest & WithProjectName(const char *value)
UpdateDatasetEntriesRequest & WithClientToken(const Aws::String &value)
UpdateDatasetEntriesRequest & WithDatasetType(const char *value)
UpdateDatasetEntriesRequest & WithDatasetType(const Aws::String &value)
UpdateDatasetEntriesRequest & WithProjectName(const Aws::String &value)
UpdateDatasetEntriesRequest & WithClientToken(const char *value)
UpdateDatasetEntriesRequest & WithDatasetType(Aws::String &&value)
UpdateDatasetEntriesRequest & WithClientToken(Aws::String &&value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
UpdateDatasetEntriesRequest & WithProjectName(Aws::String &&value)
UpdateDatasetEntriesRequest & WithChanges(const Aws::Utils::ByteBuffer &value)
UpdateDatasetEntriesRequest & WithChanges(Aws::Utils::ByteBuffer &&value)
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String