1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package braket
4
5import (
6	"fmt"
7	"time"
8
9	"github.com/aws/aws-sdk-go/aws"
10	"github.com/aws/aws-sdk-go/aws/awsutil"
11	"github.com/aws/aws-sdk-go/aws/request"
12	"github.com/aws/aws-sdk-go/private/protocol"
13	"github.com/aws/aws-sdk-go/private/protocol/restjson"
14)
15
16const opCancelQuantumTask = "CancelQuantumTask"
17
18// CancelQuantumTaskRequest generates a "aws/request.Request" representing the
19// client's request for the CancelQuantumTask operation. The "output" return
20// value will be populated with the request's response once the request completes
21// successfully.
22//
23// Use "Send" method on the returned Request to send the API call to the service.
24// the "output" return value is not valid until after Send returns without error.
25//
26// See CancelQuantumTask for more information on using the CancelQuantumTask
27// API call, and error handling.
28//
29// This method is useful when you want to inject custom logic or configuration
30// into the SDK's request lifecycle. Such as custom headers, or retry logic.
31//
32//
33//    // Example sending a request using the CancelQuantumTaskRequest method.
34//    req, resp := client.CancelQuantumTaskRequest(params)
35//
36//    err := req.Send()
37//    if err == nil { // resp is now filled
38//        fmt.Println(resp)
39//    }
40//
41// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTask
42func (c *Braket) CancelQuantumTaskRequest(input *CancelQuantumTaskInput) (req *request.Request, output *CancelQuantumTaskOutput) {
43	op := &request.Operation{
44		Name:       opCancelQuantumTask,
45		HTTPMethod: "PUT",
46		HTTPPath:   "/quantum-task/{quantumTaskArn}/cancel",
47	}
48
49	if input == nil {
50		input = &CancelQuantumTaskInput{}
51	}
52
53	output = &CancelQuantumTaskOutput{}
54	req = c.newRequest(op, input, output)
55	return
56}
57
58// CancelQuantumTask API operation for Braket.
59//
60// Cancels the specified task.
61//
62// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
63// with awserr.Error's Code and Message methods to get detailed information about
64// the error.
65//
66// See the AWS API reference guide for Braket's
67// API operation CancelQuantumTask for usage and error information.
68//
69// Returned Error Types:
70//   * ResourceNotFoundException
71//   The specified resource was not found.
72//
73//   * AccessDeniedException
74//   You do not have sufficient access to perform this action.
75//
76//   * ConflictException
77//   An error occurred due to a conflict.
78//
79//   * ThrottlingException
80//   The throttling rate limit is met.
81//
82//   * InternalServiceException
83//   The request processing has failed because of an unknown error, exception,
84//   or failure.
85//
86//   * ValidationException
87//   The input fails to satisfy the constraints specified by an AWS service.
88//
89// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTask
90func (c *Braket) CancelQuantumTask(input *CancelQuantumTaskInput) (*CancelQuantumTaskOutput, error) {
91	req, out := c.CancelQuantumTaskRequest(input)
92	return out, req.Send()
93}
94
95// CancelQuantumTaskWithContext is the same as CancelQuantumTask with the addition of
96// the ability to pass a context and additional request options.
97//
98// See CancelQuantumTask for details on how to use this API operation.
99//
100// The context must be non-nil and will be used for request cancellation. If
101// the context is nil a panic will occur. In the future the SDK may create
102// sub-contexts for http.Requests. See https://golang.org/pkg/context/
103// for more information on using Contexts.
104func (c *Braket) CancelQuantumTaskWithContext(ctx aws.Context, input *CancelQuantumTaskInput, opts ...request.Option) (*CancelQuantumTaskOutput, error) {
105	req, out := c.CancelQuantumTaskRequest(input)
106	req.SetContext(ctx)
107	req.ApplyOptions(opts...)
108	return out, req.Send()
109}
110
111const opCreateQuantumTask = "CreateQuantumTask"
112
113// CreateQuantumTaskRequest generates a "aws/request.Request" representing the
114// client's request for the CreateQuantumTask operation. The "output" return
115// value will be populated with the request's response once the request completes
116// successfully.
117//
118// Use "Send" method on the returned Request to send the API call to the service.
119// the "output" return value is not valid until after Send returns without error.
120//
121// See CreateQuantumTask for more information on using the CreateQuantumTask
122// API call, and error handling.
123//
124// This method is useful when you want to inject custom logic or configuration
125// into the SDK's request lifecycle. Such as custom headers, or retry logic.
126//
127//
128//    // Example sending a request using the CreateQuantumTaskRequest method.
129//    req, resp := client.CreateQuantumTaskRequest(params)
130//
131//    err := req.Send()
132//    if err == nil { // resp is now filled
133//        fmt.Println(resp)
134//    }
135//
136// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTask
137func (c *Braket) CreateQuantumTaskRequest(input *CreateQuantumTaskInput) (req *request.Request, output *CreateQuantumTaskOutput) {
138	op := &request.Operation{
139		Name:       opCreateQuantumTask,
140		HTTPMethod: "POST",
141		HTTPPath:   "/quantum-task",
142	}
143
144	if input == nil {
145		input = &CreateQuantumTaskInput{}
146	}
147
148	output = &CreateQuantumTaskOutput{}
149	req = c.newRequest(op, input, output)
150	return
151}
152
153// CreateQuantumTask API operation for Braket.
154//
155// Creates a quantum task.
156//
157// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
158// with awserr.Error's Code and Message methods to get detailed information about
159// the error.
160//
161// See the AWS API reference guide for Braket's
162// API operation CreateQuantumTask for usage and error information.
163//
164// Returned Error Types:
165//   * AccessDeniedException
166//   You do not have sufficient access to perform this action.
167//
168//   * ThrottlingException
169//   The throttling rate limit is met.
170//
171//   * DeviceOfflineException
172//   The specified device is currently offline.
173//
174//   * InternalServiceException
175//   The request processing has failed because of an unknown error, exception,
176//   or failure.
177//
178//   * ServiceQuotaExceededException
179//   The request failed because a service quota is exceeded.
180//
181//   * ValidationException
182//   The input fails to satisfy the constraints specified by an AWS service.
183//
184// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTask
185func (c *Braket) CreateQuantumTask(input *CreateQuantumTaskInput) (*CreateQuantumTaskOutput, error) {
186	req, out := c.CreateQuantumTaskRequest(input)
187	return out, req.Send()
188}
189
190// CreateQuantumTaskWithContext is the same as CreateQuantumTask with the addition of
191// the ability to pass a context and additional request options.
192//
193// See CreateQuantumTask for details on how to use this API operation.
194//
195// The context must be non-nil and will be used for request cancellation. If
196// the context is nil a panic will occur. In the future the SDK may create
197// sub-contexts for http.Requests. See https://golang.org/pkg/context/
198// for more information on using Contexts.
199func (c *Braket) CreateQuantumTaskWithContext(ctx aws.Context, input *CreateQuantumTaskInput, opts ...request.Option) (*CreateQuantumTaskOutput, error) {
200	req, out := c.CreateQuantumTaskRequest(input)
201	req.SetContext(ctx)
202	req.ApplyOptions(opts...)
203	return out, req.Send()
204}
205
206const opGetDevice = "GetDevice"
207
208// GetDeviceRequest generates a "aws/request.Request" representing the
209// client's request for the GetDevice operation. The "output" return
210// value will be populated with the request's response once the request completes
211// successfully.
212//
213// Use "Send" method on the returned Request to send the API call to the service.
214// the "output" return value is not valid until after Send returns without error.
215//
216// See GetDevice for more information on using the GetDevice
217// API call, and error handling.
218//
219// This method is useful when you want to inject custom logic or configuration
220// into the SDK's request lifecycle. Such as custom headers, or retry logic.
221//
222//
223//    // Example sending a request using the GetDeviceRequest method.
224//    req, resp := client.GetDeviceRequest(params)
225//
226//    err := req.Send()
227//    if err == nil { // resp is now filled
228//        fmt.Println(resp)
229//    }
230//
231// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetDevice
232func (c *Braket) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) {
233	op := &request.Operation{
234		Name:       opGetDevice,
235		HTTPMethod: "GET",
236		HTTPPath:   "/device/{deviceArn}",
237	}
238
239	if input == nil {
240		input = &GetDeviceInput{}
241	}
242
243	output = &GetDeviceOutput{}
244	req = c.newRequest(op, input, output)
245	return
246}
247
248// GetDevice API operation for Braket.
249//
250// Retrieves the devices available in Amazon Braket.
251//
252// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
253// with awserr.Error's Code and Message methods to get detailed information about
254// the error.
255//
256// See the AWS API reference guide for Braket's
257// API operation GetDevice for usage and error information.
258//
259// Returned Error Types:
260//   * ResourceNotFoundException
261//   The specified resource was not found.
262//
263//   * AccessDeniedException
264//   You do not have sufficient access to perform this action.
265//
266//   * ThrottlingException
267//   The throttling rate limit is met.
268//
269//   * InternalServiceException
270//   The request processing has failed because of an unknown error, exception,
271//   or failure.
272//
273//   * ValidationException
274//   The input fails to satisfy the constraints specified by an AWS service.
275//
276// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetDevice
277func (c *Braket) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) {
278	req, out := c.GetDeviceRequest(input)
279	return out, req.Send()
280}
281
282// GetDeviceWithContext is the same as GetDevice with the addition of
283// the ability to pass a context and additional request options.
284//
285// See GetDevice for details on how to use this API operation.
286//
287// The context must be non-nil and will be used for request cancellation. If
288// the context is nil a panic will occur. In the future the SDK may create
289// sub-contexts for http.Requests. See https://golang.org/pkg/context/
290// for more information on using Contexts.
291func (c *Braket) GetDeviceWithContext(ctx aws.Context, input *GetDeviceInput, opts ...request.Option) (*GetDeviceOutput, error) {
292	req, out := c.GetDeviceRequest(input)
293	req.SetContext(ctx)
294	req.ApplyOptions(opts...)
295	return out, req.Send()
296}
297
298const opGetQuantumTask = "GetQuantumTask"
299
300// GetQuantumTaskRequest generates a "aws/request.Request" representing the
301// client's request for the GetQuantumTask operation. The "output" return
302// value will be populated with the request's response once the request completes
303// successfully.
304//
305// Use "Send" method on the returned Request to send the API call to the service.
306// the "output" return value is not valid until after Send returns without error.
307//
308// See GetQuantumTask for more information on using the GetQuantumTask
309// API call, and error handling.
310//
311// This method is useful when you want to inject custom logic or configuration
312// into the SDK's request lifecycle. Such as custom headers, or retry logic.
313//
314//
315//    // Example sending a request using the GetQuantumTaskRequest method.
316//    req, resp := client.GetQuantumTaskRequest(params)
317//
318//    err := req.Send()
319//    if err == nil { // resp is now filled
320//        fmt.Println(resp)
321//    }
322//
323// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask
324func (c *Braket) GetQuantumTaskRequest(input *GetQuantumTaskInput) (req *request.Request, output *GetQuantumTaskOutput) {
325	op := &request.Operation{
326		Name:       opGetQuantumTask,
327		HTTPMethod: "GET",
328		HTTPPath:   "/quantum-task/{quantumTaskArn}",
329	}
330
331	if input == nil {
332		input = &GetQuantumTaskInput{}
333	}
334
335	output = &GetQuantumTaskOutput{}
336	req = c.newRequest(op, input, output)
337	return
338}
339
340// GetQuantumTask API operation for Braket.
341//
342// Retrieves the specified quantum task.
343//
344// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
345// with awserr.Error's Code and Message methods to get detailed information about
346// the error.
347//
348// See the AWS API reference guide for Braket's
349// API operation GetQuantumTask for usage and error information.
350//
351// Returned Error Types:
352//   * ResourceNotFoundException
353//   The specified resource was not found.
354//
355//   * AccessDeniedException
356//   You do not have sufficient access to perform this action.
357//
358//   * ThrottlingException
359//   The throttling rate limit is met.
360//
361//   * InternalServiceException
362//   The request processing has failed because of an unknown error, exception,
363//   or failure.
364//
365//   * ValidationException
366//   The input fails to satisfy the constraints specified by an AWS service.
367//
368// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask
369func (c *Braket) GetQuantumTask(input *GetQuantumTaskInput) (*GetQuantumTaskOutput, error) {
370	req, out := c.GetQuantumTaskRequest(input)
371	return out, req.Send()
372}
373
374// GetQuantumTaskWithContext is the same as GetQuantumTask with the addition of
375// the ability to pass a context and additional request options.
376//
377// See GetQuantumTask for details on how to use this API operation.
378//
379// The context must be non-nil and will be used for request cancellation. If
380// the context is nil a panic will occur. In the future the SDK may create
381// sub-contexts for http.Requests. See https://golang.org/pkg/context/
382// for more information on using Contexts.
383func (c *Braket) GetQuantumTaskWithContext(ctx aws.Context, input *GetQuantumTaskInput, opts ...request.Option) (*GetQuantumTaskOutput, error) {
384	req, out := c.GetQuantumTaskRequest(input)
385	req.SetContext(ctx)
386	req.ApplyOptions(opts...)
387	return out, req.Send()
388}
389
390const opListTagsForResource = "ListTagsForResource"
391
392// ListTagsForResourceRequest generates a "aws/request.Request" representing the
393// client's request for the ListTagsForResource operation. The "output" return
394// value will be populated with the request's response once the request completes
395// successfully.
396//
397// Use "Send" method on the returned Request to send the API call to the service.
398// the "output" return value is not valid until after Send returns without error.
399//
400// See ListTagsForResource for more information on using the ListTagsForResource
401// API call, and error handling.
402//
403// This method is useful when you want to inject custom logic or configuration
404// into the SDK's request lifecycle. Such as custom headers, or retry logic.
405//
406//
407//    // Example sending a request using the ListTagsForResourceRequest method.
408//    req, resp := client.ListTagsForResourceRequest(params)
409//
410//    err := req.Send()
411//    if err == nil { // resp is now filled
412//        fmt.Println(resp)
413//    }
414//
415// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ListTagsForResource
416func (c *Braket) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
417	op := &request.Operation{
418		Name:       opListTagsForResource,
419		HTTPMethod: "GET",
420		HTTPPath:   "/tags/{resourceArn}",
421	}
422
423	if input == nil {
424		input = &ListTagsForResourceInput{}
425	}
426
427	output = &ListTagsForResourceOutput{}
428	req = c.newRequest(op, input, output)
429	return
430}
431
432// ListTagsForResource API operation for Braket.
433//
434// Shows the tags associated with this resource.
435//
436// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
437// with awserr.Error's Code and Message methods to get detailed information about
438// the error.
439//
440// See the AWS API reference guide for Braket's
441// API operation ListTagsForResource for usage and error information.
442//
443// Returned Error Types:
444//   * ResourceNotFoundException
445//   The specified resource was not found.
446//
447//   * InternalServiceException
448//   The request processing has failed because of an unknown error, exception,
449//   or failure.
450//
451//   * ValidationException
452//   The input fails to satisfy the constraints specified by an AWS service.
453//
454// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ListTagsForResource
455func (c *Braket) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
456	req, out := c.ListTagsForResourceRequest(input)
457	return out, req.Send()
458}
459
460// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
461// the ability to pass a context and additional request options.
462//
463// See ListTagsForResource for details on how to use this API operation.
464//
465// The context must be non-nil and will be used for request cancellation. If
466// the context is nil a panic will occur. In the future the SDK may create
467// sub-contexts for http.Requests. See https://golang.org/pkg/context/
468// for more information on using Contexts.
469func (c *Braket) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
470	req, out := c.ListTagsForResourceRequest(input)
471	req.SetContext(ctx)
472	req.ApplyOptions(opts...)
473	return out, req.Send()
474}
475
476const opSearchDevices = "SearchDevices"
477
478// SearchDevicesRequest generates a "aws/request.Request" representing the
479// client's request for the SearchDevices operation. The "output" return
480// value will be populated with the request's response once the request completes
481// successfully.
482//
483// Use "Send" method on the returned Request to send the API call to the service.
484// the "output" return value is not valid until after Send returns without error.
485//
486// See SearchDevices for more information on using the SearchDevices
487// API call, and error handling.
488//
489// This method is useful when you want to inject custom logic or configuration
490// into the SDK's request lifecycle. Such as custom headers, or retry logic.
491//
492//
493//    // Example sending a request using the SearchDevicesRequest method.
494//    req, resp := client.SearchDevicesRequest(params)
495//
496//    err := req.Send()
497//    if err == nil { // resp is now filled
498//        fmt.Println(resp)
499//    }
500//
501// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevices
502func (c *Braket) SearchDevicesRequest(input *SearchDevicesInput) (req *request.Request, output *SearchDevicesOutput) {
503	op := &request.Operation{
504		Name:       opSearchDevices,
505		HTTPMethod: "POST",
506		HTTPPath:   "/devices",
507		Paginator: &request.Paginator{
508			InputTokens:     []string{"nextToken"},
509			OutputTokens:    []string{"nextToken"},
510			LimitToken:      "maxResults",
511			TruncationToken: "",
512		},
513	}
514
515	if input == nil {
516		input = &SearchDevicesInput{}
517	}
518
519	output = &SearchDevicesOutput{}
520	req = c.newRequest(op, input, output)
521	return
522}
523
524// SearchDevices API operation for Braket.
525//
526// Searches for devices using the specified filters.
527//
528// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
529// with awserr.Error's Code and Message methods to get detailed information about
530// the error.
531//
532// See the AWS API reference guide for Braket's
533// API operation SearchDevices for usage and error information.
534//
535// Returned Error Types:
536//   * AccessDeniedException
537//   You do not have sufficient access to perform this action.
538//
539//   * ThrottlingException
540//   The throttling rate limit is met.
541//
542//   * InternalServiceException
543//   The request processing has failed because of an unknown error, exception,
544//   or failure.
545//
546//   * ValidationException
547//   The input fails to satisfy the constraints specified by an AWS service.
548//
549// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevices
550func (c *Braket) SearchDevices(input *SearchDevicesInput) (*SearchDevicesOutput, error) {
551	req, out := c.SearchDevicesRequest(input)
552	return out, req.Send()
553}
554
555// SearchDevicesWithContext is the same as SearchDevices with the addition of
556// the ability to pass a context and additional request options.
557//
558// See SearchDevices for details on how to use this API operation.
559//
560// The context must be non-nil and will be used for request cancellation. If
561// the context is nil a panic will occur. In the future the SDK may create
562// sub-contexts for http.Requests. See https://golang.org/pkg/context/
563// for more information on using Contexts.
564func (c *Braket) SearchDevicesWithContext(ctx aws.Context, input *SearchDevicesInput, opts ...request.Option) (*SearchDevicesOutput, error) {
565	req, out := c.SearchDevicesRequest(input)
566	req.SetContext(ctx)
567	req.ApplyOptions(opts...)
568	return out, req.Send()
569}
570
571// SearchDevicesPages iterates over the pages of a SearchDevices operation,
572// calling the "fn" function with the response data for each page. To stop
573// iterating, return false from the fn function.
574//
575// See SearchDevices method for more information on how to use this operation.
576//
577// Note: This operation can generate multiple requests to a service.
578//
579//    // Example iterating over at most 3 pages of a SearchDevices operation.
580//    pageNum := 0
581//    err := client.SearchDevicesPages(params,
582//        func(page *braket.SearchDevicesOutput, lastPage bool) bool {
583//            pageNum++
584//            fmt.Println(page)
585//            return pageNum <= 3
586//        })
587//
588func (c *Braket) SearchDevicesPages(input *SearchDevicesInput, fn func(*SearchDevicesOutput, bool) bool) error {
589	return c.SearchDevicesPagesWithContext(aws.BackgroundContext(), input, fn)
590}
591
592// SearchDevicesPagesWithContext same as SearchDevicesPages except
593// it takes a Context and allows setting request options on the pages.
594//
595// The context must be non-nil and will be used for request cancellation. If
596// the context is nil a panic will occur. In the future the SDK may create
597// sub-contexts for http.Requests. See https://golang.org/pkg/context/
598// for more information on using Contexts.
599func (c *Braket) SearchDevicesPagesWithContext(ctx aws.Context, input *SearchDevicesInput, fn func(*SearchDevicesOutput, bool) bool, opts ...request.Option) error {
600	p := request.Pagination{
601		NewRequest: func() (*request.Request, error) {
602			var inCpy *SearchDevicesInput
603			if input != nil {
604				tmp := *input
605				inCpy = &tmp
606			}
607			req, _ := c.SearchDevicesRequest(inCpy)
608			req.SetContext(ctx)
609			req.ApplyOptions(opts...)
610			return req, nil
611		},
612	}
613
614	for p.Next() {
615		if !fn(p.Page().(*SearchDevicesOutput), !p.HasNextPage()) {
616			break
617		}
618	}
619
620	return p.Err()
621}
622
623const opSearchQuantumTasks = "SearchQuantumTasks"
624
625// SearchQuantumTasksRequest generates a "aws/request.Request" representing the
626// client's request for the SearchQuantumTasks operation. The "output" return
627// value will be populated with the request's response once the request completes
628// successfully.
629//
630// Use "Send" method on the returned Request to send the API call to the service.
631// the "output" return value is not valid until after Send returns without error.
632//
633// See SearchQuantumTasks for more information on using the SearchQuantumTasks
634// API call, and error handling.
635//
636// This method is useful when you want to inject custom logic or configuration
637// into the SDK's request lifecycle. Such as custom headers, or retry logic.
638//
639//
640//    // Example sending a request using the SearchQuantumTasksRequest method.
641//    req, resp := client.SearchQuantumTasksRequest(params)
642//
643//    err := req.Send()
644//    if err == nil { // resp is now filled
645//        fmt.Println(resp)
646//    }
647//
648// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasks
649func (c *Braket) SearchQuantumTasksRequest(input *SearchQuantumTasksInput) (req *request.Request, output *SearchQuantumTasksOutput) {
650	op := &request.Operation{
651		Name:       opSearchQuantumTasks,
652		HTTPMethod: "POST",
653		HTTPPath:   "/quantum-tasks",
654		Paginator: &request.Paginator{
655			InputTokens:     []string{"nextToken"},
656			OutputTokens:    []string{"nextToken"},
657			LimitToken:      "maxResults",
658			TruncationToken: "",
659		},
660	}
661
662	if input == nil {
663		input = &SearchQuantumTasksInput{}
664	}
665
666	output = &SearchQuantumTasksOutput{}
667	req = c.newRequest(op, input, output)
668	return
669}
670
671// SearchQuantumTasks API operation for Braket.
672//
673// Searches for tasks that match the specified filter values.
674//
675// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
676// with awserr.Error's Code and Message methods to get detailed information about
677// the error.
678//
679// See the AWS API reference guide for Braket's
680// API operation SearchQuantumTasks for usage and error information.
681//
682// Returned Error Types:
683//   * AccessDeniedException
684//   You do not have sufficient access to perform this action.
685//
686//   * ThrottlingException
687//   The throttling rate limit is met.
688//
689//   * InternalServiceException
690//   The request processing has failed because of an unknown error, exception,
691//   or failure.
692//
693//   * ValidationException
694//   The input fails to satisfy the constraints specified by an AWS service.
695//
696// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasks
697func (c *Braket) SearchQuantumTasks(input *SearchQuantumTasksInput) (*SearchQuantumTasksOutput, error) {
698	req, out := c.SearchQuantumTasksRequest(input)
699	return out, req.Send()
700}
701
702// SearchQuantumTasksWithContext is the same as SearchQuantumTasks with the addition of
703// the ability to pass a context and additional request options.
704//
705// See SearchQuantumTasks for details on how to use this API operation.
706//
707// The context must be non-nil and will be used for request cancellation. If
708// the context is nil a panic will occur. In the future the SDK may create
709// sub-contexts for http.Requests. See https://golang.org/pkg/context/
710// for more information on using Contexts.
711func (c *Braket) SearchQuantumTasksWithContext(ctx aws.Context, input *SearchQuantumTasksInput, opts ...request.Option) (*SearchQuantumTasksOutput, error) {
712	req, out := c.SearchQuantumTasksRequest(input)
713	req.SetContext(ctx)
714	req.ApplyOptions(opts...)
715	return out, req.Send()
716}
717
718// SearchQuantumTasksPages iterates over the pages of a SearchQuantumTasks operation,
719// calling the "fn" function with the response data for each page. To stop
720// iterating, return false from the fn function.
721//
722// See SearchQuantumTasks method for more information on how to use this operation.
723//
724// Note: This operation can generate multiple requests to a service.
725//
726//    // Example iterating over at most 3 pages of a SearchQuantumTasks operation.
727//    pageNum := 0
728//    err := client.SearchQuantumTasksPages(params,
729//        func(page *braket.SearchQuantumTasksOutput, lastPage bool) bool {
730//            pageNum++
731//            fmt.Println(page)
732//            return pageNum <= 3
733//        })
734//
735func (c *Braket) SearchQuantumTasksPages(input *SearchQuantumTasksInput, fn func(*SearchQuantumTasksOutput, bool) bool) error {
736	return c.SearchQuantumTasksPagesWithContext(aws.BackgroundContext(), input, fn)
737}
738
739// SearchQuantumTasksPagesWithContext same as SearchQuantumTasksPages except
740// it takes a Context and allows setting request options on the pages.
741//
742// The context must be non-nil and will be used for request cancellation. If
743// the context is nil a panic will occur. In the future the SDK may create
744// sub-contexts for http.Requests. See https://golang.org/pkg/context/
745// for more information on using Contexts.
746func (c *Braket) SearchQuantumTasksPagesWithContext(ctx aws.Context, input *SearchQuantumTasksInput, fn func(*SearchQuantumTasksOutput, bool) bool, opts ...request.Option) error {
747	p := request.Pagination{
748		NewRequest: func() (*request.Request, error) {
749			var inCpy *SearchQuantumTasksInput
750			if input != nil {
751				tmp := *input
752				inCpy = &tmp
753			}
754			req, _ := c.SearchQuantumTasksRequest(inCpy)
755			req.SetContext(ctx)
756			req.ApplyOptions(opts...)
757			return req, nil
758		},
759	}
760
761	for p.Next() {
762		if !fn(p.Page().(*SearchQuantumTasksOutput), !p.HasNextPage()) {
763			break
764		}
765	}
766
767	return p.Err()
768}
769
770const opTagResource = "TagResource"
771
772// TagResourceRequest generates a "aws/request.Request" representing the
773// client's request for the TagResource operation. The "output" return
774// value will be populated with the request's response once the request completes
775// successfully.
776//
777// Use "Send" method on the returned Request to send the API call to the service.
778// the "output" return value is not valid until after Send returns without error.
779//
780// See TagResource for more information on using the TagResource
781// API call, and error handling.
782//
783// This method is useful when you want to inject custom logic or configuration
784// into the SDK's request lifecycle. Such as custom headers, or retry logic.
785//
786//
787//    // Example sending a request using the TagResourceRequest method.
788//    req, resp := client.TagResourceRequest(params)
789//
790//    err := req.Send()
791//    if err == nil { // resp is now filled
792//        fmt.Println(resp)
793//    }
794//
795// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/TagResource
796func (c *Braket) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
797	op := &request.Operation{
798		Name:       opTagResource,
799		HTTPMethod: "POST",
800		HTTPPath:   "/tags/{resourceArn}",
801	}
802
803	if input == nil {
804		input = &TagResourceInput{}
805	}
806
807	output = &TagResourceOutput{}
808	req = c.newRequest(op, input, output)
809	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
810	return
811}
812
813// TagResource API operation for Braket.
814//
815// Add a tag to the specified resource.
816//
817// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
818// with awserr.Error's Code and Message methods to get detailed information about
819// the error.
820//
821// See the AWS API reference guide for Braket's
822// API operation TagResource for usage and error information.
823//
824// Returned Error Types:
825//   * ResourceNotFoundException
826//   The specified resource was not found.
827//
828//   * InternalServiceException
829//   The request processing has failed because of an unknown error, exception,
830//   or failure.
831//
832//   * ValidationException
833//   The input fails to satisfy the constraints specified by an AWS service.
834//
835// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/TagResource
836func (c *Braket) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
837	req, out := c.TagResourceRequest(input)
838	return out, req.Send()
839}
840
841// TagResourceWithContext is the same as TagResource with the addition of
842// the ability to pass a context and additional request options.
843//
844// See TagResource for details on how to use this API operation.
845//
846// The context must be non-nil and will be used for request cancellation. If
847// the context is nil a panic will occur. In the future the SDK may create
848// sub-contexts for http.Requests. See https://golang.org/pkg/context/
849// for more information on using Contexts.
850func (c *Braket) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
851	req, out := c.TagResourceRequest(input)
852	req.SetContext(ctx)
853	req.ApplyOptions(opts...)
854	return out, req.Send()
855}
856
857const opUntagResource = "UntagResource"
858
859// UntagResourceRequest generates a "aws/request.Request" representing the
860// client's request for the UntagResource operation. The "output" return
861// value will be populated with the request's response once the request completes
862// successfully.
863//
864// Use "Send" method on the returned Request to send the API call to the service.
865// the "output" return value is not valid until after Send returns without error.
866//
867// See UntagResource for more information on using the UntagResource
868// API call, and error handling.
869//
870// This method is useful when you want to inject custom logic or configuration
871// into the SDK's request lifecycle. Such as custom headers, or retry logic.
872//
873//
874//    // Example sending a request using the UntagResourceRequest method.
875//    req, resp := client.UntagResourceRequest(params)
876//
877//    err := req.Send()
878//    if err == nil { // resp is now filled
879//        fmt.Println(resp)
880//    }
881//
882// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/UntagResource
883func (c *Braket) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
884	op := &request.Operation{
885		Name:       opUntagResource,
886		HTTPMethod: "DELETE",
887		HTTPPath:   "/tags/{resourceArn}",
888	}
889
890	if input == nil {
891		input = &UntagResourceInput{}
892	}
893
894	output = &UntagResourceOutput{}
895	req = c.newRequest(op, input, output)
896	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
897	return
898}
899
900// UntagResource API operation for Braket.
901//
902// Remove tags from a resource.
903//
904// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
905// with awserr.Error's Code and Message methods to get detailed information about
906// the error.
907//
908// See the AWS API reference guide for Braket's
909// API operation UntagResource for usage and error information.
910//
911// Returned Error Types:
912//   * ResourceNotFoundException
913//   The specified resource was not found.
914//
915//   * InternalServiceException
916//   The request processing has failed because of an unknown error, exception,
917//   or failure.
918//
919//   * ValidationException
920//   The input fails to satisfy the constraints specified by an AWS service.
921//
922// See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/UntagResource
923func (c *Braket) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
924	req, out := c.UntagResourceRequest(input)
925	return out, req.Send()
926}
927
928// UntagResourceWithContext is the same as UntagResource with the addition of
929// the ability to pass a context and additional request options.
930//
931// See UntagResource for details on how to use this API operation.
932//
933// The context must be non-nil and will be used for request cancellation. If
934// the context is nil a panic will occur. In the future the SDK may create
935// sub-contexts for http.Requests. See https://golang.org/pkg/context/
936// for more information on using Contexts.
937func (c *Braket) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
938	req, out := c.UntagResourceRequest(input)
939	req.SetContext(ctx)
940	req.ApplyOptions(opts...)
941	return out, req.Send()
942}
943
944// You do not have sufficient access to perform this action.
945type AccessDeniedException struct {
946	_            struct{}                  `type:"structure"`
947	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
948
949	Message_ *string `locationName:"message" type:"string"`
950}
951
952// String returns the string representation
953func (s AccessDeniedException) String() string {
954	return awsutil.Prettify(s)
955}
956
957// GoString returns the string representation
958func (s AccessDeniedException) GoString() string {
959	return s.String()
960}
961
962func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
963	return &AccessDeniedException{
964		RespMetadata: v,
965	}
966}
967
968// Code returns the exception type name.
969func (s *AccessDeniedException) Code() string {
970	return "AccessDeniedException"
971}
972
973// Message returns the exception's message.
974func (s *AccessDeniedException) Message() string {
975	if s.Message_ != nil {
976		return *s.Message_
977	}
978	return ""
979}
980
981// OrigErr always returns nil, satisfies awserr.Error interface.
982func (s *AccessDeniedException) OrigErr() error {
983	return nil
984}
985
986func (s *AccessDeniedException) Error() string {
987	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
988}
989
990// Status code returns the HTTP status code for the request's response error.
991func (s *AccessDeniedException) StatusCode() int {
992	return s.RespMetadata.StatusCode
993}
994
995// RequestID returns the service's response RequestID for request.
996func (s *AccessDeniedException) RequestID() string {
997	return s.RespMetadata.RequestID
998}
999
1000type CancelQuantumTaskInput struct {
1001	_ struct{} `type:"structure"`
1002
1003	// The client token associated with the request.
1004	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
1005
1006	// The ARN of the task to cancel.
1007	//
1008	// QuantumTaskArn is a required field
1009	QuantumTaskArn *string `location:"uri" locationName:"quantumTaskArn" min:"1" type:"string" required:"true"`
1010}
1011
1012// String returns the string representation
1013func (s CancelQuantumTaskInput) String() string {
1014	return awsutil.Prettify(s)
1015}
1016
1017// GoString returns the string representation
1018func (s CancelQuantumTaskInput) GoString() string {
1019	return s.String()
1020}
1021
1022// Validate inspects the fields of the type to determine if they are valid.
1023func (s *CancelQuantumTaskInput) Validate() error {
1024	invalidParams := request.ErrInvalidParams{Context: "CancelQuantumTaskInput"}
1025	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
1026		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
1027	}
1028	if s.QuantumTaskArn == nil {
1029		invalidParams.Add(request.NewErrParamRequired("QuantumTaskArn"))
1030	}
1031	if s.QuantumTaskArn != nil && len(*s.QuantumTaskArn) < 1 {
1032		invalidParams.Add(request.NewErrParamMinLen("QuantumTaskArn", 1))
1033	}
1034
1035	if invalidParams.Len() > 0 {
1036		return invalidParams
1037	}
1038	return nil
1039}
1040
1041// SetClientToken sets the ClientToken field's value.
1042func (s *CancelQuantumTaskInput) SetClientToken(v string) *CancelQuantumTaskInput {
1043	s.ClientToken = &v
1044	return s
1045}
1046
1047// SetQuantumTaskArn sets the QuantumTaskArn field's value.
1048func (s *CancelQuantumTaskInput) SetQuantumTaskArn(v string) *CancelQuantumTaskInput {
1049	s.QuantumTaskArn = &v
1050	return s
1051}
1052
1053type CancelQuantumTaskOutput struct {
1054	_ struct{} `type:"structure"`
1055
1056	// The status of the cancellation request.
1057	//
1058	// CancellationStatus is a required field
1059	CancellationStatus *string `locationName:"cancellationStatus" type:"string" required:"true" enum:"CancellationStatus"`
1060
1061	// The ARN of the task.
1062	//
1063	// QuantumTaskArn is a required field
1064	QuantumTaskArn *string `locationName:"quantumTaskArn" min:"1" type:"string" required:"true"`
1065}
1066
1067// String returns the string representation
1068func (s CancelQuantumTaskOutput) String() string {
1069	return awsutil.Prettify(s)
1070}
1071
1072// GoString returns the string representation
1073func (s CancelQuantumTaskOutput) GoString() string {
1074	return s.String()
1075}
1076
1077// SetCancellationStatus sets the CancellationStatus field's value.
1078func (s *CancelQuantumTaskOutput) SetCancellationStatus(v string) *CancelQuantumTaskOutput {
1079	s.CancellationStatus = &v
1080	return s
1081}
1082
1083// SetQuantumTaskArn sets the QuantumTaskArn field's value.
1084func (s *CancelQuantumTaskOutput) SetQuantumTaskArn(v string) *CancelQuantumTaskOutput {
1085	s.QuantumTaskArn = &v
1086	return s
1087}
1088
1089// An error occurred due to a conflict.
1090type ConflictException struct {
1091	_            struct{}                  `type:"structure"`
1092	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
1093
1094	Message_ *string `locationName:"message" type:"string"`
1095}
1096
1097// String returns the string representation
1098func (s ConflictException) String() string {
1099	return awsutil.Prettify(s)
1100}
1101
1102// GoString returns the string representation
1103func (s ConflictException) GoString() string {
1104	return s.String()
1105}
1106
1107func newErrorConflictException(v protocol.ResponseMetadata) error {
1108	return &ConflictException{
1109		RespMetadata: v,
1110	}
1111}
1112
1113// Code returns the exception type name.
1114func (s *ConflictException) Code() string {
1115	return "ConflictException"
1116}
1117
1118// Message returns the exception's message.
1119func (s *ConflictException) Message() string {
1120	if s.Message_ != nil {
1121		return *s.Message_
1122	}
1123	return ""
1124}
1125
1126// OrigErr always returns nil, satisfies awserr.Error interface.
1127func (s *ConflictException) OrigErr() error {
1128	return nil
1129}
1130
1131func (s *ConflictException) Error() string {
1132	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
1133}
1134
1135// Status code returns the HTTP status code for the request's response error.
1136func (s *ConflictException) StatusCode() int {
1137	return s.RespMetadata.StatusCode
1138}
1139
1140// RequestID returns the service's response RequestID for request.
1141func (s *ConflictException) RequestID() string {
1142	return s.RespMetadata.RequestID
1143}
1144
1145type CreateQuantumTaskInput struct {
1146	_ struct{} `type:"structure"`
1147
1148	// The action associated with the task.
1149	//
1150	// Action is a required field
1151	Action aws.JSONValue `locationName:"action" type:"jsonvalue" required:"true"`
1152
1153	// The client token associated with the request.
1154	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
1155
1156	// The ARN of the device to run the task on.
1157	//
1158	// DeviceArn is a required field
1159	DeviceArn *string `locationName:"deviceArn" min:"1" type:"string" required:"true"`
1160
1161	// The parameters for the device to run the task on.
1162	DeviceParameters aws.JSONValue `locationName:"deviceParameters" type:"jsonvalue"`
1163
1164	// The S3 bucket to store task result files in.
1165	//
1166	// OutputS3Bucket is a required field
1167	OutputS3Bucket *string `locationName:"outputS3Bucket" min:"3" type:"string" required:"true"`
1168
1169	// The key prefix for the location in the S3 bucket to store task results in.
1170	//
1171	// OutputS3KeyPrefix is a required field
1172	OutputS3KeyPrefix *string `locationName:"outputS3KeyPrefix" min:"1" type:"string" required:"true"`
1173
1174	// The number of shots to use for the task.
1175	//
1176	// Shots is a required field
1177	Shots *int64 `locationName:"shots" type:"long" required:"true"`
1178
1179	// Tags to be added to the quantum task you're creating.
1180	Tags map[string]*string `locationName:"tags" type:"map"`
1181}
1182
1183// String returns the string representation
1184func (s CreateQuantumTaskInput) String() string {
1185	return awsutil.Prettify(s)
1186}
1187
1188// GoString returns the string representation
1189func (s CreateQuantumTaskInput) GoString() string {
1190	return s.String()
1191}
1192
1193// Validate inspects the fields of the type to determine if they are valid.
1194func (s *CreateQuantumTaskInput) Validate() error {
1195	invalidParams := request.ErrInvalidParams{Context: "CreateQuantumTaskInput"}
1196	if s.Action == nil {
1197		invalidParams.Add(request.NewErrParamRequired("Action"))
1198	}
1199	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
1200		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
1201	}
1202	if s.DeviceArn == nil {
1203		invalidParams.Add(request.NewErrParamRequired("DeviceArn"))
1204	}
1205	if s.DeviceArn != nil && len(*s.DeviceArn) < 1 {
1206		invalidParams.Add(request.NewErrParamMinLen("DeviceArn", 1))
1207	}
1208	if s.OutputS3Bucket == nil {
1209		invalidParams.Add(request.NewErrParamRequired("OutputS3Bucket"))
1210	}
1211	if s.OutputS3Bucket != nil && len(*s.OutputS3Bucket) < 3 {
1212		invalidParams.Add(request.NewErrParamMinLen("OutputS3Bucket", 3))
1213	}
1214	if s.OutputS3KeyPrefix == nil {
1215		invalidParams.Add(request.NewErrParamRequired("OutputS3KeyPrefix"))
1216	}
1217	if s.OutputS3KeyPrefix != nil && len(*s.OutputS3KeyPrefix) < 1 {
1218		invalidParams.Add(request.NewErrParamMinLen("OutputS3KeyPrefix", 1))
1219	}
1220	if s.Shots == nil {
1221		invalidParams.Add(request.NewErrParamRequired("Shots"))
1222	}
1223
1224	if invalidParams.Len() > 0 {
1225		return invalidParams
1226	}
1227	return nil
1228}
1229
1230// SetAction sets the Action field's value.
1231func (s *CreateQuantumTaskInput) SetAction(v aws.JSONValue) *CreateQuantumTaskInput {
1232	s.Action = v
1233	return s
1234}
1235
1236// SetClientToken sets the ClientToken field's value.
1237func (s *CreateQuantumTaskInput) SetClientToken(v string) *CreateQuantumTaskInput {
1238	s.ClientToken = &v
1239	return s
1240}
1241
1242// SetDeviceArn sets the DeviceArn field's value.
1243func (s *CreateQuantumTaskInput) SetDeviceArn(v string) *CreateQuantumTaskInput {
1244	s.DeviceArn = &v
1245	return s
1246}
1247
1248// SetDeviceParameters sets the DeviceParameters field's value.
1249func (s *CreateQuantumTaskInput) SetDeviceParameters(v aws.JSONValue) *CreateQuantumTaskInput {
1250	s.DeviceParameters = v
1251	return s
1252}
1253
1254// SetOutputS3Bucket sets the OutputS3Bucket field's value.
1255func (s *CreateQuantumTaskInput) SetOutputS3Bucket(v string) *CreateQuantumTaskInput {
1256	s.OutputS3Bucket = &v
1257	return s
1258}
1259
1260// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value.
1261func (s *CreateQuantumTaskInput) SetOutputS3KeyPrefix(v string) *CreateQuantumTaskInput {
1262	s.OutputS3KeyPrefix = &v
1263	return s
1264}
1265
1266// SetShots sets the Shots field's value.
1267func (s *CreateQuantumTaskInput) SetShots(v int64) *CreateQuantumTaskInput {
1268	s.Shots = &v
1269	return s
1270}
1271
1272// SetTags sets the Tags field's value.
1273func (s *CreateQuantumTaskInput) SetTags(v map[string]*string) *CreateQuantumTaskInput {
1274	s.Tags = v
1275	return s
1276}
1277
1278type CreateQuantumTaskOutput struct {
1279	_ struct{} `type:"structure"`
1280
1281	// The ARN of the task created by the request.
1282	//
1283	// QuantumTaskArn is a required field
1284	QuantumTaskArn *string `locationName:"quantumTaskArn" min:"1" type:"string" required:"true"`
1285}
1286
1287// String returns the string representation
1288func (s CreateQuantumTaskOutput) String() string {
1289	return awsutil.Prettify(s)
1290}
1291
1292// GoString returns the string representation
1293func (s CreateQuantumTaskOutput) GoString() string {
1294	return s.String()
1295}
1296
1297// SetQuantumTaskArn sets the QuantumTaskArn field's value.
1298func (s *CreateQuantumTaskOutput) SetQuantumTaskArn(v string) *CreateQuantumTaskOutput {
1299	s.QuantumTaskArn = &v
1300	return s
1301}
1302
1303// The specified device is currently offline.
1304type DeviceOfflineException struct {
1305	_            struct{}                  `type:"structure"`
1306	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
1307
1308	Message_ *string `locationName:"message" type:"string"`
1309}
1310
1311// String returns the string representation
1312func (s DeviceOfflineException) String() string {
1313	return awsutil.Prettify(s)
1314}
1315
1316// GoString returns the string representation
1317func (s DeviceOfflineException) GoString() string {
1318	return s.String()
1319}
1320
1321func newErrorDeviceOfflineException(v protocol.ResponseMetadata) error {
1322	return &DeviceOfflineException{
1323		RespMetadata: v,
1324	}
1325}
1326
1327// Code returns the exception type name.
1328func (s *DeviceOfflineException) Code() string {
1329	return "DeviceOfflineException"
1330}
1331
1332// Message returns the exception's message.
1333func (s *DeviceOfflineException) Message() string {
1334	if s.Message_ != nil {
1335		return *s.Message_
1336	}
1337	return ""
1338}
1339
1340// OrigErr always returns nil, satisfies awserr.Error interface.
1341func (s *DeviceOfflineException) OrigErr() error {
1342	return nil
1343}
1344
1345func (s *DeviceOfflineException) Error() string {
1346	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
1347}
1348
1349// Status code returns the HTTP status code for the request's response error.
1350func (s *DeviceOfflineException) StatusCode() int {
1351	return s.RespMetadata.StatusCode
1352}
1353
1354// RequestID returns the service's response RequestID for request.
1355func (s *DeviceOfflineException) RequestID() string {
1356	return s.RespMetadata.RequestID
1357}
1358
1359// Includes information about the device.
1360type DeviceSummary struct {
1361	_ struct{} `type:"structure"`
1362
1363	// The ARN of the device.
1364	//
1365	// DeviceArn is a required field
1366	DeviceArn *string `locationName:"deviceArn" min:"1" type:"string" required:"true"`
1367
1368	// The name of the device.
1369	//
1370	// DeviceName is a required field
1371	DeviceName *string `locationName:"deviceName" type:"string" required:"true"`
1372
1373	// The status of the device.
1374	//
1375	// DeviceStatus is a required field
1376	DeviceStatus *string `locationName:"deviceStatus" type:"string" required:"true" enum:"DeviceStatus"`
1377
1378	// The type of the device.
1379	//
1380	// DeviceType is a required field
1381	DeviceType *string `locationName:"deviceType" type:"string" required:"true" enum:"DeviceType"`
1382
1383	// The provider of the device.
1384	//
1385	// ProviderName is a required field
1386	ProviderName *string `locationName:"providerName" type:"string" required:"true"`
1387}
1388
1389// String returns the string representation
1390func (s DeviceSummary) String() string {
1391	return awsutil.Prettify(s)
1392}
1393
1394// GoString returns the string representation
1395func (s DeviceSummary) GoString() string {
1396	return s.String()
1397}
1398
1399// SetDeviceArn sets the DeviceArn field's value.
1400func (s *DeviceSummary) SetDeviceArn(v string) *DeviceSummary {
1401	s.DeviceArn = &v
1402	return s
1403}
1404
1405// SetDeviceName sets the DeviceName field's value.
1406func (s *DeviceSummary) SetDeviceName(v string) *DeviceSummary {
1407	s.DeviceName = &v
1408	return s
1409}
1410
1411// SetDeviceStatus sets the DeviceStatus field's value.
1412func (s *DeviceSummary) SetDeviceStatus(v string) *DeviceSummary {
1413	s.DeviceStatus = &v
1414	return s
1415}
1416
1417// SetDeviceType sets the DeviceType field's value.
1418func (s *DeviceSummary) SetDeviceType(v string) *DeviceSummary {
1419	s.DeviceType = &v
1420	return s
1421}
1422
1423// SetProviderName sets the ProviderName field's value.
1424func (s *DeviceSummary) SetProviderName(v string) *DeviceSummary {
1425	s.ProviderName = &v
1426	return s
1427}
1428
1429type GetDeviceInput struct {
1430	_ struct{} `type:"structure"`
1431
1432	// The ARN of the device to retrieve.
1433	//
1434	// DeviceArn is a required field
1435	DeviceArn *string `location:"uri" locationName:"deviceArn" min:"1" type:"string" required:"true"`
1436}
1437
1438// String returns the string representation
1439func (s GetDeviceInput) String() string {
1440	return awsutil.Prettify(s)
1441}
1442
1443// GoString returns the string representation
1444func (s GetDeviceInput) GoString() string {
1445	return s.String()
1446}
1447
1448// Validate inspects the fields of the type to determine if they are valid.
1449func (s *GetDeviceInput) Validate() error {
1450	invalidParams := request.ErrInvalidParams{Context: "GetDeviceInput"}
1451	if s.DeviceArn == nil {
1452		invalidParams.Add(request.NewErrParamRequired("DeviceArn"))
1453	}
1454	if s.DeviceArn != nil && len(*s.DeviceArn) < 1 {
1455		invalidParams.Add(request.NewErrParamMinLen("DeviceArn", 1))
1456	}
1457
1458	if invalidParams.Len() > 0 {
1459		return invalidParams
1460	}
1461	return nil
1462}
1463
1464// SetDeviceArn sets the DeviceArn field's value.
1465func (s *GetDeviceInput) SetDeviceArn(v string) *GetDeviceInput {
1466	s.DeviceArn = &v
1467	return s
1468}
1469
1470type GetDeviceOutput struct {
1471	_ struct{} `type:"structure"`
1472
1473	// The ARN of the device.
1474	//
1475	// DeviceArn is a required field
1476	DeviceArn *string `locationName:"deviceArn" min:"1" type:"string" required:"true"`
1477
1478	// Details about the capabilities of the device.
1479	//
1480	// DeviceCapabilities is a required field
1481	DeviceCapabilities aws.JSONValue `locationName:"deviceCapabilities" type:"jsonvalue" required:"true"`
1482
1483	// The name of the device.
1484	//
1485	// DeviceName is a required field
1486	DeviceName *string `locationName:"deviceName" type:"string" required:"true"`
1487
1488	// The status of the device.
1489	//
1490	// DeviceStatus is a required field
1491	DeviceStatus *string `locationName:"deviceStatus" type:"string" required:"true" enum:"DeviceStatus"`
1492
1493	// The type of the device.
1494	//
1495	// DeviceType is a required field
1496	DeviceType *string `locationName:"deviceType" type:"string" required:"true" enum:"DeviceType"`
1497
1498	// The name of the partner company for the device.
1499	//
1500	// ProviderName is a required field
1501	ProviderName *string `locationName:"providerName" type:"string" required:"true"`
1502}
1503
1504// String returns the string representation
1505func (s GetDeviceOutput) String() string {
1506	return awsutil.Prettify(s)
1507}
1508
1509// GoString returns the string representation
1510func (s GetDeviceOutput) GoString() string {
1511	return s.String()
1512}
1513
1514// SetDeviceArn sets the DeviceArn field's value.
1515func (s *GetDeviceOutput) SetDeviceArn(v string) *GetDeviceOutput {
1516	s.DeviceArn = &v
1517	return s
1518}
1519
1520// SetDeviceCapabilities sets the DeviceCapabilities field's value.
1521func (s *GetDeviceOutput) SetDeviceCapabilities(v aws.JSONValue) *GetDeviceOutput {
1522	s.DeviceCapabilities = v
1523	return s
1524}
1525
1526// SetDeviceName sets the DeviceName field's value.
1527func (s *GetDeviceOutput) SetDeviceName(v string) *GetDeviceOutput {
1528	s.DeviceName = &v
1529	return s
1530}
1531
1532// SetDeviceStatus sets the DeviceStatus field's value.
1533func (s *GetDeviceOutput) SetDeviceStatus(v string) *GetDeviceOutput {
1534	s.DeviceStatus = &v
1535	return s
1536}
1537
1538// SetDeviceType sets the DeviceType field's value.
1539func (s *GetDeviceOutput) SetDeviceType(v string) *GetDeviceOutput {
1540	s.DeviceType = &v
1541	return s
1542}
1543
1544// SetProviderName sets the ProviderName field's value.
1545func (s *GetDeviceOutput) SetProviderName(v string) *GetDeviceOutput {
1546	s.ProviderName = &v
1547	return s
1548}
1549
1550type GetQuantumTaskInput struct {
1551	_ struct{} `type:"structure"`
1552
1553	// the ARN of the task to retrieve.
1554	//
1555	// QuantumTaskArn is a required field
1556	QuantumTaskArn *string `location:"uri" locationName:"quantumTaskArn" min:"1" type:"string" required:"true"`
1557}
1558
1559// String returns the string representation
1560func (s GetQuantumTaskInput) String() string {
1561	return awsutil.Prettify(s)
1562}
1563
1564// GoString returns the string representation
1565func (s GetQuantumTaskInput) GoString() string {
1566	return s.String()
1567}
1568
1569// Validate inspects the fields of the type to determine if they are valid.
1570func (s *GetQuantumTaskInput) Validate() error {
1571	invalidParams := request.ErrInvalidParams{Context: "GetQuantumTaskInput"}
1572	if s.QuantumTaskArn == nil {
1573		invalidParams.Add(request.NewErrParamRequired("QuantumTaskArn"))
1574	}
1575	if s.QuantumTaskArn != nil && len(*s.QuantumTaskArn) < 1 {
1576		invalidParams.Add(request.NewErrParamMinLen("QuantumTaskArn", 1))
1577	}
1578
1579	if invalidParams.Len() > 0 {
1580		return invalidParams
1581	}
1582	return nil
1583}
1584
1585// SetQuantumTaskArn sets the QuantumTaskArn field's value.
1586func (s *GetQuantumTaskInput) SetQuantumTaskArn(v string) *GetQuantumTaskInput {
1587	s.QuantumTaskArn = &v
1588	return s
1589}
1590
1591type GetQuantumTaskOutput struct {
1592	_ struct{} `type:"structure"`
1593
1594	// The time at which the task was created.
1595	//
1596	// CreatedAt is a required field
1597	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
1598
1599	// The ARN of the device the task was run on.
1600	//
1601	// DeviceArn is a required field
1602	DeviceArn *string `locationName:"deviceArn" min:"1" type:"string" required:"true"`
1603
1604	// The parameters for the device on which the task ran.
1605	//
1606	// DeviceParameters is a required field
1607	DeviceParameters aws.JSONValue `locationName:"deviceParameters" type:"jsonvalue" required:"true"`
1608
1609	// The time at which the task ended.
1610	EndedAt *time.Time `locationName:"endedAt" type:"timestamp" timestampFormat:"iso8601"`
1611
1612	// The reason that a task failed.
1613	FailureReason *string `locationName:"failureReason" type:"string"`
1614
1615	// The S3 bucket where task results are stored.
1616	//
1617	// OutputS3Bucket is a required field
1618	OutputS3Bucket *string `locationName:"outputS3Bucket" type:"string" required:"true"`
1619
1620	// The folder in the S3 bucket where task results are stored.
1621	//
1622	// OutputS3Directory is a required field
1623	OutputS3Directory *string `locationName:"outputS3Directory" type:"string" required:"true"`
1624
1625	// The ARN of the task.
1626	//
1627	// QuantumTaskArn is a required field
1628	QuantumTaskArn *string `locationName:"quantumTaskArn" min:"1" type:"string" required:"true"`
1629
1630	// The number of shots used in the task.
1631	//
1632	// Shots is a required field
1633	Shots *int64 `locationName:"shots" type:"long" required:"true"`
1634
1635	// The status of the task.
1636	//
1637	// Status is a required field
1638	Status *string `locationName:"status" type:"string" required:"true" enum:"QuantumTaskStatus"`
1639
1640	// The tags that belong to this task.
1641	Tags map[string]*string `locationName:"tags" type:"map"`
1642}
1643
1644// String returns the string representation
1645func (s GetQuantumTaskOutput) String() string {
1646	return awsutil.Prettify(s)
1647}
1648
1649// GoString returns the string representation
1650func (s GetQuantumTaskOutput) GoString() string {
1651	return s.String()
1652}
1653
1654// SetCreatedAt sets the CreatedAt field's value.
1655func (s *GetQuantumTaskOutput) SetCreatedAt(v time.Time) *GetQuantumTaskOutput {
1656	s.CreatedAt = &v
1657	return s
1658}
1659
1660// SetDeviceArn sets the DeviceArn field's value.
1661func (s *GetQuantumTaskOutput) SetDeviceArn(v string) *GetQuantumTaskOutput {
1662	s.DeviceArn = &v
1663	return s
1664}
1665
1666// SetDeviceParameters sets the DeviceParameters field's value.
1667func (s *GetQuantumTaskOutput) SetDeviceParameters(v aws.JSONValue) *GetQuantumTaskOutput {
1668	s.DeviceParameters = v
1669	return s
1670}
1671
1672// SetEndedAt sets the EndedAt field's value.
1673func (s *GetQuantumTaskOutput) SetEndedAt(v time.Time) *GetQuantumTaskOutput {
1674	s.EndedAt = &v
1675	return s
1676}
1677
1678// SetFailureReason sets the FailureReason field's value.
1679func (s *GetQuantumTaskOutput) SetFailureReason(v string) *GetQuantumTaskOutput {
1680	s.FailureReason = &v
1681	return s
1682}
1683
1684// SetOutputS3Bucket sets the OutputS3Bucket field's value.
1685func (s *GetQuantumTaskOutput) SetOutputS3Bucket(v string) *GetQuantumTaskOutput {
1686	s.OutputS3Bucket = &v
1687	return s
1688}
1689
1690// SetOutputS3Directory sets the OutputS3Directory field's value.
1691func (s *GetQuantumTaskOutput) SetOutputS3Directory(v string) *GetQuantumTaskOutput {
1692	s.OutputS3Directory = &v
1693	return s
1694}
1695
1696// SetQuantumTaskArn sets the QuantumTaskArn field's value.
1697func (s *GetQuantumTaskOutput) SetQuantumTaskArn(v string) *GetQuantumTaskOutput {
1698	s.QuantumTaskArn = &v
1699	return s
1700}
1701
1702// SetShots sets the Shots field's value.
1703func (s *GetQuantumTaskOutput) SetShots(v int64) *GetQuantumTaskOutput {
1704	s.Shots = &v
1705	return s
1706}
1707
1708// SetStatus sets the Status field's value.
1709func (s *GetQuantumTaskOutput) SetStatus(v string) *GetQuantumTaskOutput {
1710	s.Status = &v
1711	return s
1712}
1713
1714// SetTags sets the Tags field's value.
1715func (s *GetQuantumTaskOutput) SetTags(v map[string]*string) *GetQuantumTaskOutput {
1716	s.Tags = v
1717	return s
1718}
1719
1720// The request processing has failed because of an unknown error, exception,
1721// or failure.
1722type InternalServiceException struct {
1723	_            struct{}                  `type:"structure"`
1724	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
1725
1726	Message_ *string `locationName:"message" type:"string"`
1727}
1728
1729// String returns the string representation
1730func (s InternalServiceException) String() string {
1731	return awsutil.Prettify(s)
1732}
1733
1734// GoString returns the string representation
1735func (s InternalServiceException) GoString() string {
1736	return s.String()
1737}
1738
1739func newErrorInternalServiceException(v protocol.ResponseMetadata) error {
1740	return &InternalServiceException{
1741		RespMetadata: v,
1742	}
1743}
1744
1745// Code returns the exception type name.
1746func (s *InternalServiceException) Code() string {
1747	return "InternalServiceException"
1748}
1749
1750// Message returns the exception's message.
1751func (s *InternalServiceException) Message() string {
1752	if s.Message_ != nil {
1753		return *s.Message_
1754	}
1755	return ""
1756}
1757
1758// OrigErr always returns nil, satisfies awserr.Error interface.
1759func (s *InternalServiceException) OrigErr() error {
1760	return nil
1761}
1762
1763func (s *InternalServiceException) Error() string {
1764	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
1765}
1766
1767// Status code returns the HTTP status code for the request's response error.
1768func (s *InternalServiceException) StatusCode() int {
1769	return s.RespMetadata.StatusCode
1770}
1771
1772// RequestID returns the service's response RequestID for request.
1773func (s *InternalServiceException) RequestID() string {
1774	return s.RespMetadata.RequestID
1775}
1776
1777type ListTagsForResourceInput struct {
1778	_ struct{} `type:"structure"`
1779
1780	// Specify the resourceArn for the resource whose tags to display.
1781	//
1782	// ResourceArn is a required field
1783	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
1784}
1785
1786// String returns the string representation
1787func (s ListTagsForResourceInput) String() string {
1788	return awsutil.Prettify(s)
1789}
1790
1791// GoString returns the string representation
1792func (s ListTagsForResourceInput) GoString() string {
1793	return s.String()
1794}
1795
1796// Validate inspects the fields of the type to determine if they are valid.
1797func (s *ListTagsForResourceInput) Validate() error {
1798	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
1799	if s.ResourceArn == nil {
1800		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
1801	}
1802	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
1803		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
1804	}
1805
1806	if invalidParams.Len() > 0 {
1807		return invalidParams
1808	}
1809	return nil
1810}
1811
1812// SetResourceArn sets the ResourceArn field's value.
1813func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
1814	s.ResourceArn = &v
1815	return s
1816}
1817
1818type ListTagsForResourceOutput struct {
1819	_ struct{} `type:"structure"`
1820
1821	// Displays the key, value pairs of tags associated with this resource.
1822	Tags map[string]*string `locationName:"tags" type:"map"`
1823}
1824
1825// String returns the string representation
1826func (s ListTagsForResourceOutput) String() string {
1827	return awsutil.Prettify(s)
1828}
1829
1830// GoString returns the string representation
1831func (s ListTagsForResourceOutput) GoString() string {
1832	return s.String()
1833}
1834
1835// SetTags sets the Tags field's value.
1836func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
1837	s.Tags = v
1838	return s
1839}
1840
1841// Includes information about a quantum task.
1842type QuantumTaskSummary struct {
1843	_ struct{} `type:"structure"`
1844
1845	// The time at which the task was created.
1846	//
1847	// CreatedAt is a required field
1848	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
1849
1850	// The ARN of the device the task ran on.
1851	//
1852	// DeviceArn is a required field
1853	DeviceArn *string `locationName:"deviceArn" min:"1" type:"string" required:"true"`
1854
1855	// The time at which the task finished.
1856	EndedAt *time.Time `locationName:"endedAt" type:"timestamp" timestampFormat:"iso8601"`
1857
1858	// The S3 bucket where the task result file is stored..
1859	//
1860	// OutputS3Bucket is a required field
1861	OutputS3Bucket *string `locationName:"outputS3Bucket" type:"string" required:"true"`
1862
1863	// The folder in the S3 bucket where the task result file is stored.
1864	//
1865	// OutputS3Directory is a required field
1866	OutputS3Directory *string `locationName:"outputS3Directory" type:"string" required:"true"`
1867
1868	// The ARN of the task.
1869	//
1870	// QuantumTaskArn is a required field
1871	QuantumTaskArn *string `locationName:"quantumTaskArn" min:"1" type:"string" required:"true"`
1872
1873	// The shots used for the task.
1874	//
1875	// Shots is a required field
1876	Shots *int64 `locationName:"shots" type:"long" required:"true"`
1877
1878	// The status of the task.
1879	//
1880	// Status is a required field
1881	Status *string `locationName:"status" type:"string" required:"true" enum:"QuantumTaskStatus"`
1882
1883	// Displays the key, value pairs of tags associated with this quantum task.
1884	Tags map[string]*string `locationName:"tags" type:"map"`
1885}
1886
1887// String returns the string representation
1888func (s QuantumTaskSummary) String() string {
1889	return awsutil.Prettify(s)
1890}
1891
1892// GoString returns the string representation
1893func (s QuantumTaskSummary) GoString() string {
1894	return s.String()
1895}
1896
1897// SetCreatedAt sets the CreatedAt field's value.
1898func (s *QuantumTaskSummary) SetCreatedAt(v time.Time) *QuantumTaskSummary {
1899	s.CreatedAt = &v
1900	return s
1901}
1902
1903// SetDeviceArn sets the DeviceArn field's value.
1904func (s *QuantumTaskSummary) SetDeviceArn(v string) *QuantumTaskSummary {
1905	s.DeviceArn = &v
1906	return s
1907}
1908
1909// SetEndedAt sets the EndedAt field's value.
1910func (s *QuantumTaskSummary) SetEndedAt(v time.Time) *QuantumTaskSummary {
1911	s.EndedAt = &v
1912	return s
1913}
1914
1915// SetOutputS3Bucket sets the OutputS3Bucket field's value.
1916func (s *QuantumTaskSummary) SetOutputS3Bucket(v string) *QuantumTaskSummary {
1917	s.OutputS3Bucket = &v
1918	return s
1919}
1920
1921// SetOutputS3Directory sets the OutputS3Directory field's value.
1922func (s *QuantumTaskSummary) SetOutputS3Directory(v string) *QuantumTaskSummary {
1923	s.OutputS3Directory = &v
1924	return s
1925}
1926
1927// SetQuantumTaskArn sets the QuantumTaskArn field's value.
1928func (s *QuantumTaskSummary) SetQuantumTaskArn(v string) *QuantumTaskSummary {
1929	s.QuantumTaskArn = &v
1930	return s
1931}
1932
1933// SetShots sets the Shots field's value.
1934func (s *QuantumTaskSummary) SetShots(v int64) *QuantumTaskSummary {
1935	s.Shots = &v
1936	return s
1937}
1938
1939// SetStatus sets the Status field's value.
1940func (s *QuantumTaskSummary) SetStatus(v string) *QuantumTaskSummary {
1941	s.Status = &v
1942	return s
1943}
1944
1945// SetTags sets the Tags field's value.
1946func (s *QuantumTaskSummary) SetTags(v map[string]*string) *QuantumTaskSummary {
1947	s.Tags = v
1948	return s
1949}
1950
1951// The specified resource was not found.
1952type ResourceNotFoundException struct {
1953	_            struct{}                  `type:"structure"`
1954	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
1955
1956	Message_ *string `locationName:"message" type:"string"`
1957}
1958
1959// String returns the string representation
1960func (s ResourceNotFoundException) String() string {
1961	return awsutil.Prettify(s)
1962}
1963
1964// GoString returns the string representation
1965func (s ResourceNotFoundException) GoString() string {
1966	return s.String()
1967}
1968
1969func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
1970	return &ResourceNotFoundException{
1971		RespMetadata: v,
1972	}
1973}
1974
1975// Code returns the exception type name.
1976func (s *ResourceNotFoundException) Code() string {
1977	return "ResourceNotFoundException"
1978}
1979
1980// Message returns the exception's message.
1981func (s *ResourceNotFoundException) Message() string {
1982	if s.Message_ != nil {
1983		return *s.Message_
1984	}
1985	return ""
1986}
1987
1988// OrigErr always returns nil, satisfies awserr.Error interface.
1989func (s *ResourceNotFoundException) OrigErr() error {
1990	return nil
1991}
1992
1993func (s *ResourceNotFoundException) Error() string {
1994	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
1995}
1996
1997// Status code returns the HTTP status code for the request's response error.
1998func (s *ResourceNotFoundException) StatusCode() int {
1999	return s.RespMetadata.StatusCode
2000}
2001
2002// RequestID returns the service's response RequestID for request.
2003func (s *ResourceNotFoundException) RequestID() string {
2004	return s.RespMetadata.RequestID
2005}
2006
2007// The filter to use for searching devices.
2008type SearchDevicesFilter struct {
2009	_ struct{} `type:"structure"`
2010
2011	// The name to use to filter results.
2012	//
2013	// Name is a required field
2014	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
2015
2016	// The values to use to filter results.
2017	//
2018	// Values is a required field
2019	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
2020}
2021
2022// String returns the string representation
2023func (s SearchDevicesFilter) String() string {
2024	return awsutil.Prettify(s)
2025}
2026
2027// GoString returns the string representation
2028func (s SearchDevicesFilter) GoString() string {
2029	return s.String()
2030}
2031
2032// Validate inspects the fields of the type to determine if they are valid.
2033func (s *SearchDevicesFilter) Validate() error {
2034	invalidParams := request.ErrInvalidParams{Context: "SearchDevicesFilter"}
2035	if s.Name == nil {
2036		invalidParams.Add(request.NewErrParamRequired("Name"))
2037	}
2038	if s.Name != nil && len(*s.Name) < 1 {
2039		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
2040	}
2041	if s.Values == nil {
2042		invalidParams.Add(request.NewErrParamRequired("Values"))
2043	}
2044	if s.Values != nil && len(s.Values) < 1 {
2045		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
2046	}
2047
2048	if invalidParams.Len() > 0 {
2049		return invalidParams
2050	}
2051	return nil
2052}
2053
2054// SetName sets the Name field's value.
2055func (s *SearchDevicesFilter) SetName(v string) *SearchDevicesFilter {
2056	s.Name = &v
2057	return s
2058}
2059
2060// SetValues sets the Values field's value.
2061func (s *SearchDevicesFilter) SetValues(v []*string) *SearchDevicesFilter {
2062	s.Values = v
2063	return s
2064}
2065
2066type SearchDevicesInput struct {
2067	_ struct{} `type:"structure"`
2068
2069	// The filter values to use to search for a device.
2070	//
2071	// Filters is a required field
2072	Filters []*SearchDevicesFilter `locationName:"filters" type:"list" required:"true"`
2073
2074	// The maximum number of results to return in the response.
2075	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
2076
2077	// A token used for pagination of results returned in the response. Use the
2078	// token returned from the previous request continue results where the previous
2079	// request ended.
2080	NextToken *string `locationName:"nextToken" type:"string"`
2081}
2082
2083// String returns the string representation
2084func (s SearchDevicesInput) String() string {
2085	return awsutil.Prettify(s)
2086}
2087
2088// GoString returns the string representation
2089func (s SearchDevicesInput) GoString() string {
2090	return s.String()
2091}
2092
2093// Validate inspects the fields of the type to determine if they are valid.
2094func (s *SearchDevicesInput) Validate() error {
2095	invalidParams := request.ErrInvalidParams{Context: "SearchDevicesInput"}
2096	if s.Filters == nil {
2097		invalidParams.Add(request.NewErrParamRequired("Filters"))
2098	}
2099	if s.MaxResults != nil && *s.MaxResults < 1 {
2100		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
2101	}
2102	if s.Filters != nil {
2103		for i, v := range s.Filters {
2104			if v == nil {
2105				continue
2106			}
2107			if err := v.Validate(); err != nil {
2108				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
2109			}
2110		}
2111	}
2112
2113	if invalidParams.Len() > 0 {
2114		return invalidParams
2115	}
2116	return nil
2117}
2118
2119// SetFilters sets the Filters field's value.
2120func (s *SearchDevicesInput) SetFilters(v []*SearchDevicesFilter) *SearchDevicesInput {
2121	s.Filters = v
2122	return s
2123}
2124
2125// SetMaxResults sets the MaxResults field's value.
2126func (s *SearchDevicesInput) SetMaxResults(v int64) *SearchDevicesInput {
2127	s.MaxResults = &v
2128	return s
2129}
2130
2131// SetNextToken sets the NextToken field's value.
2132func (s *SearchDevicesInput) SetNextToken(v string) *SearchDevicesInput {
2133	s.NextToken = &v
2134	return s
2135}
2136
2137type SearchDevicesOutput struct {
2138	_ struct{} `type:"structure"`
2139
2140	// An array of DeviceSummary objects for devices that match the specified filter
2141	// values.
2142	//
2143	// Devices is a required field
2144	Devices []*DeviceSummary `locationName:"devices" type:"list" required:"true"`
2145
2146	// A token used for pagination of results, or null if there are no additional
2147	// results. Use the token value in a subsequent request to continue results
2148	// where the previous request ended.
2149	NextToken *string `locationName:"nextToken" type:"string"`
2150}
2151
2152// String returns the string representation
2153func (s SearchDevicesOutput) String() string {
2154	return awsutil.Prettify(s)
2155}
2156
2157// GoString returns the string representation
2158func (s SearchDevicesOutput) GoString() string {
2159	return s.String()
2160}
2161
2162// SetDevices sets the Devices field's value.
2163func (s *SearchDevicesOutput) SetDevices(v []*DeviceSummary) *SearchDevicesOutput {
2164	s.Devices = v
2165	return s
2166}
2167
2168// SetNextToken sets the NextToken field's value.
2169func (s *SearchDevicesOutput) SetNextToken(v string) *SearchDevicesOutput {
2170	s.NextToken = &v
2171	return s
2172}
2173
2174// A filter to use to search for tasks.
2175type SearchQuantumTasksFilter struct {
2176	_ struct{} `type:"structure"`
2177
2178	// The name of the device used for the task.
2179	//
2180	// Name is a required field
2181	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
2182
2183	// An operator to use in the filter.
2184	//
2185	// Operator is a required field
2186	Operator *string `locationName:"operator" type:"string" required:"true" enum:"SearchQuantumTasksFilterOperator"`
2187
2188	// The values to use for the filter.
2189	//
2190	// Values is a required field
2191	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
2192}
2193
2194// String returns the string representation
2195func (s SearchQuantumTasksFilter) String() string {
2196	return awsutil.Prettify(s)
2197}
2198
2199// GoString returns the string representation
2200func (s SearchQuantumTasksFilter) GoString() string {
2201	return s.String()
2202}
2203
2204// Validate inspects the fields of the type to determine if they are valid.
2205func (s *SearchQuantumTasksFilter) Validate() error {
2206	invalidParams := request.ErrInvalidParams{Context: "SearchQuantumTasksFilter"}
2207	if s.Name == nil {
2208		invalidParams.Add(request.NewErrParamRequired("Name"))
2209	}
2210	if s.Name != nil && len(*s.Name) < 1 {
2211		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
2212	}
2213	if s.Operator == nil {
2214		invalidParams.Add(request.NewErrParamRequired("Operator"))
2215	}
2216	if s.Values == nil {
2217		invalidParams.Add(request.NewErrParamRequired("Values"))
2218	}
2219	if s.Values != nil && len(s.Values) < 1 {
2220		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
2221	}
2222
2223	if invalidParams.Len() > 0 {
2224		return invalidParams
2225	}
2226	return nil
2227}
2228
2229// SetName sets the Name field's value.
2230func (s *SearchQuantumTasksFilter) SetName(v string) *SearchQuantumTasksFilter {
2231	s.Name = &v
2232	return s
2233}
2234
2235// SetOperator sets the Operator field's value.
2236func (s *SearchQuantumTasksFilter) SetOperator(v string) *SearchQuantumTasksFilter {
2237	s.Operator = &v
2238	return s
2239}
2240
2241// SetValues sets the Values field's value.
2242func (s *SearchQuantumTasksFilter) SetValues(v []*string) *SearchQuantumTasksFilter {
2243	s.Values = v
2244	return s
2245}
2246
2247type SearchQuantumTasksInput struct {
2248	_ struct{} `type:"structure"`
2249
2250	// Array of SearchQuantumTasksFilter objects.
2251	//
2252	// Filters is a required field
2253	Filters []*SearchQuantumTasksFilter `locationName:"filters" type:"list" required:"true"`
2254
2255	// Maximum number of results to return in the response.
2256	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
2257
2258	// A token used for pagination of results returned in the response. Use the
2259	// token returned from the previous request continue results where the previous
2260	// request ended.
2261	NextToken *string `locationName:"nextToken" type:"string"`
2262}
2263
2264// String returns the string representation
2265func (s SearchQuantumTasksInput) String() string {
2266	return awsutil.Prettify(s)
2267}
2268
2269// GoString returns the string representation
2270func (s SearchQuantumTasksInput) GoString() string {
2271	return s.String()
2272}
2273
2274// Validate inspects the fields of the type to determine if they are valid.
2275func (s *SearchQuantumTasksInput) Validate() error {
2276	invalidParams := request.ErrInvalidParams{Context: "SearchQuantumTasksInput"}
2277	if s.Filters == nil {
2278		invalidParams.Add(request.NewErrParamRequired("Filters"))
2279	}
2280	if s.MaxResults != nil && *s.MaxResults < 1 {
2281		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
2282	}
2283	if s.Filters != nil {
2284		for i, v := range s.Filters {
2285			if v == nil {
2286				continue
2287			}
2288			if err := v.Validate(); err != nil {
2289				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
2290			}
2291		}
2292	}
2293
2294	if invalidParams.Len() > 0 {
2295		return invalidParams
2296	}
2297	return nil
2298}
2299
2300// SetFilters sets the Filters field's value.
2301func (s *SearchQuantumTasksInput) SetFilters(v []*SearchQuantumTasksFilter) *SearchQuantumTasksInput {
2302	s.Filters = v
2303	return s
2304}
2305
2306// SetMaxResults sets the MaxResults field's value.
2307func (s *SearchQuantumTasksInput) SetMaxResults(v int64) *SearchQuantumTasksInput {
2308	s.MaxResults = &v
2309	return s
2310}
2311
2312// SetNextToken sets the NextToken field's value.
2313func (s *SearchQuantumTasksInput) SetNextToken(v string) *SearchQuantumTasksInput {
2314	s.NextToken = &v
2315	return s
2316}
2317
2318type SearchQuantumTasksOutput struct {
2319	_ struct{} `type:"structure"`
2320
2321	// A token used for pagination of results, or null if there are no additional
2322	// results. Use the token value in a subsequent request to continue results
2323	// where the previous request ended.
2324	NextToken *string `locationName:"nextToken" type:"string"`
2325
2326	// An array of QuantumTaskSummary objects for tasks that match the specified
2327	// filters.
2328	//
2329	// QuantumTasks is a required field
2330	QuantumTasks []*QuantumTaskSummary `locationName:"quantumTasks" type:"list" required:"true"`
2331}
2332
2333// String returns the string representation
2334func (s SearchQuantumTasksOutput) String() string {
2335	return awsutil.Prettify(s)
2336}
2337
2338// GoString returns the string representation
2339func (s SearchQuantumTasksOutput) GoString() string {
2340	return s.String()
2341}
2342
2343// SetNextToken sets the NextToken field's value.
2344func (s *SearchQuantumTasksOutput) SetNextToken(v string) *SearchQuantumTasksOutput {
2345	s.NextToken = &v
2346	return s
2347}
2348
2349// SetQuantumTasks sets the QuantumTasks field's value.
2350func (s *SearchQuantumTasksOutput) SetQuantumTasks(v []*QuantumTaskSummary) *SearchQuantumTasksOutput {
2351	s.QuantumTasks = v
2352	return s
2353}
2354
2355// The request failed because a service quota is exceeded.
2356type ServiceQuotaExceededException struct {
2357	_            struct{}                  `type:"structure"`
2358	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
2359
2360	Message_ *string `locationName:"message" type:"string"`
2361}
2362
2363// String returns the string representation
2364func (s ServiceQuotaExceededException) String() string {
2365	return awsutil.Prettify(s)
2366}
2367
2368// GoString returns the string representation
2369func (s ServiceQuotaExceededException) GoString() string {
2370	return s.String()
2371}
2372
2373func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
2374	return &ServiceQuotaExceededException{
2375		RespMetadata: v,
2376	}
2377}
2378
2379// Code returns the exception type name.
2380func (s *ServiceQuotaExceededException) Code() string {
2381	return "ServiceQuotaExceededException"
2382}
2383
2384// Message returns the exception's message.
2385func (s *ServiceQuotaExceededException) Message() string {
2386	if s.Message_ != nil {
2387		return *s.Message_
2388	}
2389	return ""
2390}
2391
2392// OrigErr always returns nil, satisfies awserr.Error interface.
2393func (s *ServiceQuotaExceededException) OrigErr() error {
2394	return nil
2395}
2396
2397func (s *ServiceQuotaExceededException) Error() string {
2398	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
2399}
2400
2401// Status code returns the HTTP status code for the request's response error.
2402func (s *ServiceQuotaExceededException) StatusCode() int {
2403	return s.RespMetadata.StatusCode
2404}
2405
2406// RequestID returns the service's response RequestID for request.
2407func (s *ServiceQuotaExceededException) RequestID() string {
2408	return s.RespMetadata.RequestID
2409}
2410
2411type TagResourceInput struct {
2412	_ struct{} `type:"structure"`
2413
2414	// Specify the resourceArn of the resource to which a tag will be added.
2415	//
2416	// ResourceArn is a required field
2417	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
2418
2419	// Specify the tags to add to the resource.
2420	//
2421	// Tags is a required field
2422	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
2423}
2424
2425// String returns the string representation
2426func (s TagResourceInput) String() string {
2427	return awsutil.Prettify(s)
2428}
2429
2430// GoString returns the string representation
2431func (s TagResourceInput) GoString() string {
2432	return s.String()
2433}
2434
2435// Validate inspects the fields of the type to determine if they are valid.
2436func (s *TagResourceInput) Validate() error {
2437	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
2438	if s.ResourceArn == nil {
2439		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
2440	}
2441	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
2442		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
2443	}
2444	if s.Tags == nil {
2445		invalidParams.Add(request.NewErrParamRequired("Tags"))
2446	}
2447
2448	if invalidParams.Len() > 0 {
2449		return invalidParams
2450	}
2451	return nil
2452}
2453
2454// SetResourceArn sets the ResourceArn field's value.
2455func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
2456	s.ResourceArn = &v
2457	return s
2458}
2459
2460// SetTags sets the Tags field's value.
2461func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
2462	s.Tags = v
2463	return s
2464}
2465
2466type TagResourceOutput struct {
2467	_ struct{} `type:"structure"`
2468}
2469
2470// String returns the string representation
2471func (s TagResourceOutput) String() string {
2472	return awsutil.Prettify(s)
2473}
2474
2475// GoString returns the string representation
2476func (s TagResourceOutput) GoString() string {
2477	return s.String()
2478}
2479
2480// The throttling rate limit is met.
2481type ThrottlingException struct {
2482	_            struct{}                  `type:"structure"`
2483	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
2484
2485	Message_ *string `locationName:"message" type:"string"`
2486}
2487
2488// String returns the string representation
2489func (s ThrottlingException) String() string {
2490	return awsutil.Prettify(s)
2491}
2492
2493// GoString returns the string representation
2494func (s ThrottlingException) GoString() string {
2495	return s.String()
2496}
2497
2498func newErrorThrottlingException(v protocol.ResponseMetadata) error {
2499	return &ThrottlingException{
2500		RespMetadata: v,
2501	}
2502}
2503
2504// Code returns the exception type name.
2505func (s *ThrottlingException) Code() string {
2506	return "ThrottlingException"
2507}
2508
2509// Message returns the exception's message.
2510func (s *ThrottlingException) Message() string {
2511	if s.Message_ != nil {
2512		return *s.Message_
2513	}
2514	return ""
2515}
2516
2517// OrigErr always returns nil, satisfies awserr.Error interface.
2518func (s *ThrottlingException) OrigErr() error {
2519	return nil
2520}
2521
2522func (s *ThrottlingException) Error() string {
2523	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
2524}
2525
2526// Status code returns the HTTP status code for the request's response error.
2527func (s *ThrottlingException) StatusCode() int {
2528	return s.RespMetadata.StatusCode
2529}
2530
2531// RequestID returns the service's response RequestID for request.
2532func (s *ThrottlingException) RequestID() string {
2533	return s.RespMetadata.RequestID
2534}
2535
2536type UntagResourceInput struct {
2537	_ struct{} `type:"structure"`
2538
2539	// Specify the resourceArn for the resource from which to remove the tags.
2540	//
2541	// ResourceArn is a required field
2542	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
2543
2544	// pecify the keys for the tags to remove from the resource.
2545	//
2546	// TagKeys is a required field
2547	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
2548}
2549
2550// String returns the string representation
2551func (s UntagResourceInput) String() string {
2552	return awsutil.Prettify(s)
2553}
2554
2555// GoString returns the string representation
2556func (s UntagResourceInput) GoString() string {
2557	return s.String()
2558}
2559
2560// Validate inspects the fields of the type to determine if they are valid.
2561func (s *UntagResourceInput) Validate() error {
2562	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
2563	if s.ResourceArn == nil {
2564		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
2565	}
2566	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
2567		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
2568	}
2569	if s.TagKeys == nil {
2570		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
2571	}
2572
2573	if invalidParams.Len() > 0 {
2574		return invalidParams
2575	}
2576	return nil
2577}
2578
2579// SetResourceArn sets the ResourceArn field's value.
2580func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
2581	s.ResourceArn = &v
2582	return s
2583}
2584
2585// SetTagKeys sets the TagKeys field's value.
2586func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
2587	s.TagKeys = v
2588	return s
2589}
2590
2591type UntagResourceOutput struct {
2592	_ struct{} `type:"structure"`
2593}
2594
2595// String returns the string representation
2596func (s UntagResourceOutput) String() string {
2597	return awsutil.Prettify(s)
2598}
2599
2600// GoString returns the string representation
2601func (s UntagResourceOutput) GoString() string {
2602	return s.String()
2603}
2604
2605// The input fails to satisfy the constraints specified by an AWS service.
2606type ValidationException struct {
2607	_            struct{}                  `type:"structure"`
2608	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
2609
2610	Message_ *string `locationName:"message" type:"string"`
2611}
2612
2613// String returns the string representation
2614func (s ValidationException) String() string {
2615	return awsutil.Prettify(s)
2616}
2617
2618// GoString returns the string representation
2619func (s ValidationException) GoString() string {
2620	return s.String()
2621}
2622
2623func newErrorValidationException(v protocol.ResponseMetadata) error {
2624	return &ValidationException{
2625		RespMetadata: v,
2626	}
2627}
2628
2629// Code returns the exception type name.
2630func (s *ValidationException) Code() string {
2631	return "ValidationException"
2632}
2633
2634// Message returns the exception's message.
2635func (s *ValidationException) Message() string {
2636	if s.Message_ != nil {
2637		return *s.Message_
2638	}
2639	return ""
2640}
2641
2642// OrigErr always returns nil, satisfies awserr.Error interface.
2643func (s *ValidationException) OrigErr() error {
2644	return nil
2645}
2646
2647func (s *ValidationException) Error() string {
2648	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
2649}
2650
2651// Status code returns the HTTP status code for the request's response error.
2652func (s *ValidationException) StatusCode() int {
2653	return s.RespMetadata.StatusCode
2654}
2655
2656// RequestID returns the service's response RequestID for request.
2657func (s *ValidationException) RequestID() string {
2658	return s.RespMetadata.RequestID
2659}
2660
2661const (
2662	// CancellationStatusCancelling is a CancellationStatus enum value
2663	CancellationStatusCancelling = "CANCELLING"
2664
2665	// CancellationStatusCancelled is a CancellationStatus enum value
2666	CancellationStatusCancelled = "CANCELLED"
2667)
2668
2669// CancellationStatus_Values returns all elements of the CancellationStatus enum
2670func CancellationStatus_Values() []string {
2671	return []string{
2672		CancellationStatusCancelling,
2673		CancellationStatusCancelled,
2674	}
2675}
2676
2677const (
2678	// DeviceStatusOnline is a DeviceStatus enum value
2679	DeviceStatusOnline = "ONLINE"
2680
2681	// DeviceStatusOffline is a DeviceStatus enum value
2682	DeviceStatusOffline = "OFFLINE"
2683)
2684
2685// DeviceStatus_Values returns all elements of the DeviceStatus enum
2686func DeviceStatus_Values() []string {
2687	return []string{
2688		DeviceStatusOnline,
2689		DeviceStatusOffline,
2690	}
2691}
2692
2693const (
2694	// DeviceTypeQpu is a DeviceType enum value
2695	DeviceTypeQpu = "QPU"
2696
2697	// DeviceTypeSimulator is a DeviceType enum value
2698	DeviceTypeSimulator = "SIMULATOR"
2699)
2700
2701// DeviceType_Values returns all elements of the DeviceType enum
2702func DeviceType_Values() []string {
2703	return []string{
2704		DeviceTypeQpu,
2705		DeviceTypeSimulator,
2706	}
2707}
2708
2709const (
2710	// QuantumTaskStatusCreated is a QuantumTaskStatus enum value
2711	QuantumTaskStatusCreated = "CREATED"
2712
2713	// QuantumTaskStatusQueued is a QuantumTaskStatus enum value
2714	QuantumTaskStatusQueued = "QUEUED"
2715
2716	// QuantumTaskStatusRunning is a QuantumTaskStatus enum value
2717	QuantumTaskStatusRunning = "RUNNING"
2718
2719	// QuantumTaskStatusCompleted is a QuantumTaskStatus enum value
2720	QuantumTaskStatusCompleted = "COMPLETED"
2721
2722	// QuantumTaskStatusFailed is a QuantumTaskStatus enum value
2723	QuantumTaskStatusFailed = "FAILED"
2724
2725	// QuantumTaskStatusCancelling is a QuantumTaskStatus enum value
2726	QuantumTaskStatusCancelling = "CANCELLING"
2727
2728	// QuantumTaskStatusCancelled is a QuantumTaskStatus enum value
2729	QuantumTaskStatusCancelled = "CANCELLED"
2730)
2731
2732// QuantumTaskStatus_Values returns all elements of the QuantumTaskStatus enum
2733func QuantumTaskStatus_Values() []string {
2734	return []string{
2735		QuantumTaskStatusCreated,
2736		QuantumTaskStatusQueued,
2737		QuantumTaskStatusRunning,
2738		QuantumTaskStatusCompleted,
2739		QuantumTaskStatusFailed,
2740		QuantumTaskStatusCancelling,
2741		QuantumTaskStatusCancelled,
2742	}
2743}
2744
2745const (
2746	// SearchQuantumTasksFilterOperatorLt is a SearchQuantumTasksFilterOperator enum value
2747	SearchQuantumTasksFilterOperatorLt = "LT"
2748
2749	// SearchQuantumTasksFilterOperatorLte is a SearchQuantumTasksFilterOperator enum value
2750	SearchQuantumTasksFilterOperatorLte = "LTE"
2751
2752	// SearchQuantumTasksFilterOperatorEqual is a SearchQuantumTasksFilterOperator enum value
2753	SearchQuantumTasksFilterOperatorEqual = "EQUAL"
2754
2755	// SearchQuantumTasksFilterOperatorGt is a SearchQuantumTasksFilterOperator enum value
2756	SearchQuantumTasksFilterOperatorGt = "GT"
2757
2758	// SearchQuantumTasksFilterOperatorGte is a SearchQuantumTasksFilterOperator enum value
2759	SearchQuantumTasksFilterOperatorGte = "GTE"
2760
2761	// SearchQuantumTasksFilterOperatorBetween is a SearchQuantumTasksFilterOperator enum value
2762	SearchQuantumTasksFilterOperatorBetween = "BETWEEN"
2763)
2764
2765// SearchQuantumTasksFilterOperator_Values returns all elements of the SearchQuantumTasksFilterOperator enum
2766func SearchQuantumTasksFilterOperator_Values() []string {
2767	return []string{
2768		SearchQuantumTasksFilterOperatorLt,
2769		SearchQuantumTasksFilterOperatorLte,
2770		SearchQuantumTasksFilterOperatorEqual,
2771		SearchQuantumTasksFilterOperatorGt,
2772		SearchQuantumTasksFilterOperatorGte,
2773		SearchQuantumTasksFilterOperatorBetween,
2774	}
2775}
2776