AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetJobOutputRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Glacier {
15namespace Model {
16
24 public:
25 AWS_GLACIER_API GetJobOutputRequest() = default;
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 "GetJobOutput"; }
32
33 AWS_GLACIER_API Aws::String SerializePayload() const override;
34
36
38
45 inline const Aws::String& GetAccountId() const { return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 template <typename AccountIdT = Aws::String>
48 void SetAccountId(AccountIdT&& value) {
49 m_accountIdHasBeenSet = true;
50 m_accountId = std::forward<AccountIdT>(value);
51 }
52 template <typename AccountIdT = Aws::String>
53 GetJobOutputRequest& WithAccountId(AccountIdT&& value) {
54 SetAccountId(std::forward<AccountIdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetVaultName() const { return m_vaultName; }
64 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
65 template <typename VaultNameT = Aws::String>
66 void SetVaultName(VaultNameT&& value) {
67 m_vaultNameHasBeenSet = true;
68 m_vaultName = std::forward<VaultNameT>(value);
69 }
70 template <typename VaultNameT = Aws::String>
71 GetJobOutputRequest& WithVaultName(VaultNameT&& value) {
72 SetVaultName(std::forward<VaultNameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetJobId() const { return m_jobId; }
82 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
83 template <typename JobIdT = Aws::String>
84 void SetJobId(JobIdT&& value) {
85 m_jobIdHasBeenSet = true;
86 m_jobId = std::forward<JobIdT>(value);
87 }
88 template <typename JobIdT = Aws::String>
89 GetJobOutputRequest& WithJobId(JobIdT&& value) {
90 SetJobId(std::forward<JobIdT>(value));
91 return *this;
92 }
94
96
120 inline const Aws::String& GetRange() const { return m_range; }
121 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
122 template <typename RangeT = Aws::String>
123 void SetRange(RangeT&& value) {
124 m_rangeHasBeenSet = true;
125 m_range = std::forward<RangeT>(value);
126 }
127 template <typename RangeT = Aws::String>
129 SetRange(std::forward<RangeT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_accountId;
135 bool m_accountIdHasBeenSet = false;
136
137 Aws::String m_vaultName;
138 bool m_vaultNameHasBeenSet = false;
139
140 Aws::String m_jobId;
141 bool m_jobIdHasBeenSet = false;
142
143 Aws::String m_range;
144 bool m_rangeHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace Glacier
149} // namespace Aws
GetJobOutputRequest & WithVaultName(VaultNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLACIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLACIER_API GetJobOutputRequest()=default
AWS_GLACIER_API Aws::String SerializePayload() const override
GetJobOutputRequest & WithAccountId(AccountIdT &&value)
GetJobOutputRequest & WithRange(RangeT &&value)
GetJobOutputRequest & WithJobId(JobIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String