AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobParameters.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glacier/model/InventoryRetrievalJobInput.h>
10#include <aws/glacier/model/SelectParameters.h>
11#include <aws/glacier/model/OutputLocation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glacier
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_GLACIER_API JobParameters();
38 AWS_GLACIER_API JobParameters(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetFormat() const{ return m_format; }
51 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
52 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
53 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
54 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
55 inline JobParameters& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
56 inline JobParameters& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
57 inline JobParameters& WithFormat(const char* value) { SetFormat(value); return *this;}
59
61
66 inline const Aws::String& GetType() const{ return m_type; }
67 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
68 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
69 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
70 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
71 inline JobParameters& WithType(const Aws::String& value) { SetType(value); return *this;}
72 inline JobParameters& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
73 inline JobParameters& WithType(const char* value) { SetType(value); return *this;}
75
77
83 inline const Aws::String& GetArchiveId() const{ return m_archiveId; }
84 inline bool ArchiveIdHasBeenSet() const { return m_archiveIdHasBeenSet; }
85 inline void SetArchiveId(const Aws::String& value) { m_archiveIdHasBeenSet = true; m_archiveId = value; }
86 inline void SetArchiveId(Aws::String&& value) { m_archiveIdHasBeenSet = true; m_archiveId = std::move(value); }
87 inline void SetArchiveId(const char* value) { m_archiveIdHasBeenSet = true; m_archiveId.assign(value); }
88 inline JobParameters& WithArchiveId(const Aws::String& value) { SetArchiveId(value); return *this;}
89 inline JobParameters& WithArchiveId(Aws::String&& value) { SetArchiveId(std::move(value)); return *this;}
90 inline JobParameters& WithArchiveId(const char* value) { SetArchiveId(value); return *this;}
92
94
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 inline JobParameters& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 inline JobParameters& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline JobParameters& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
116 inline const Aws::String& GetSNSTopic() const{ return m_sNSTopic; }
117 inline bool SNSTopicHasBeenSet() const { return m_sNSTopicHasBeenSet; }
118 inline void SetSNSTopic(const Aws::String& value) { m_sNSTopicHasBeenSet = true; m_sNSTopic = value; }
119 inline void SetSNSTopic(Aws::String&& value) { m_sNSTopicHasBeenSet = true; m_sNSTopic = std::move(value); }
120 inline void SetSNSTopic(const char* value) { m_sNSTopicHasBeenSet = true; m_sNSTopic.assign(value); }
121 inline JobParameters& WithSNSTopic(const Aws::String& value) { SetSNSTopic(value); return *this;}
122 inline JobParameters& WithSNSTopic(Aws::String&& value) { SetSNSTopic(std::move(value)); return *this;}
123 inline JobParameters& WithSNSTopic(const char* value) { SetSNSTopic(value); return *this;}
125
127
137 inline const Aws::String& GetRetrievalByteRange() const{ return m_retrievalByteRange; }
138 inline bool RetrievalByteRangeHasBeenSet() const { return m_retrievalByteRangeHasBeenSet; }
139 inline void SetRetrievalByteRange(const Aws::String& value) { m_retrievalByteRangeHasBeenSet = true; m_retrievalByteRange = value; }
140 inline void SetRetrievalByteRange(Aws::String&& value) { m_retrievalByteRangeHasBeenSet = true; m_retrievalByteRange = std::move(value); }
141 inline void SetRetrievalByteRange(const char* value) { m_retrievalByteRangeHasBeenSet = true; m_retrievalByteRange.assign(value); }
142 inline JobParameters& WithRetrievalByteRange(const Aws::String& value) { SetRetrievalByteRange(value); return *this;}
143 inline JobParameters& WithRetrievalByteRange(Aws::String&& value) { SetRetrievalByteRange(std::move(value)); return *this;}
144 inline JobParameters& WithRetrievalByteRange(const char* value) { SetRetrievalByteRange(value); return *this;}
146
148
153 inline const Aws::String& GetTier() const{ return m_tier; }
154 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
155 inline void SetTier(const Aws::String& value) { m_tierHasBeenSet = true; m_tier = value; }
156 inline void SetTier(Aws::String&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
157 inline void SetTier(const char* value) { m_tierHasBeenSet = true; m_tier.assign(value); }
158 inline JobParameters& WithTier(const Aws::String& value) { SetTier(value); return *this;}
159 inline JobParameters& WithTier(Aws::String&& value) { SetTier(std::move(value)); return *this;}
160 inline JobParameters& WithTier(const char* value) { SetTier(value); return *this;}
162
164
167 inline const InventoryRetrievalJobInput& GetInventoryRetrievalParameters() const{ return m_inventoryRetrievalParameters; }
168 inline bool InventoryRetrievalParametersHasBeenSet() const { return m_inventoryRetrievalParametersHasBeenSet; }
169 inline void SetInventoryRetrievalParameters(const InventoryRetrievalJobInput& value) { m_inventoryRetrievalParametersHasBeenSet = true; m_inventoryRetrievalParameters = value; }
170 inline void SetInventoryRetrievalParameters(InventoryRetrievalJobInput&& value) { m_inventoryRetrievalParametersHasBeenSet = true; m_inventoryRetrievalParameters = std::move(value); }
174
176
179 inline const SelectParameters& GetSelectParameters() const{ return m_selectParameters; }
180 inline bool SelectParametersHasBeenSet() const { return m_selectParametersHasBeenSet; }
181 inline void SetSelectParameters(const SelectParameters& value) { m_selectParametersHasBeenSet = true; m_selectParameters = value; }
182 inline void SetSelectParameters(SelectParameters&& value) { m_selectParametersHasBeenSet = true; m_selectParameters = std::move(value); }
183 inline JobParameters& WithSelectParameters(const SelectParameters& value) { SetSelectParameters(value); return *this;}
184 inline JobParameters& WithSelectParameters(SelectParameters&& value) { SetSelectParameters(std::move(value)); return *this;}
186
188
192 inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
193 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
194 inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
195 inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
196 inline JobParameters& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
197 inline JobParameters& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
199 private:
200
201 Aws::String m_format;
202 bool m_formatHasBeenSet = false;
203
204 Aws::String m_type;
205 bool m_typeHasBeenSet = false;
206
207 Aws::String m_archiveId;
208 bool m_archiveIdHasBeenSet = false;
209
210 Aws::String m_description;
211 bool m_descriptionHasBeenSet = false;
212
213 Aws::String m_sNSTopic;
214 bool m_sNSTopicHasBeenSet = false;
215
216 Aws::String m_retrievalByteRange;
217 bool m_retrievalByteRangeHasBeenSet = false;
218
219 Aws::String m_tier;
220 bool m_tierHasBeenSet = false;
221
222 InventoryRetrievalJobInput m_inventoryRetrievalParameters;
223 bool m_inventoryRetrievalParametersHasBeenSet = false;
224
225 SelectParameters m_selectParameters;
226 bool m_selectParametersHasBeenSet = false;
227
228 OutputLocation m_outputLocation;
229 bool m_outputLocationHasBeenSet = false;
230 };
231
232} // namespace Model
233} // namespace Glacier
234} // namespace Aws
JobParameters & WithFormat(const char *value)
void SetRetrievalByteRange(Aws::String &&value)
void SetSNSTopic(const char *value)
void SetInventoryRetrievalParameters(const InventoryRetrievalJobInput &value)
JobParameters & WithOutputLocation(OutputLocation &&value)
void SetFormat(const Aws::String &value)
JobParameters & WithType(const char *value)
const Aws::String & GetSNSTopic() const
void SetSelectParameters(const SelectParameters &value)
void SetSNSTopic(const Aws::String &value)
JobParameters & WithRetrievalByteRange(const Aws::String &value)
const Aws::String & GetDescription() const
void SetFormat(const char *value)
void SetTier(Aws::String &&value)
bool InventoryRetrievalParametersHasBeenSet() const
void SetDescription(Aws::String &&value)
AWS_GLACIER_API JobParameters(Aws::Utils::Json::JsonView jsonValue)
JobParameters & WithRetrievalByteRange(const char *value)
JobParameters & WithType(const Aws::String &value)
void SetArchiveId(const Aws::String &value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFormat(Aws::String &&value)
JobParameters & WithDescription(const Aws::String &value)
JobParameters & WithSNSTopic(const Aws::String &value)
void SetRetrievalByteRange(const char *value)
const Aws::String & GetType() const
const Aws::String & GetFormat() const
JobParameters & WithInventoryRetrievalParameters(const InventoryRetrievalJobInput &value)
JobParameters & WithType(Aws::String &&value)
JobParameters & WithSelectParameters(SelectParameters &&value)
JobParameters & WithTier(const char *value)
const Aws::String & GetRetrievalByteRange() const
void SetType(const char *value)
const OutputLocation & GetOutputLocation() const
JobParameters & WithArchiveId(const Aws::String &value)
void SetOutputLocation(const OutputLocation &value)
JobParameters & WithArchiveId(Aws::String &&value)
AWS_GLACIER_API JobParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
JobParameters & WithInventoryRetrievalParameters(InventoryRetrievalJobInput &&value)
JobParameters & WithFormat(const Aws::String &value)
void SetRetrievalByteRange(const Aws::String &value)
void SetArchiveId(Aws::String &&value)
void SetSNSTopic(Aws::String &&value)
JobParameters & WithSNSTopic(Aws::String &&value)
const Aws::String & GetArchiveId() const
JobParameters & WithFormat(Aws::String &&value)
void SetArchiveId(const char *value)
void SetInventoryRetrievalParameters(InventoryRetrievalJobInput &&value)
void SetOutputLocation(OutputLocation &&value)
JobParameters & WithSelectParameters(const SelectParameters &value)
void SetTier(const char *value)
JobParameters & WithDescription(const char *value)
void SetSelectParameters(SelectParameters &&value)
const InventoryRetrievalJobInput & GetInventoryRetrievalParameters() const
const SelectParameters & GetSelectParameters() const
const Aws::String & GetTier() const
JobParameters & WithArchiveId(const char *value)
JobParameters & WithTier(const Aws::String &value)
void SetDescription(const char *value)
JobParameters & WithOutputLocation(const OutputLocation &value)
JobParameters & WithRetrievalByteRange(Aws::String &&value)
void SetTier(const Aws::String &value)
JobParameters & WithSNSTopic(const char *value)
void SetType(const Aws::String &value)
JobParameters & WithTier(Aws::String &&value)
void SetType(Aws::String &&value)
JobParameters & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue