AWS SDK for C++  1.9.129
AWS SDK for C++
BatchUpsertTableRowsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Honeycode
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 "BatchUpsertTableRows"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
42  inline const Aws::String& GetWorkbookId() const{ return m_workbookId; }
43 
49  inline bool WorkbookIdHasBeenSet() const { return m_workbookIdHasBeenSet; }
50 
56  inline void SetWorkbookId(const Aws::String& value) { m_workbookIdHasBeenSet = true; m_workbookId = value; }
57 
63  inline void SetWorkbookId(Aws::String&& value) { m_workbookIdHasBeenSet = true; m_workbookId = std::move(value); }
64 
70  inline void SetWorkbookId(const char* value) { m_workbookIdHasBeenSet = true; m_workbookId.assign(value); }
71 
77  inline BatchUpsertTableRowsRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;}
78 
84  inline BatchUpsertTableRowsRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;}
85 
91  inline BatchUpsertTableRowsRequest& WithWorkbookId(const char* value) { SetWorkbookId(value); return *this;}
92 
93 
99  inline const Aws::String& GetTableId() const{ return m_tableId; }
100 
106  inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
107 
113  inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; }
114 
120  inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); }
121 
127  inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); }
128 
134  inline BatchUpsertTableRowsRequest& WithTableId(const Aws::String& value) { SetTableId(value); return *this;}
135 
141  inline BatchUpsertTableRowsRequest& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;}
142 
148  inline BatchUpsertTableRowsRequest& WithTableId(const char* value) { SetTableId(value); return *this;}
149 
150 
161  inline const Aws::Vector<UpsertRowData>& GetRowsToUpsert() const{ return m_rowsToUpsert; }
162 
173  inline bool RowsToUpsertHasBeenSet() const { return m_rowsToUpsertHasBeenSet; }
174 
185  inline void SetRowsToUpsert(const Aws::Vector<UpsertRowData>& value) { m_rowsToUpsertHasBeenSet = true; m_rowsToUpsert = value; }
186 
197  inline void SetRowsToUpsert(Aws::Vector<UpsertRowData>&& value) { m_rowsToUpsertHasBeenSet = true; m_rowsToUpsert = std::move(value); }
198 
209  inline BatchUpsertTableRowsRequest& WithRowsToUpsert(const Aws::Vector<UpsertRowData>& value) { SetRowsToUpsert(value); return *this;}
210 
221  inline BatchUpsertTableRowsRequest& WithRowsToUpsert(Aws::Vector<UpsertRowData>&& value) { SetRowsToUpsert(std::move(value)); return *this;}
222 
233  inline BatchUpsertTableRowsRequest& AddRowsToUpsert(const UpsertRowData& value) { m_rowsToUpsertHasBeenSet = true; m_rowsToUpsert.push_back(value); return *this; }
234 
245  inline BatchUpsertTableRowsRequest& AddRowsToUpsert(UpsertRowData&& value) { m_rowsToUpsertHasBeenSet = true; m_rowsToUpsert.push_back(std::move(value)); return *this; }
246 
247 
257  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
258 
268  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
269 
279  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
280 
290  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
291 
301  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
302 
312  inline BatchUpsertTableRowsRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
313 
323  inline BatchUpsertTableRowsRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
324 
334  inline BatchUpsertTableRowsRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
335 
336  private:
337 
338  Aws::String m_workbookId;
339  bool m_workbookIdHasBeenSet;
340 
341  Aws::String m_tableId;
342  bool m_tableIdHasBeenSet;
343 
344  Aws::Vector<UpsertRowData> m_rowsToUpsert;
345  bool m_rowsToUpsertHasBeenSet;
346 
347  Aws::String m_clientRequestToken;
348  bool m_clientRequestTokenHasBeenSet;
349  };
350 
351 } // namespace Model
352 } // namespace Honeycode
353 } // namespace Aws
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetTableId
void SetTableId(Aws::String &&value)
Definition: BatchUpsertTableRowsRequest.h:120
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::AddRowsToUpsert
BatchUpsertTableRowsRequest & AddRowsToUpsert(const UpsertRowData &value)
Definition: BatchUpsertTableRowsRequest.h:233
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetTableId
void SetTableId(const char *value)
Definition: BatchUpsertTableRowsRequest.h:127
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: BatchUpsertTableRowsRequest.h:268
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::GetWorkbookId
const Aws::String & GetWorkbookId() const
Definition: BatchUpsertTableRowsRequest.h:42
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithClientRequestToken
BatchUpsertTableRowsRequest & WithClientRequestToken(const char *value)
Definition: BatchUpsertTableRowsRequest.h:334
HoneycodeRequest.h
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetWorkbookId
void SetWorkbookId(const Aws::String &value)
Definition: BatchUpsertTableRowsRequest.h:56
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithTableId
BatchUpsertTableRowsRequest & WithTableId(const Aws::String &value)
Definition: BatchUpsertTableRowsRequest.h:134
AWS_HONEYCODE_API
#define AWS_HONEYCODE_API
Definition: Honeycode_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetTableId
void SetTableId(const Aws::String &value)
Definition: BatchUpsertTableRowsRequest.h:113
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithWorkbookId
BatchUpsertTableRowsRequest & WithWorkbookId(const Aws::String &value)
Definition: BatchUpsertTableRowsRequest.h:77
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::GetTableId
const Aws::String & GetTableId() const
Definition: BatchUpsertTableRowsRequest.h:99
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithRowsToUpsert
BatchUpsertTableRowsRequest & WithRowsToUpsert(const Aws::Vector< UpsertRowData > &value)
Definition: BatchUpsertTableRowsRequest.h:209
AWSVector.h
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithClientRequestToken
BatchUpsertTableRowsRequest & WithClientRequestToken(Aws::String &&value)
Definition: BatchUpsertTableRowsRequest.h:323
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithWorkbookId
BatchUpsertTableRowsRequest & WithWorkbookId(Aws::String &&value)
Definition: BatchUpsertTableRowsRequest.h:84
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithWorkbookId
BatchUpsertTableRowsRequest & WithWorkbookId(const char *value)
Definition: BatchUpsertTableRowsRequest.h:91
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::BatchUpsertTableRowsRequest
BatchUpsertTableRowsRequest()
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithRowsToUpsert
BatchUpsertTableRowsRequest & WithRowsToUpsert(Aws::Vector< UpsertRowData > &&value)
Definition: BatchUpsertTableRowsRequest.h:221
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetWorkbookId
void SetWorkbookId(Aws::String &&value)
Definition: BatchUpsertTableRowsRequest.h:63
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: BatchUpsertTableRowsRequest.h:279
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: BatchUpsertTableRowsRequest.h:257
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::TableIdHasBeenSet
bool TableIdHasBeenSet() const
Definition: BatchUpsertTableRowsRequest.h:106
AWSString.h
Honeycode_EXPORTS.h
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::RowsToUpsertHasBeenSet
bool RowsToUpsertHasBeenSet() const
Definition: BatchUpsertTableRowsRequest.h:173
Aws::Honeycode::Model::UpsertRowData
Definition: UpsertRowData.h:36
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetRowsToUpsert
void SetRowsToUpsert(Aws::Vector< UpsertRowData > &&value)
Definition: BatchUpsertTableRowsRequest.h:197
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchUpsertTableRowsRequest.h:32
Aws::Honeycode::Model::BatchUpsertTableRowsRequest
Definition: BatchUpsertTableRowsRequest.h:24
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithTableId
BatchUpsertTableRowsRequest & WithTableId(Aws::String &&value)
Definition: BatchUpsertTableRowsRequest.h:141
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithClientRequestToken
BatchUpsertTableRowsRequest & WithClientRequestToken(const Aws::String &value)
Definition: BatchUpsertTableRowsRequest.h:312
Aws
Definition: AccessManagementClient.h:15
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: BatchUpsertTableRowsRequest.h:301
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WithTableId
BatchUpsertTableRowsRequest & WithTableId(const char *value)
Definition: BatchUpsertTableRowsRequest.h:148
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::AddRowsToUpsert
BatchUpsertTableRowsRequest & AddRowsToUpsert(UpsertRowData &&value)
Definition: BatchUpsertTableRowsRequest.h:245
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpsertRowData.h
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetRowsToUpsert
void SetRowsToUpsert(const Aws::Vector< UpsertRowData > &value)
Definition: BatchUpsertTableRowsRequest.h:185
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetWorkbookId
void SetWorkbookId(const char *value)
Definition: BatchUpsertTableRowsRequest.h:70
Aws::Honeycode::HoneycodeRequest
Definition: HoneycodeRequest.h:17
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::WorkbookIdHasBeenSet
bool WorkbookIdHasBeenSet() const
Definition: BatchUpsertTableRowsRequest.h:49
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::GetRowsToUpsert
const Aws::Vector< UpsertRowData > & GetRowsToUpsert() const
Definition: BatchUpsertTableRowsRequest.h:161
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Honeycode::Model::BatchUpsertTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: BatchUpsertTableRowsRequest.h:290