AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename FormatT = Aws::String>
53 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
54 template<typename FormatT = Aws::String>
55 JobParameters& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
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) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
68 template<typename TypeT = Aws::String>
69 JobParameters& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
71
73
79 inline const Aws::String& GetArchiveId() const { return m_archiveId; }
80 inline bool ArchiveIdHasBeenSet() const { return m_archiveIdHasBeenSet; }
81 template<typename ArchiveIdT = Aws::String>
82 void SetArchiveId(ArchiveIdT&& value) { m_archiveIdHasBeenSet = true; m_archiveId = std::forward<ArchiveIdT>(value); }
83 template<typename ArchiveIdT = Aws::String>
84 JobParameters& WithArchiveId(ArchiveIdT&& value) { SetArchiveId(std::forward<ArchiveIdT>(value)); return *this;}
86
88
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template<typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 JobParameters& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
108 inline const Aws::String& GetSNSTopic() const { return m_sNSTopic; }
109 inline bool SNSTopicHasBeenSet() const { return m_sNSTopicHasBeenSet; }
110 template<typename SNSTopicT = Aws::String>
111 void SetSNSTopic(SNSTopicT&& value) { m_sNSTopicHasBeenSet = true; m_sNSTopic = std::forward<SNSTopicT>(value); }
112 template<typename SNSTopicT = Aws::String>
113 JobParameters& WithSNSTopic(SNSTopicT&& value) { SetSNSTopic(std::forward<SNSTopicT>(value)); return *this;}
115
117
127 inline const Aws::String& GetRetrievalByteRange() const { return m_retrievalByteRange; }
128 inline bool RetrievalByteRangeHasBeenSet() const { return m_retrievalByteRangeHasBeenSet; }
129 template<typename RetrievalByteRangeT = Aws::String>
130 void SetRetrievalByteRange(RetrievalByteRangeT&& value) { m_retrievalByteRangeHasBeenSet = true; m_retrievalByteRange = std::forward<RetrievalByteRangeT>(value); }
131 template<typename RetrievalByteRangeT = Aws::String>
132 JobParameters& WithRetrievalByteRange(RetrievalByteRangeT&& value) { SetRetrievalByteRange(std::forward<RetrievalByteRangeT>(value)); return *this;}
134
136
141 inline const Aws::String& GetTier() const { return m_tier; }
142 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
143 template<typename TierT = Aws::String>
144 void SetTier(TierT&& value) { m_tierHasBeenSet = true; m_tier = std::forward<TierT>(value); }
145 template<typename TierT = Aws::String>
146 JobParameters& WithTier(TierT&& value) { SetTier(std::forward<TierT>(value)); return *this;}
148
150
153 inline const InventoryRetrievalJobInput& GetInventoryRetrievalParameters() const { return m_inventoryRetrievalParameters; }
154 inline bool InventoryRetrievalParametersHasBeenSet() const { return m_inventoryRetrievalParametersHasBeenSet; }
155 template<typename InventoryRetrievalParametersT = InventoryRetrievalJobInput>
156 void SetInventoryRetrievalParameters(InventoryRetrievalParametersT&& value) { m_inventoryRetrievalParametersHasBeenSet = true; m_inventoryRetrievalParameters = std::forward<InventoryRetrievalParametersT>(value); }
157 template<typename InventoryRetrievalParametersT = InventoryRetrievalJobInput>
158 JobParameters& WithInventoryRetrievalParameters(InventoryRetrievalParametersT&& value) { SetInventoryRetrievalParameters(std::forward<InventoryRetrievalParametersT>(value)); return *this;}
160
162
165 inline const SelectParameters& GetSelectParameters() const { return m_selectParameters; }
166 inline bool SelectParametersHasBeenSet() const { return m_selectParametersHasBeenSet; }
167 template<typename SelectParametersT = SelectParameters>
168 void SetSelectParameters(SelectParametersT&& value) { m_selectParametersHasBeenSet = true; m_selectParameters = std::forward<SelectParametersT>(value); }
169 template<typename SelectParametersT = SelectParameters>
170 JobParameters& WithSelectParameters(SelectParametersT&& value) { SetSelectParameters(std::forward<SelectParametersT>(value)); return *this;}
172
174
178 inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; }
179 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
180 template<typename OutputLocationT = OutputLocation>
181 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
182 template<typename OutputLocationT = OutputLocation>
183 JobParameters& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
185 private:
186
187 Aws::String m_format;
188 bool m_formatHasBeenSet = false;
189
190 Aws::String m_type;
191 bool m_typeHasBeenSet = false;
192
193 Aws::String m_archiveId;
194 bool m_archiveIdHasBeenSet = false;
195
196 Aws::String m_description;
197 bool m_descriptionHasBeenSet = false;
198
199 Aws::String m_sNSTopic;
200 bool m_sNSTopicHasBeenSet = false;
201
202 Aws::String m_retrievalByteRange;
203 bool m_retrievalByteRangeHasBeenSet = false;
204
205 Aws::String m_tier;
206 bool m_tierHasBeenSet = false;
207
208 InventoryRetrievalJobInput m_inventoryRetrievalParameters;
209 bool m_inventoryRetrievalParametersHasBeenSet = false;
210
211 SelectParameters m_selectParameters;
212 bool m_selectParametersHasBeenSet = false;
213
214 OutputLocation m_outputLocation;
215 bool m_outputLocationHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace Glacier
220} // 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