AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AdditionalAttributeNamesT = Aws::Vector<HybridJobAdditionalAttributeName>>
50 void SetAdditionalAttributeNames(AdditionalAttributeNamesT&& value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames = std::forward<AdditionalAttributeNamesT>(value); }
51 template<typename AdditionalAttributeNamesT = Aws::Vector<HybridJobAdditionalAttributeName>>
52 GetJobRequest& WithAdditionalAttributeNames(AdditionalAttributeNamesT&& value) { SetAdditionalAttributeNames(std::forward<AdditionalAttributeNamesT>(value)); return *this;}
53 inline GetJobRequest& AddAdditionalAttributeNames(HybridJobAdditionalAttributeName value) { m_additionalAttributeNamesHasBeenSet = true; m_additionalAttributeNames.push_back(value); return *this; }
55
57
60 inline const Aws::String& GetJobArn() const { return m_jobArn; }
61 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
62 template<typename JobArnT = Aws::String>
63 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
64 template<typename JobArnT = Aws::String>
65 GetJobRequest& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
67 private:
68
69 Aws::Vector<HybridJobAdditionalAttributeName> m_additionalAttributeNames;
70 bool m_additionalAttributeNamesHasBeenSet = false;
71
72 Aws::String m_jobArn;
73 bool m_jobArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Braket
78} // namespace Aws
GetJobRequest & WithAdditionalAttributeNames(AdditionalAttributeNamesT &&value)
GetJobRequest & AddAdditionalAttributeNames(HybridJobAdditionalAttributeName value)
const Aws::Vector< HybridJobAdditionalAttributeName > & GetAdditionalAttributeNames() const
void SetAdditionalAttributeNames(AdditionalAttributeNamesT &&value)
void SetJobArn(JobArnT &&value)
const Aws::String & GetJobArn() const
AWS_BRAKET_API GetJobRequest()=default
virtual const char * GetServiceRequestName() const override
GetJobRequest & WithJobArn(JobArnT &&value)
AWS_BRAKET_API Aws::String SerializePayload() const override
AWS_BRAKET_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool AdditionalAttributeNamesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector