AWS SDK for C++  1.9.108
AWS SDK for C++
UpdateDatasetEntriesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/core/utils/Array.h>
11 #include <utility>
12 #include <aws/core/utils/UUID.h>
13 
14 namespace Aws
15 {
16 namespace LookoutforVision
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::String& GetProjectName() const{ return m_projectName; }
44 
49  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
50 
55  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
56 
61  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
62 
67  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
68 
73  inline UpdateDatasetEntriesRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
74 
79  inline UpdateDatasetEntriesRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
80 
85  inline UpdateDatasetEntriesRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
86 
87 
93  inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
94 
100  inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
101 
107  inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
108 
114  inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
115 
121  inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
122 
128  inline UpdateDatasetEntriesRequest& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
129 
135  inline UpdateDatasetEntriesRequest& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
136 
142  inline UpdateDatasetEntriesRequest& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
143 
144 
148  inline const Aws::Utils::ByteBuffer& GetChanges() const{ return m_changes; }
149 
153  inline bool ChangesHasBeenSet() const { return m_changesHasBeenSet; }
154 
158  inline void SetChanges(const Aws::Utils::ByteBuffer& value) { m_changesHasBeenSet = true; m_changes = value; }
159 
163  inline void SetChanges(Aws::Utils::ByteBuffer&& value) { m_changesHasBeenSet = true; m_changes = std::move(value); }
164 
168  inline UpdateDatasetEntriesRequest& WithChanges(const Aws::Utils::ByteBuffer& value) { SetChanges(value); return *this;}
169 
173  inline UpdateDatasetEntriesRequest& WithChanges(Aws::Utils::ByteBuffer&& value) { SetChanges(std::move(value)); return *this;}
174 
175 
188  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
189 
202  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
203 
216  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
217 
230  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
231 
244  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
245 
258  inline UpdateDatasetEntriesRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
259 
272  inline UpdateDatasetEntriesRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
273 
286  inline UpdateDatasetEntriesRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
287 
288  private:
289 
290  Aws::String m_projectName;
291  bool m_projectNameHasBeenSet;
292 
293  Aws::String m_datasetType;
294  bool m_datasetTypeHasBeenSet;
295 
296  Aws::Utils::ByteBuffer m_changes;
297  bool m_changesHasBeenSet;
298 
299  Aws::String m_clientToken;
300  bool m_clientTokenHasBeenSet;
301  };
302 
303 } // namespace Model
304 } // namespace LookoutforVision
305 } // namespace Aws
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest
Definition: UpdateDatasetEntriesRequest.h:24
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::ChangesHasBeenSet
bool ChangesHasBeenSet() const
Definition: UpdateDatasetEntriesRequest.h:153
LookoutforVisionRequest.h
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithProjectName
UpdateDatasetEntriesRequest & WithProjectName(const Aws::String &value)
Definition: UpdateDatasetEntriesRequest.h:73
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetChanges
void SetChanges(Aws::Utils::ByteBuffer &&value)
Definition: UpdateDatasetEntriesRequest.h:163
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithChanges
UpdateDatasetEntriesRequest & WithChanges(Aws::Utils::ByteBuffer &&value)
Definition: UpdateDatasetEntriesRequest.h:173
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithClientToken
UpdateDatasetEntriesRequest & WithClientToken(const char *value)
Definition: UpdateDatasetEntriesRequest.h:286
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetDatasetType
void SetDatasetType(const char *value)
Definition: UpdateDatasetEntriesRequest.h:121
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::UpdateDatasetEntriesRequest
UpdateDatasetEntriesRequest()
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdateDatasetEntriesRequest.h:216
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdateDatasetEntriesRequest.h:230
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetDatasetType
void SetDatasetType(const Aws::String &value)
Definition: UpdateDatasetEntriesRequest.h:107
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdateDatasetEntriesRequest.h:244
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetProjectName
void SetProjectName(const char *value)
Definition: UpdateDatasetEntriesRequest.h:67
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithProjectName
UpdateDatasetEntriesRequest & WithProjectName(const char *value)
Definition: UpdateDatasetEntriesRequest.h:85
Aws::LookoutforVision::LookoutforVisionRequest
Definition: LookoutforVisionRequest.h:18
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDatasetEntriesRequest.h:32
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: UpdateDatasetEntriesRequest.h:49
Aws::Utils::Array< unsigned char >
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetDatasetType
void SetDatasetType(Aws::String &&value)
Definition: UpdateDatasetEntriesRequest.h:114
AWSString.h
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: UpdateDatasetEntriesRequest.h:43
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithClientToken
UpdateDatasetEntriesRequest & WithClientToken(Aws::String &&value)
Definition: UpdateDatasetEntriesRequest.h:272
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::GetDatasetType
const Aws::String & GetDatasetType() const
Definition: UpdateDatasetEntriesRequest.h:93
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithProjectName
UpdateDatasetEntriesRequest & WithProjectName(Aws::String &&value)
Definition: UpdateDatasetEntriesRequest.h:79
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithChanges
UpdateDatasetEntriesRequest & WithChanges(const Aws::Utils::ByteBuffer &value)
Definition: UpdateDatasetEntriesRequest.h:168
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithDatasetType
UpdateDatasetEntriesRequest & WithDatasetType(const Aws::String &value)
Definition: UpdateDatasetEntriesRequest.h:128
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::DatasetTypeHasBeenSet
bool DatasetTypeHasBeenSet() const
Definition: UpdateDatasetEntriesRequest.h:100
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::GetChanges
const Aws::Utils::ByteBuffer & GetChanges() const
Definition: UpdateDatasetEntriesRequest.h:148
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: UpdateDatasetEntriesRequest.h:61
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdateDatasetEntriesRequest.h:188
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithClientToken
UpdateDatasetEntriesRequest & WithClientToken(const Aws::String &value)
Definition: UpdateDatasetEntriesRequest.h:258
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetChanges
void SetChanges(const Aws::Utils::ByteBuffer &value)
Definition: UpdateDatasetEntriesRequest.h:158
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: UpdateDatasetEntriesRequest.h:55
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithDatasetType
UpdateDatasetEntriesRequest & WithDatasetType(Aws::String &&value)
Definition: UpdateDatasetEntriesRequest.h:135
UUID.h
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::WithDatasetType
UpdateDatasetEntriesRequest & WithDatasetType(const char *value)
Definition: UpdateDatasetEntriesRequest.h:142
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdateDatasetEntriesRequest.h:202
Aws::LookoutforVision::Model::UpdateDatasetEntriesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override