AWS SDK for C++  0.14.3
AWS SDK for C++
InventoryRetrievalJobDescription.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace Glacier
29 {
30 namespace Model
31 {
32 
37  {
38  public:
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
49  inline const Aws::String& GetFormat() const{ return m_format; }
50 
56  inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
57 
63  inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = value; }
64 
70  inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
71 
77  inline InventoryRetrievalJobDescription& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
78 
84  inline InventoryRetrievalJobDescription& WithFormat(Aws::String&& value) { SetFormat(value); return *this;}
85 
91  inline InventoryRetrievalJobDescription& WithFormat(const char* value) { SetFormat(value); return *this;}
92 
98  inline const Aws::String& GetStartDate() const{ return m_startDate; }
99 
105  inline void SetStartDate(const Aws::String& value) { m_startDateHasBeenSet = true; m_startDate = value; }
106 
112  inline void SetStartDate(Aws::String&& value) { m_startDateHasBeenSet = true; m_startDate = value; }
113 
119  inline void SetStartDate(const char* value) { m_startDateHasBeenSet = true; m_startDate.assign(value); }
120 
126  inline InventoryRetrievalJobDescription& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
127 
133  inline InventoryRetrievalJobDescription& WithStartDate(Aws::String&& value) { SetStartDate(value); return *this;}
134 
140  inline InventoryRetrievalJobDescription& WithStartDate(const char* value) { SetStartDate(value); return *this;}
141 
147  inline const Aws::String& GetEndDate() const{ return m_endDate; }
148 
154  inline void SetEndDate(const Aws::String& value) { m_endDateHasBeenSet = true; m_endDate = value; }
155 
161  inline void SetEndDate(Aws::String&& value) { m_endDateHasBeenSet = true; m_endDate = value; }
162 
168  inline void SetEndDate(const char* value) { m_endDateHasBeenSet = true; m_endDate.assign(value); }
169 
175  inline InventoryRetrievalJobDescription& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
176 
182  inline InventoryRetrievalJobDescription& WithEndDate(Aws::String&& value) { SetEndDate(value); return *this;}
183 
189  inline InventoryRetrievalJobDescription& WithEndDate(const char* value) { SetEndDate(value); return *this;}
190 
196  inline const Aws::String& GetLimit() const{ return m_limit; }
197 
203  inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
204 
210  inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = value; }
211 
217  inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
218 
224  inline InventoryRetrievalJobDescription& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
225 
231  inline InventoryRetrievalJobDescription& WithLimit(Aws::String&& value) { SetLimit(value); return *this;}
232 
238  inline InventoryRetrievalJobDescription& WithLimit(const char* value) { SetLimit(value); return *this;}
239 
248  inline const Aws::String& GetMarker() const{ return m_marker; }
249 
258  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
259 
268  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
269 
278  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
279 
288  inline InventoryRetrievalJobDescription& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
289 
298  inline InventoryRetrievalJobDescription& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
299 
308  inline InventoryRetrievalJobDescription& WithMarker(const char* value) { SetMarker(value); return *this;}
309 
310  private:
311  Aws::String m_format;
312  bool m_formatHasBeenSet;
313  Aws::String m_startDate;
314  bool m_startDateHasBeenSet;
315  Aws::String m_endDate;
316  bool m_endDateHasBeenSet;
317  Aws::String m_limit;
318  bool m_limitHasBeenSet;
319  Aws::String m_marker;
320  bool m_markerHasBeenSet;
321  };
322 
323 } // namespace Model
324 } // namespace Glacier
325 } // namespace Aws
InventoryRetrievalJobDescription & WithMarker(const char *value)
InventoryRetrievalJobDescription & WithEndDate(const char *value)
InventoryRetrievalJobDescription & WithEndDate(const Aws::String &value)
InventoryRetrievalJobDescription & WithFormat(const char *value)
InventoryRetrievalJobDescription & WithStartDate(const Aws::String &value)
InventoryRetrievalJobDescription & WithLimit(const char *value)
InventoryRetrievalJobDescription & WithMarker(Aws::String &&value)
InventoryRetrievalJobDescription & WithLimit(Aws::String &&value)
InventoryRetrievalJobDescription & WithLimit(const Aws::String &value)
InventoryRetrievalJobDescription & WithFormat(Aws::String &&value)
InventoryRetrievalJobDescription & WithStartDate(const char *value)
InventoryRetrievalJobDescription & WithFormat(const Aws::String &value)
#define AWS_GLACIER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
InventoryRetrievalJobDescription & WithMarker(const Aws::String &value)
InventoryRetrievalJobDescription & WithStartDate(Aws::String &&value)
InventoryRetrievalJobDescription & WithEndDate(Aws::String &&value)
JSON (JavaScript Object Notation).