AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQuantumTaskRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/braket/model/QuantumTaskAdditionalAttributeName.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Braket
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_BRAKET_API GetQuantumTaskRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetQuantumTask"; }
37
38 AWS_BRAKET_API Aws::String SerializePayload() const override;
39
40 AWS_BRAKET_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::Vector<QuantumTaskAdditionalAttributeName>& GetAdditionalAttributeNames() const{ return m_additionalAttributeNames; }
48 inline bool AdditionalAttributeNamesHasBeenSet() const { return m_additionalAttributeNamesHasBeenSet; }
49 inline void SetAdditionalAttributeNames(const Aws::Vector<QuantumTaskAdditionalAttributeName>& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames = value; }
50 inline void SetAdditionalAttributeNames(Aws::Vector<QuantumTaskAdditionalAttributeName>&& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames = std::move(value); }
53 inline GetQuantumTaskRequest& AddAdditionalAttributeNames(const QuantumTaskAdditionalAttributeName& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames.push_back(value); return *this; }
54 inline GetQuantumTaskRequest& AddAdditionalAttributeNames(QuantumTaskAdditionalAttributeName&& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetQuantumTaskArn() const{ return m_quantumTaskArn; }
62 inline bool QuantumTaskArnHasBeenSet() const { return m_quantumTaskArnHasBeenSet; }
63 inline void SetQuantumTaskArn(const Aws::String& value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn = value; }
64 inline void SetQuantumTaskArn(Aws::String&& value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn = std::move(value); }
65 inline void SetQuantumTaskArn(const char* value) { m_quantumTaskArnHasBeenSet = true; m_quantumTaskArn.assign(value); }
66 inline GetQuantumTaskRequest& WithQuantumTaskArn(const Aws::String& value) { SetQuantumTaskArn(value); return *this;}
67 inline GetQuantumTaskRequest& WithQuantumTaskArn(Aws::String&& value) { SetQuantumTaskArn(std::move(value)); return *this;}
68 inline GetQuantumTaskRequest& WithQuantumTaskArn(const char* value) { SetQuantumTaskArn(value); return *this;}
70 private:
71
72 Aws::Vector<QuantumTaskAdditionalAttributeName> m_additionalAttributeNames;
73 bool m_additionalAttributeNamesHasBeenSet = false;
74
75 Aws::String m_quantumTaskArn;
76 bool m_quantumTaskArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Braket
81} // namespace Aws
void SetAdditionalAttributeNames(const Aws::Vector< QuantumTaskAdditionalAttributeName > &value)
AWS_BRAKET_API Aws::String SerializePayload() const override
GetQuantumTaskRequest & WithQuantumTaskArn(const Aws::String &value)
void SetQuantumTaskArn(const Aws::String &value)
GetQuantumTaskRequest & WithAdditionalAttributeNames(Aws::Vector< QuantumTaskAdditionalAttributeName > &&value)
GetQuantumTaskRequest & WithAdditionalAttributeNames(const Aws::Vector< QuantumTaskAdditionalAttributeName > &value)
virtual const char * GetServiceRequestName() const override
GetQuantumTaskRequest & WithQuantumTaskArn(Aws::String &&value)
void SetAdditionalAttributeNames(Aws::Vector< QuantumTaskAdditionalAttributeName > &&value)
const Aws::Vector< QuantumTaskAdditionalAttributeName > & GetAdditionalAttributeNames() const
GetQuantumTaskRequest & WithQuantumTaskArn(const char *value)
GetQuantumTaskRequest & AddAdditionalAttributeNames(const QuantumTaskAdditionalAttributeName &value)
AWS_BRAKET_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetQuantumTaskRequest & AddAdditionalAttributeNames(QuantumTaskAdditionalAttributeName &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector