AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetJobRequest.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/HybridJobAdditionalAttributeName.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 GetJobRequest();
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 "GetJob"; }
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<HybridJobAdditionalAttributeName>& GetAdditionalAttributeNames() const{ return m_additionalAttributeNames; }
48 inline bool AdditionalAttributeNamesHasBeenSet() const { return m_additionalAttributeNamesHasBeenSet; }
49 inline void SetAdditionalAttributeNames(const Aws::Vector<HybridJobAdditionalAttributeName>& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames = value; }
50 inline void SetAdditionalAttributeNames(Aws::Vector<HybridJobAdditionalAttributeName>&& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames = std::move(value); }
53 inline GetJobRequest& AddAdditionalAttributeNames(const HybridJobAdditionalAttributeName& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames.push_back(value); return *this; }
54 inline GetJobRequest& AddAdditionalAttributeNames(HybridJobAdditionalAttributeName&& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
62 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
63 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
64 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
65 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
66 inline GetJobRequest& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
67 inline GetJobRequest& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
68 inline GetJobRequest& WithJobArn(const char* value) { SetJobArn(value); return *this;}
70 private:
71
72 Aws::Vector<HybridJobAdditionalAttributeName> m_additionalAttributeNames;
73 bool m_additionalAttributeNamesHasBeenSet = false;
74
75 Aws::String m_jobArn;
76 bool m_jobArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Braket
81} // namespace Aws
const Aws::Vector< HybridJobAdditionalAttributeName > & GetAdditionalAttributeNames() const
void SetJobArn(const Aws::String &value)
void SetAdditionalAttributeNames(const Aws::Vector< HybridJobAdditionalAttributeName > &value)
GetJobRequest & AddAdditionalAttributeNames(const HybridJobAdditionalAttributeName &value)
GetJobRequest & WithAdditionalAttributeNames(const Aws::Vector< HybridJobAdditionalAttributeName > &value)
GetJobRequest & WithJobArn(const Aws::String &value)
const Aws::String & GetJobArn() const
void SetJobArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetJobRequest & WithAdditionalAttributeNames(Aws::Vector< HybridJobAdditionalAttributeName > &&value)
GetJobRequest & AddAdditionalAttributeNames(HybridJobAdditionalAttributeName &&value)
void SetAdditionalAttributeNames(Aws::Vector< HybridJobAdditionalAttributeName > &&value)
AWS_BRAKET_API Aws::String SerializePayload() const override
GetJobRequest & WithJobArn(const char *value)
AWS_BRAKET_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetJobArn(const char *value)
bool AdditionalAttributeNamesHasBeenSet() const
GetJobRequest & WithJobArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector