@@ -63,8 +63,7 @@ namespace Awstest
63
63
Aws::Crt::StringView,
64
64
Aws::Crt::Allocator *) noexcept ;
65
65
static void s_customDeleter (Customer *) noexcept ;
66
- /* This needs to be defined so that `Customer` can be used as a key in maps.
67
- */
66
+ /* This needs to be defined so that `Customer` can be used as a key in maps. */
68
67
bool operator <(const Customer &) const noexcept ;
69
68
static const char *MODEL_NAME;
70
69
@@ -159,8 +158,7 @@ namespace Awstest
159
158
Aws::Crt::StringView,
160
159
Aws::Crt::Allocator *) noexcept ;
161
160
static void s_customDeleter (MessageData *) noexcept ;
162
- /* This needs to be defined so that `MessageData` can be used as a key in
163
- * maps. */
161
+ /* This needs to be defined so that `MessageData` can be used as a key in maps. */
164
162
bool operator <(const MessageData &) const noexcept ;
165
163
static const char *MODEL_NAME;
166
164
@@ -223,8 +221,7 @@ namespace Awstest
223
221
Aws::Crt::StringView,
224
222
Aws::Crt::Allocator *) noexcept ;
225
223
static void s_customDeleter (EchoStreamingMessage *) noexcept ;
226
- /* This needs to be defined so that `EchoStreamingMessage` can be used as a
227
- * key in maps. */
224
+ /* This needs to be defined so that `EchoStreamingMessage` can be used as a key in maps. */
228
225
bool operator <(const EchoStreamingMessage &) const noexcept ;
229
226
static const char *MODEL_NAME;
230
227
@@ -254,8 +251,7 @@ namespace Awstest
254
251
Aws::Crt::StringView,
255
252
Aws::Crt::Allocator *) noexcept ;
256
253
static void s_customDeleter (GetAllProductsResponse *) noexcept ;
257
- /* This needs to be defined so that `GetAllProductsResponse` can be used as a
258
- * key in maps. */
254
+ /* This needs to be defined so that `GetAllProductsResponse` can be used as a key in maps. */
259
255
bool operator <(const GetAllProductsResponse &) const noexcept ;
260
256
static const char *MODEL_NAME;
261
257
@@ -277,8 +273,7 @@ namespace Awstest
277
273
Aws::Crt::StringView,
278
274
Aws::Crt::Allocator *) noexcept ;
279
275
static void s_customDeleter (GetAllProductsRequest *) noexcept ;
280
- /* This needs to be defined so that `GetAllProductsRequest` can be used as a
281
- * key in maps. */
276
+ /* This needs to be defined so that `GetAllProductsRequest` can be used as a key in maps. */
282
277
bool operator <(const GetAllProductsRequest &) const noexcept ;
283
278
static const char *MODEL_NAME;
284
279
@@ -301,8 +296,7 @@ namespace Awstest
301
296
Aws::Crt::StringView,
302
297
Aws::Crt::Allocator *) noexcept ;
303
298
static void s_customDeleter (GetAllCustomersResponse *) noexcept ;
304
- /* This needs to be defined so that `GetAllCustomersResponse` can be used as a
305
- * key in maps. */
299
+ /* This needs to be defined so that `GetAllCustomersResponse` can be used as a key in maps. */
306
300
bool operator <(const GetAllCustomersResponse &) const noexcept ;
307
301
static const char *MODEL_NAME;
308
302
@@ -324,8 +318,7 @@ namespace Awstest
324
318
Aws::Crt::StringView,
325
319
Aws::Crt::Allocator *) noexcept ;
326
320
static void s_customDeleter (GetAllCustomersRequest *) noexcept ;
327
- /* This needs to be defined so that `GetAllCustomersRequest` can be used as a
328
- * key in maps. */
321
+ /* This needs to be defined so that `GetAllCustomersRequest` can be used as a key in maps. */
329
322
bool operator <(const GetAllCustomersRequest &) const noexcept ;
330
323
static const char *MODEL_NAME;
331
324
@@ -348,8 +341,7 @@ namespace Awstest
348
341
Aws::Crt::StringView,
349
342
Aws::Crt::Allocator *) noexcept ;
350
343
static void s_customDeleter (EchoMessageResponse *) noexcept ;
351
- /* This needs to be defined so that `EchoMessageResponse` can be used as a key
352
- * in maps. */
344
+ /* This needs to be defined so that `EchoMessageResponse` can be used as a key in maps. */
353
345
bool operator <(const EchoMessageResponse &) const noexcept ;
354
346
static const char *MODEL_NAME;
355
347
@@ -373,8 +365,7 @@ namespace Awstest
373
365
Aws::Crt::StringView,
374
366
Aws::Crt::Allocator *) noexcept ;
375
367
static void s_customDeleter (EchoMessageRequest *) noexcept ;
376
- /* This needs to be defined so that `EchoMessageRequest` can be used as a key
377
- * in maps. */
368
+ /* This needs to be defined so that `EchoMessageRequest` can be used as a key in maps. */
378
369
bool operator <(const EchoMessageRequest &) const noexcept ;
379
370
static const char *MODEL_NAME;
380
371
@@ -396,8 +387,7 @@ namespace Awstest
396
387
Aws::Crt::StringView,
397
388
Aws::Crt::Allocator *) noexcept ;
398
389
static void s_customDeleter (EchoStreamingResponse *) noexcept ;
399
- /* This needs to be defined so that `EchoStreamingResponse` can be used as a
400
- * key in maps. */
390
+ /* This needs to be defined so that `EchoStreamingResponse` can be used as a key in maps. */
401
391
bool operator <(const EchoStreamingResponse &) const noexcept ;
402
392
static const char *MODEL_NAME;
403
393
@@ -418,8 +408,7 @@ namespace Awstest
418
408
Aws::Crt::StringView,
419
409
Aws::Crt::Allocator *) noexcept ;
420
410
static void s_customDeleter (EchoStreamingRequest *) noexcept ;
421
- /* This needs to be defined so that `EchoStreamingRequest` can be used as a
422
- * key in maps. */
411
+ /* This needs to be defined so that `EchoStreamingRequest` can be used as a key in maps. */
423
412
bool operator <(const EchoStreamingRequest &) const noexcept ;
424
413
static const char *MODEL_NAME;
425
414
@@ -444,8 +433,7 @@ namespace Awstest
444
433
Aws::Crt::StringView,
445
434
Aws::Crt::Allocator *) noexcept ;
446
435
static void s_customDeleter (ServiceError *) noexcept ;
447
- /* This needs to be defined so that `ServiceError` can be used as a key in
448
- * maps. */
436
+ /* This needs to be defined so that `ServiceError` can be used as a key in maps. */
449
437
bool operator <(const ServiceError &) const noexcept ;
450
438
static const char *MODEL_NAME;
451
439
@@ -468,8 +456,7 @@ namespace Awstest
468
456
Aws::Crt::StringView,
469
457
Aws::Crt::Allocator *) noexcept ;
470
458
static void s_customDeleter (CauseServiceErrorResponse *) noexcept ;
471
- /* This needs to be defined so that `CauseServiceErrorResponse` can be used as
472
- * a key in maps. */
459
+ /* This needs to be defined so that `CauseServiceErrorResponse` can be used as a key in maps. */
473
460
bool operator <(const CauseServiceErrorResponse &) const noexcept ;
474
461
static const char *MODEL_NAME;
475
462
@@ -490,8 +477,7 @@ namespace Awstest
490
477
Aws::Crt::StringView,
491
478
Aws::Crt::Allocator *) noexcept ;
492
479
static void s_customDeleter (CauseServiceErrorRequest *) noexcept ;
493
- /* This needs to be defined so that `CauseServiceErrorRequest` can be used as
494
- * a key in maps. */
480
+ /* This needs to be defined so that `CauseServiceErrorRequest` can be used as a key in maps. */
495
481
bool operator <(const CauseServiceErrorRequest &) const noexcept ;
496
482
static const char *MODEL_NAME;
497
483
@@ -549,10 +535,8 @@ namespace Awstest
549
535
/* *
550
536
* Used to activate a stream for the `GetAllProductsOperation`
551
537
* @param request The request used for the `GetAllProductsOperation`
552
- * @param onMessageFlushCallback An optional callback that is invoked when the
553
- * request is flushed.
554
- * @return An `RpcError` that can be used to check whether the stream was
555
- * activated.
538
+ * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
539
+ * @return An `RpcError` that can be used to check whether the stream was activated.
556
540
*/
557
541
std::future<RpcError> Activate (
558
542
const GetAllProductsRequest &request,
@@ -614,10 +598,8 @@ namespace Awstest
614
598
/* *
615
599
* Used to activate a stream for the `CauseServiceErrorOperation`
616
600
* @param request The request used for the `CauseServiceErrorOperation`
617
- * @param onMessageFlushCallback An optional callback that is invoked when the
618
- * request is flushed.
619
- * @return An `RpcError` that can be used to check whether the stream was
620
- * activated.
601
+ * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
602
+ * @return An `RpcError` that can be used to check whether the stream was activated.
621
603
*/
622
604
std::future<RpcError> Activate (
623
605
const CauseServiceErrorRequest &request,
@@ -637,10 +619,8 @@ namespace Awstest
637
619
virtual void OnStreamEvent (EchoStreamingMessage *response) { (void )response; }
638
620
639
621
/* *
640
- * A callback that is invoked when an error occurs while parsing a message
641
- * from the stream.
642
- * @param rpcError The RPC error containing the status and possibly a CRT
643
- * error.
622
+ * A callback that is invoked when an error occurs while parsing a message from the stream.
623
+ * @param rpcError The RPC error containing the status and possibly a CRT error.
644
624
*/
645
625
virtual bool OnStreamError (RpcError rpcError)
646
626
{
@@ -659,8 +639,7 @@ namespace Awstest
659
639
}
660
640
661
641
/* *
662
- * A callback that is invoked upon receiving ANY error response from the
663
- * server.
642
+ * A callback that is invoked upon receiving ANY error response from the server.
664
643
* @param operationError The error message being received.
665
644
*/
666
645
virtual bool OnStreamError (OperationError *operationError)
@@ -675,8 +654,7 @@ namespace Awstest
675
654
*/
676
655
void OnStreamEvent (Aws::Crt::ScopedResource<AbstractShapeBase> response) override ;
677
656
/* *
678
- * Invoked when a message is received on this continuation but results in an
679
- * error.
657
+ * Invoked when a message is received on this continuation but results in an error.
680
658
*
681
659
* This callback can return true so that the stream is closed afterwards.
682
660
*/
@@ -732,12 +710,9 @@ namespace Awstest
732
710
Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept ;
733
711
/* *
734
712
* Used to activate a stream for the `CauseStreamServiceToErrorOperation`
735
- * @param request The request used for the
736
- * `CauseStreamServiceToErrorOperation`
737
- * @param onMessageFlushCallback An optional callback that is invoked when the
738
- * request is flushed.
739
- * @return An `RpcError` that can be used to check whether the stream was
740
- * activated.
713
+ * @param request The request used for the `CauseStreamServiceToErrorOperation`
714
+ * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
715
+ * @return An `RpcError` that can be used to check whether the stream was activated.
741
716
*/
742
717
std::future<RpcError> Activate (
743
718
const EchoStreamingRequest &request,
@@ -757,10 +732,8 @@ namespace Awstest
757
732
virtual void OnStreamEvent (EchoStreamingMessage *response) { (void )response; }
758
733
759
734
/* *
760
- * A callback that is invoked when an error occurs while parsing a message
761
- * from the stream.
762
- * @param rpcError The RPC error containing the status and possibly a CRT
763
- * error.
735
+ * A callback that is invoked when an error occurs while parsing a message from the stream.
736
+ * @param rpcError The RPC error containing the status and possibly a CRT error.
764
737
*/
765
738
virtual bool OnStreamError (RpcError rpcError)
766
739
{
@@ -769,8 +742,7 @@ namespace Awstest
769
742
}
770
743
771
744
/* *
772
- * A callback that is invoked upon receiving ANY error response from the
773
- * server.
745
+ * A callback that is invoked upon receiving ANY error response from the server.
774
746
* @param operationError The error message being received.
775
747
*/
776
748
virtual bool OnStreamError (OperationError *operationError)
@@ -785,8 +757,7 @@ namespace Awstest
785
757
*/
786
758
void OnStreamEvent (Aws::Crt::ScopedResource<AbstractShapeBase> response) override ;
787
759
/* *
788
- * Invoked when a message is received on this continuation but results in an
789
- * error.
760
+ * Invoked when a message is received on this continuation but results in an error.
790
761
*
791
762
* This callback can return true so that the stream is closed afterwards.
792
763
*/
@@ -841,10 +812,8 @@ namespace Awstest
841
812
/* *
842
813
* Used to activate a stream for the `EchoStreamMessagesOperation`
843
814
* @param request The request used for the `EchoStreamMessagesOperation`
844
- * @param onMessageFlushCallback An optional callback that is invoked when the
845
- * request is flushed.
846
- * @return An `RpcError` that can be used to check whether the stream was
847
- * activated.
815
+ * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
816
+ * @return An `RpcError` that can be used to check whether the stream was activated.
848
817
*/
849
818
std::future<RpcError> Activate (
850
819
const EchoStreamingRequest &request,
@@ -906,10 +875,8 @@ namespace Awstest
906
875
/* *
907
876
* Used to activate a stream for the `EchoMessageOperation`
908
877
* @param request The request used for the `EchoMessageOperation`
909
- * @param onMessageFlushCallback An optional callback that is invoked when the
910
- * request is flushed.
911
- * @return An `RpcError` that can be used to check whether the stream was
912
- * activated.
878
+ * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
879
+ * @return An `RpcError` that can be used to check whether the stream was activated.
913
880
*/
914
881
std::future<RpcError> Activate (
915
882
const EchoMessageRequest &request,
@@ -971,10 +938,8 @@ namespace Awstest
971
938
/* *
972
939
* Used to activate a stream for the `GetAllCustomersOperation`
973
940
* @param request The request used for the `GetAllCustomersOperation`
974
- * @param onMessageFlushCallback An optional callback that is invoked when the
975
- * request is flushed.
976
- * @return An `RpcError` that can be used to check whether the stream was
977
- * activated.
941
+ * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed.
942
+ * @return An `RpcError` that can be used to check whether the stream was activated.
978
943
*/
979
944
std::future<RpcError> Activate (
980
945
const GetAllCustomersRequest &request,
0 commit comments