AWS SDK for C++  0.14.3
AWS SDK for C++
InventoryRetrievalJobInput.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:
41  InventoryRetrievalJobInput& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
49  inline const Aws::String& GetStartDate() const{ return m_startDate; }
50 
56  inline void SetStartDate(const Aws::String& value) { m_startDateHasBeenSet = true; m_startDate = value; }
57 
63  inline void SetStartDate(Aws::String&& value) { m_startDateHasBeenSet = true; m_startDate = value; }
64 
70  inline void SetStartDate(const char* value) { m_startDateHasBeenSet = true; m_startDate.assign(value); }
71 
77  inline InventoryRetrievalJobInput& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
78 
84  inline InventoryRetrievalJobInput& WithStartDate(Aws::String&& value) { SetStartDate(value); return *this;}
85 
91  inline InventoryRetrievalJobInput& WithStartDate(const char* value) { SetStartDate(value); return *this;}
92 
98  inline const Aws::String& GetEndDate() const{ return m_endDate; }
99 
105  inline void SetEndDate(const Aws::String& value) { m_endDateHasBeenSet = true; m_endDate = value; }
106 
112  inline void SetEndDate(Aws::String&& value) { m_endDateHasBeenSet = true; m_endDate = value; }
113 
119  inline void SetEndDate(const char* value) { m_endDateHasBeenSet = true; m_endDate.assign(value); }
120 
126  inline InventoryRetrievalJobInput& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
127 
133  inline InventoryRetrievalJobInput& WithEndDate(Aws::String&& value) { SetEndDate(value); return *this;}
134 
140  inline InventoryRetrievalJobInput& WithEndDate(const char* value) { SetEndDate(value); return *this;}
141 
146  inline const Aws::String& GetLimit() const{ return m_limit; }
147 
152  inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
153 
158  inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = value; }
159 
164  inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
165 
170  inline InventoryRetrievalJobInput& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
171 
176  inline InventoryRetrievalJobInput& WithLimit(Aws::String&& value) { SetLimit(value); return *this;}
177 
182  inline InventoryRetrievalJobInput& WithLimit(const char* value) { SetLimit(value); return *this;}
183 
190  inline const Aws::String& GetMarker() const{ return m_marker; }
191 
198  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
199 
206  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
207 
214  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
215 
222  inline InventoryRetrievalJobInput& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
223 
230  inline InventoryRetrievalJobInput& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
231 
238  inline InventoryRetrievalJobInput& WithMarker(const char* value) { SetMarker(value); return *this;}
239 
240  private:
241  Aws::String m_startDate;
242  bool m_startDateHasBeenSet;
243  Aws::String m_endDate;
244  bool m_endDateHasBeenSet;
245  Aws::String m_limit;
246  bool m_limitHasBeenSet;
247  Aws::String m_marker;
248  bool m_markerHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace Glacier
253 } // namespace Aws
InventoryRetrievalJobInput & WithMarker(const Aws::String &value)
InventoryRetrievalJobInput & WithEndDate(const Aws::String &value)
InventoryRetrievalJobInput & WithLimit(const Aws::String &value)
InventoryRetrievalJobInput & WithStartDate(const char *value)
InventoryRetrievalJobInput & WithEndDate(Aws::String &&value)
InventoryRetrievalJobInput & WithMarker(const char *value)
InventoryRetrievalJobInput & WithLimit(Aws::String &&value)
InventoryRetrievalJobInput & WithEndDate(const char *value)
#define AWS_GLACIER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
InventoryRetrievalJobInput & WithLimit(const char *value)
InventoryRetrievalJobInput & WithStartDate(Aws::String &&value)
InventoryRetrievalJobInput & WithStartDate(const Aws::String &value)
JSON (JavaScript Object Notation).
InventoryRetrievalJobInput & WithMarker(Aws::String &&value)