AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelQuantumTaskRequest.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/BraketRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Braket
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BRAKET_API CancelQuantumTaskRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CancelQuantumTask"; }
32
33 AWS_BRAKET_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
41 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
42 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
43 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
44 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
45 inline CancelQuantumTaskRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
46 inline CancelQuantumTaskRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
47 inline CancelQuantumTaskRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
49
51
54 inline const Aws::String& GetQuantumTaskArn() const{ return m_quantumTaskArn; }
55 inline bool QuantumTaskArnHasBeenSet() const { return m_quantumTaskArnHasBeenSet; }
56 inline void SetQuantumTaskArn(const Aws::String& value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn = value; }
57 inline void SetQuantumTaskArn(Aws::String&& value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn = std::move(value); }
58 inline void SetQuantumTaskArn(const char* value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn.assign(value); }
59 inline CancelQuantumTaskRequest& WithQuantumTaskArn(const Aws::String& value) { SetQuantumTaskArn(value); return *this;}
60 inline CancelQuantumTaskRequest& WithQuantumTaskArn(Aws::String&& value) { SetQuantumTaskArn(std::move(value)); return *this;}
61 inline CancelQuantumTaskRequest& WithQuantumTaskArn(const char* value) { SetQuantumTaskArn(value); return *this;}
63 private:
64
65 Aws::String m_clientToken;
66 bool m_clientTokenHasBeenSet = false;
67
68 Aws::String m_quantumTaskArn;
69 bool m_quantumTaskArnHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Braket
74} // namespace Aws
CancelQuantumTaskRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_BRAKET_API Aws::String SerializePayload() const override
CancelQuantumTaskRequest & WithClientToken(Aws::String &&value)
CancelQuantumTaskRequest & WithQuantumTaskArn(Aws::String &&value)
CancelQuantumTaskRequest & WithQuantumTaskArn(const Aws::String &value)
CancelQuantumTaskRequest & WithClientToken(const Aws::String &value)
CancelQuantumTaskRequest & WithQuantumTaskArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String