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