@@ -61,7 +61,8 @@ namespace Awstest
61
61
Aws::Crt::StringView,
62
62
Aws::Crt::Allocator *) noexcept ;
63
63
static void s_customDeleter (Customer *) noexcept ;
64
- /* This needs to be defined so that `Customer` can be used as a key in maps. */
64
+ /* This needs to be defined so that `Customer` can be used as a key in maps.
65
+ */
65
66
bool operator <(const Customer &) const noexcept ;
66
67
static const char *MODEL_NAME;
67
68
@@ -156,7 +157,8 @@ namespace Awstest
156
157
Aws::Crt::StringView,
157
158
Aws::Crt::Allocator *) noexcept ;
158
159
static void s_customDeleter (MessageData *) noexcept ;
159
- /* This needs to be defined so that `MessageData` can be used as a key in maps. */
160
+ /* This needs to be defined so that `MessageData` can be used as a key in
161
+ * maps. */
160
162
bool operator <(const MessageData &) const noexcept ;
161
163
static const char *MODEL_NAME;
162
164
@@ -219,7 +221,8 @@ namespace Awstest
219
221
Aws::Crt::StringView,
220
222
Aws::Crt::Allocator *) noexcept ;
221
223
static void s_customDeleter (EchoStreamingMessage *) noexcept ;
222
- /* This needs to be defined so that `EchoStreamingMessage` can be used as a key in maps. */
224
+ /* This needs to be defined so that `EchoStreamingMessage` can be used as a
225
+ * key in maps. */
223
226
bool operator <(const EchoStreamingMessage &) const noexcept ;
224
227
static const char *MODEL_NAME;
225
228
@@ -249,7 +252,8 @@ namespace Awstest
249
252
Aws::Crt::StringView,
250
253
Aws::Crt::Allocator *) noexcept ;
251
254
static void s_customDeleter (GetAllProductsResponse *) noexcept ;
252
- /* This needs to be defined so that `GetAllProductsResponse` can be used as a key in maps. */
255
+ /* This needs to be defined so that `GetAllProductsResponse` can be used as a
256
+ * key in maps. */
253
257
bool operator <(const GetAllProductsResponse &) const noexcept ;
254
258
static const char *MODEL_NAME;
255
259
@@ -271,7 +275,8 @@ namespace Awstest
271
275
Aws::Crt::StringView,
272
276
Aws::Crt::Allocator *) noexcept ;
273
277
static void s_customDeleter (GetAllProductsRequest *) noexcept ;
274
- /* This needs to be defined so that `GetAllProductsRequest` can be used as a key in maps. */
278
+ /* This needs to be defined so that `GetAllProductsRequest` can be used as a
279
+ * key in maps. */
275
280
bool operator <(const GetAllProductsRequest &) const noexcept ;
276
281
static const char *MODEL_NAME;
277
282
@@ -294,7 +299,8 @@ namespace Awstest
294
299
Aws::Crt::StringView,
295
300
Aws::Crt::Allocator *) noexcept ;
296
301
static void s_customDeleter (GetAllCustomersResponse *) noexcept ;
297
- /* This needs to be defined so that `GetAllCustomersResponse` can be used as a key in maps. */
302
+ /* This needs to be defined so that `GetAllCustomersResponse` can be used as a
303
+ * key in maps. */
298
304
bool operator <(const GetAllCustomersResponse &) const noexcept ;
299
305
static const char *MODEL_NAME;
300
306
@@ -316,7 +322,8 @@ namespace Awstest
316
322
Aws::Crt::StringView,
317
323
Aws::Crt::Allocator *) noexcept ;
318
324
static void s_customDeleter (GetAllCustomersRequest *) noexcept ;
319
- /* This needs to be defined so that `GetAllCustomersRequest` can be used as a key in maps. */
325
+ /* This needs to be defined so that `GetAllCustomersRequest` can be used as a
326
+ * key in maps. */
320
327
bool operator <(const GetAllCustomersRequest &) const noexcept ;
321
328
static const char *MODEL_NAME;
322
329
@@ -339,7 +346,8 @@ namespace Awstest
339
346
Aws::Crt::StringView,
340
347
Aws::Crt::Allocator *) noexcept ;
341
348
static void s_customDeleter (EchoMessageResponse *) noexcept ;
342
- /* This needs to be defined so that `EchoMessageResponse` can be used as a key in maps. */
349
+ /* This needs to be defined so that `EchoMessageResponse` can be used as a key
350
+ * in maps. */
343
351
bool operator <(const EchoMessageResponse &) const noexcept ;
344
352
static const char *MODEL_NAME;
345
353
@@ -363,7 +371,8 @@ namespace Awstest
363
371
Aws::Crt::StringView,
364
372
Aws::Crt::Allocator *) noexcept ;
365
373
static void s_customDeleter (EchoMessageRequest *) noexcept ;
366
- /* This needs to be defined so that `EchoMessageRequest` can be used as a key in maps. */
374
+ /* This needs to be defined so that `EchoMessageRequest` can be used as a key
375
+ * in maps. */
367
376
bool operator <(const EchoMessageRequest &) const noexcept ;
368
377
static const char *MODEL_NAME;
369
378
@@ -385,7 +394,8 @@ namespace Awstest
385
394
Aws::Crt::StringView,
386
395
Aws::Crt::Allocator *) noexcept ;
387
396
static void s_customDeleter (EchoStreamingResponse *) noexcept ;
388
- /* This needs to be defined so that `EchoStreamingResponse` can be used as a key in maps. */
397
+ /* This needs to be defined so that `EchoStreamingResponse` can be used as a
398
+ * key in maps. */
389
399
bool operator <(const EchoStreamingResponse &) const noexcept ;
390
400
static const char *MODEL_NAME;
391
401
@@ -406,7 +416,8 @@ namespace Awstest
406
416
Aws::Crt::StringView,
407
417
Aws::Crt::Allocator *) noexcept ;
408
418
static void s_customDeleter (EchoStreamingRequest *) noexcept ;
409
- /* This needs to be defined so that `EchoStreamingRequest` can be used as a key in maps. */
419
+ /* This needs to be defined so that `EchoStreamingRequest` can be used as a
420
+ * key in maps. */
410
421
bool operator <(const EchoStreamingRequest &) const noexcept ;
411
422
static const char *MODEL_NAME;
412
423
@@ -431,7 +442,8 @@ namespace Awstest
431
442
Aws::Crt::StringView,
432
443
Aws::Crt::Allocator *) noexcept ;
433
444
static void s_customDeleter (ServiceError *) noexcept ;
434
- /* This needs to be defined so that `ServiceError` can be used as a key in maps. */
445
+ /* This needs to be defined so that `ServiceError` can be used as a key in
446
+ * maps. */
435
447
bool operator <(const ServiceError &) const noexcept ;
436
448
static const char *MODEL_NAME;
437
449
@@ -454,7 +466,8 @@ namespace Awstest
454
466
Aws::Crt::StringView,
455
467
Aws::Crt::Allocator *) noexcept ;
456
468
static void s_customDeleter (CauseServiceErrorResponse *) noexcept ;
457
- /* This needs to be defined so that `CauseServiceErrorResponse` can be used as a key in maps. */
469
+ /* This needs to be defined so that `CauseServiceErrorResponse` can be used as
470
+ * a key in maps. */
458
471
bool operator <(const CauseServiceErrorResponse &) const noexcept ;
459
472
static const char *MODEL_NAME;
460
473
@@ -475,7 +488,8 @@ namespace Awstest
475
488
Aws::Crt::StringView,
476
489
Aws::Crt::Allocator *) noexcept ;
477
490
static void s_customDeleter (CauseServiceErrorRequest *) noexcept ;
478
- /* This needs to be defined so that `CauseServiceErrorRequest` can be used as a key in maps. */
491
+ /* This needs to be defined so that `CauseServiceErrorRequest` can be used as
492
+ * a key in maps. */
479
493
bool operator <(const CauseServiceErrorRequest &) const noexcept ;
480
494
static const char *MODEL_NAME;
481
495
@@ -533,8 +547,10 @@ namespace Awstest
533
547
/* *
534
548
* Used to activate a stream for the `GetAllProductsOperation`
535
549
* @param request The request used for the `GetAllProductsOperation`
536
- * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
537
- * @return An `RpcError` that can be used to check whether the stream was activated.
550
+ * @param onMessageFlushCallback An optional callback that is invoked when the
551
+ * request is flushed.
552
+ * @return An `RpcError` that can be used to check whether the stream was
553
+ * activated.
538
554
*/
539
555
std::future<RpcError> Activate (
540
556
const GetAllProductsRequest &request,
@@ -596,8 +612,10 @@ namespace Awstest
596
612
/* *
597
613
* Used to activate a stream for the `CauseServiceErrorOperation`
598
614
* @param request The request used for the `CauseServiceErrorOperation`
599
- * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
600
- * @return An `RpcError` that can be used to check whether the stream was activated.
615
+ * @param onMessageFlushCallback An optional callback that is invoked when the
616
+ * request is flushed.
617
+ * @return An `RpcError` that can be used to check whether the stream was
618
+ * activated.
601
619
*/
602
620
std::future<RpcError> Activate (
603
621
const CauseServiceErrorRequest &request,
@@ -617,8 +635,10 @@ namespace Awstest
617
635
virtual void OnStreamEvent (EchoStreamingMessage *response) { (void )response; }
618
636
619
637
/* *
620
- * A callback that is invoked when an error occurs while parsing a message from the stream.
621
- * @param rpcError The RPC error containing the status and possibly a CRT error.
638
+ * A callback that is invoked when an error occurs while parsing a message
639
+ * from the stream.
640
+ * @param rpcError The RPC error containing the status and possibly a CRT
641
+ * error.
622
642
*/
623
643
virtual bool OnStreamError (RpcError rpcError)
624
644
{
@@ -637,7 +657,8 @@ namespace Awstest
637
657
}
638
658
639
659
/* *
640
- * A callback that is invoked upon receiving ANY error response from the server.
660
+ * A callback that is invoked upon receiving ANY error response from the
661
+ * server.
641
662
* @param operationError The error message being received.
642
663
*/
643
664
virtual bool OnStreamError (OperationError *operationError)
@@ -652,7 +673,8 @@ namespace Awstest
652
673
*/
653
674
void OnStreamEvent (Aws::Crt::ScopedResource<AbstractShapeBase> response) override ;
654
675
/* *
655
- * Invoked when a message is received on this continuation but results in an error.
676
+ * Invoked when a message is received on this continuation but results in an
677
+ * error.
656
678
*
657
679
* This callback can return true so that the stream is closed afterwards.
658
680
*/
@@ -708,9 +730,12 @@ namespace Awstest
708
730
Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept ;
709
731
/* *
710
732
* Used to activate a stream for the `CauseStreamServiceToErrorOperation`
711
- * @param request The request used for the `CauseStreamServiceToErrorOperation`
712
- * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
713
- * @return An `RpcError` that can be used to check whether the stream was activated.
733
+ * @param request The request used for the
734
+ * `CauseStreamServiceToErrorOperation`
735
+ * @param onMessageFlushCallback An optional callback that is invoked when the
736
+ * request is flushed.
737
+ * @return An `RpcError` that can be used to check whether the stream was
738
+ * activated.
714
739
*/
715
740
std::future<RpcError> Activate (
716
741
const EchoStreamingRequest &request,
@@ -730,8 +755,10 @@ namespace Awstest
730
755
virtual void OnStreamEvent (EchoStreamingMessage *response) { (void )response; }
731
756
732
757
/* *
733
- * A callback that is invoked when an error occurs while parsing a message from the stream.
734
- * @param rpcError The RPC error containing the status and possibly a CRT error.
758
+ * A callback that is invoked when an error occurs while parsing a message
759
+ * from the stream.
760
+ * @param rpcError The RPC error containing the status and possibly a CRT
761
+ * error.
735
762
*/
736
763
virtual bool OnStreamError (RpcError rpcError)
737
764
{
@@ -740,7 +767,8 @@ namespace Awstest
740
767
}
741
768
742
769
/* *
743
- * A callback that is invoked upon receiving ANY error response from the server.
770
+ * A callback that is invoked upon receiving ANY error response from the
771
+ * server.
744
772
* @param operationError The error message being received.
745
773
*/
746
774
virtual bool OnStreamError (OperationError *operationError)
@@ -755,7 +783,8 @@ namespace Awstest
755
783
*/
756
784
void OnStreamEvent (Aws::Crt::ScopedResource<AbstractShapeBase> response) override ;
757
785
/* *
758
- * Invoked when a message is received on this continuation but results in an error.
786
+ * Invoked when a message is received on this continuation but results in an
787
+ * error.
759
788
*
760
789
* This callback can return true so that the stream is closed afterwards.
761
790
*/
@@ -810,8 +839,10 @@ namespace Awstest
810
839
/* *
811
840
* Used to activate a stream for the `EchoStreamMessagesOperation`
812
841
* @param request The request used for the `EchoStreamMessagesOperation`
813
- * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
814
- * @return An `RpcError` that can be used to check whether the stream was activated.
842
+ * @param onMessageFlushCallback An optional callback that is invoked when the
843
+ * request is flushed.
844
+ * @return An `RpcError` that can be used to check whether the stream was
845
+ * activated.
815
846
*/
816
847
std::future<RpcError> Activate (
817
848
const EchoStreamingRequest &request,
@@ -873,8 +904,10 @@ namespace Awstest
873
904
/* *
874
905
* Used to activate a stream for the `EchoMessageOperation`
875
906
* @param request The request used for the `EchoMessageOperation`
876
- * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
877
- * @return An `RpcError` that can be used to check whether the stream was activated.
907
+ * @param onMessageFlushCallback An optional callback that is invoked when the
908
+ * request is flushed.
909
+ * @return An `RpcError` that can be used to check whether the stream was
910
+ * activated.
878
911
*/
879
912
std::future<RpcError> Activate (
880
913
const EchoMessageRequest &request,
@@ -936,8 +969,10 @@ namespace Awstest
936
969
/* *
937
970
* Used to activate a stream for the `GetAllCustomersOperation`
938
971
* @param request The request used for the `GetAllCustomersOperation`
939
- * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
940
- * @return An `RpcError` that can be used to check whether the stream was activated.
972
+ * @param onMessageFlushCallback An optional callback that is invoked when the
973
+ * request is flushed.
974
+ * @return An `RpcError` that can be used to check whether the stream was
975
+ * activated.
941
976
*/
942
977
std::future<RpcError> Activate (
943
978
const GetAllCustomersRequest &request,
0 commit comments