AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
JobParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
9#include <aws/glacier/model/InventoryRetrievalJobInput.h>
10#include <aws/glacier/model/OutputLocation.h>
11#include <aws/glacier/model/SelectParameters.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glacier {
23namespace Model {
24
31 public:
32 AWS_GLACIER_API JobParameters() = default;
33 AWS_GLACIER_API JobParameters(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::String& GetFormat() const { return m_format; }
45 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
46 template <typename FormatT = Aws::String>
47 void SetFormat(FormatT&& value) {
48 m_formatHasBeenSet = true;
49 m_format = std::forward<FormatT>(value);
50 }
51 template <typename FormatT = Aws::String>
52 JobParameters& WithFormat(FormatT&& value) {
53 SetFormat(std::forward<FormatT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::String& GetType() const { return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 template <typename TypeT = Aws::String>
67 void SetType(TypeT&& value) {
68 m_typeHasBeenSet = true;
69 m_type = std::forward<TypeT>(value);
70 }
71 template <typename TypeT = Aws::String>
72 JobParameters& WithType(TypeT&& value) {
73 SetType(std::forward<TypeT>(value));
74 return *this;
75 }
77
79
85 inline const Aws::String& GetArchiveId() const { return m_archiveId; }
86 inline bool ArchiveIdHasBeenSet() const { return m_archiveIdHasBeenSet; }
87 template <typename ArchiveIdT = Aws::String>
88 void SetArchiveId(ArchiveIdT&& value) {
89 m_archiveIdHasBeenSet = true;
90 m_archiveId = std::forward<ArchiveIdT>(value);
91 }
92 template <typename ArchiveIdT = Aws::String>
93 JobParameters& WithArchiveId(ArchiveIdT&& value) {
94 SetArchiveId(std::forward<ArchiveIdT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::String& GetDescription() const { return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 template <typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) {
109 m_descriptionHasBeenSet = true;
110 m_description = std::forward<DescriptionT>(value);
111 }
112 template <typename DescriptionT = Aws::String>
113 JobParameters& WithDescription(DescriptionT&& value) {
114 SetDescription(std::forward<DescriptionT>(value));
115 return *this;
116 }
118
120
126 inline const Aws::String& GetSNSTopic() const { return m_sNSTopic; }
127 inline bool SNSTopicHasBeenSet() const { return m_sNSTopicHasBeenSet; }
128 template <typename SNSTopicT = Aws::String>
129 void SetSNSTopic(SNSTopicT&& value) {
130 m_sNSTopicHasBeenSet = true;
131 m_sNSTopic = std::forward<SNSTopicT>(value);
132 }
133 template <typename SNSTopicT = Aws::String>
134 JobParameters& WithSNSTopic(SNSTopicT&& value) {
135 SetSNSTopic(std::forward<SNSTopicT>(value));
136 return *this;
137 }
139
141
151 inline const Aws::String& GetRetrievalByteRange() const { return m_retrievalByteRange; }
152 inline bool RetrievalByteRangeHasBeenSet() const { return m_retrievalByteRangeHasBeenSet; }
153 template <typename RetrievalByteRangeT = Aws::String>
154 void SetRetrievalByteRange(RetrievalByteRangeT&& value) {
155 m_retrievalByteRangeHasBeenSet = true;
156 m_retrievalByteRange = std::forward<RetrievalByteRangeT>(value);
157 }
158 template <typename RetrievalByteRangeT = Aws::String>
159 JobParameters& WithRetrievalByteRange(RetrievalByteRangeT&& value) {
160 SetRetrievalByteRange(std::forward<RetrievalByteRangeT>(value));
161 return *this;
162 }
164
166
171 inline const Aws::String& GetTier() const { return m_tier; }
172 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
173 template <typename TierT = Aws::String>
174 void SetTier(TierT&& value) {
175 m_tierHasBeenSet = true;
176 m_tier = std::forward<TierT>(value);
177 }
178 template <typename TierT = Aws::String>
179 JobParameters& WithTier(TierT&& value) {
180 SetTier(std::forward<TierT>(value));
181 return *this;
182 }
184
186
189 inline const InventoryRetrievalJobInput& GetInventoryRetrievalParameters() const { return m_inventoryRetrievalParameters; }
190 inline bool InventoryRetrievalParametersHasBeenSet() const { return m_inventoryRetrievalParametersHasBeenSet; }
191 template <typename InventoryRetrievalParametersT = InventoryRetrievalJobInput>
192 void SetInventoryRetrievalParameters(InventoryRetrievalParametersT&& value) {
193 m_inventoryRetrievalParametersHasBeenSet = true;
194 m_inventoryRetrievalParameters = std::forward<InventoryRetrievalParametersT>(value);
195 }
196 template <typename InventoryRetrievalParametersT = InventoryRetrievalJobInput>
197 JobParameters& WithInventoryRetrievalParameters(InventoryRetrievalParametersT&& value) {
198 SetInventoryRetrievalParameters(std::forward<InventoryRetrievalParametersT>(value));
199 return *this;
200 }
202
204
207 inline const SelectParameters& GetSelectParameters() const { return m_selectParameters; }
208 inline bool SelectParametersHasBeenSet() const { return m_selectParametersHasBeenSet; }
209 template <typename SelectParametersT = SelectParameters>
210 void SetSelectParameters(SelectParametersT&& value) {
211 m_selectParametersHasBeenSet = true;
212 m_selectParameters = std::forward<SelectParametersT>(value);
213 }
214 template <typename SelectParametersT = SelectParameters>
215 JobParameters& WithSelectParameters(SelectParametersT&& value) {
216 SetSelectParameters(std::forward<SelectParametersT>(value));
217 return *this;
218 }
220
222
226 inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; }
227 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
228 template <typename OutputLocationT = OutputLocation>
229 void SetOutputLocation(OutputLocationT&& value) {
230 m_outputLocationHasBeenSet = true;
231 m_outputLocation = std::forward<OutputLocationT>(value);
232 }
233 template <typename OutputLocationT = OutputLocation>
234 JobParameters& WithOutputLocation(OutputLocationT&& value) {
235 SetOutputLocation(std::forward<OutputLocationT>(value));
236 return *this;
237 }
239 private:
240 Aws::String m_format;
241 bool m_formatHasBeenSet = false;
242
243 Aws::String m_type;
244 bool m_typeHasBeenSet = false;
245
246 Aws::String m_archiveId;
247 bool m_archiveIdHasBeenSet = false;
248
249 Aws::String m_description;
250 bool m_descriptionHasBeenSet = false;
251
252 Aws::String m_sNSTopic;
253 bool m_sNSTopicHasBeenSet = false;
254
255 Aws::String m_retrievalByteRange;
256 bool m_retrievalByteRangeHasBeenSet = false;
257
258 Aws::String m_tier;
259 bool m_tierHasBeenSet = false;
260
261 InventoryRetrievalJobInput m_inventoryRetrievalParameters;
262 bool m_inventoryRetrievalParametersHasBeenSet = false;
263
264 SelectParameters m_selectParameters;
265 bool m_selectParametersHasBeenSet = false;
266
267 OutputLocation m_outputLocation;
268 bool m_outputLocationHasBeenSet = false;
269};
270
271} // namespace Model
272} // namespace Glacier
273} // namespace Aws
JobParameters & WithRetrievalByteRange(RetrievalByteRangeT &&value)
void SetSelectParameters(SelectParametersT &&value)
JobParameters & WithTier(TierT &&value)
JobParameters & WithArchiveId(ArchiveIdT &&value)
JobParameters & WithDescription(DescriptionT &&value)
AWS_GLACIER_API JobParameters()=default
JobParameters & WithSelectParameters(SelectParametersT &&value)
const Aws::String & GetSNSTopic() const
JobParameters & WithType(TypeT &&value)
const Aws::String & GetDescription() const
void SetFormat(FormatT &&value)
void SetArchiveId(ArchiveIdT &&value)
bool InventoryRetrievalParametersHasBeenSet() const
AWS_GLACIER_API JobParameters(Aws::Utils::Json::JsonView jsonValue)
JobParameters & WithSNSTopic(SNSTopicT &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetType() const
const Aws::String & GetFormat() const
void SetInventoryRetrievalParameters(InventoryRetrievalParametersT &&value)
const Aws::String & GetRetrievalByteRange() const
const OutputLocation & GetOutputLocation() const
AWS_GLACIER_API JobParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRetrievalByteRange(RetrievalByteRangeT &&value)
JobParameters & WithInventoryRetrievalParameters(InventoryRetrievalParametersT &&value)
JobParameters & WithFormat(FormatT &&value)
const Aws::String & GetArchiveId() const
void SetSNSTopic(SNSTopicT &&value)
const InventoryRetrievalJobInput & GetInventoryRetrievalParameters() const
const SelectParameters & GetSelectParameters() const
const Aws::String & GetTier() const
void SetOutputLocation(OutputLocationT &&value)
void SetDescription(DescriptionT &&value)
JobParameters & WithOutputLocation(OutputLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue