AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeTapeArchivesRequest.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
20 
21 namespace Aws
22 {
23 namespace StorageGateway
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
43  inline const Aws::Vector<Aws::String>& GetTapeARNs() const{ return m_tapeARNs; }
44 
49  inline void SetTapeARNs(const Aws::Vector<Aws::String>& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = value; }
50 
55  inline void SetTapeARNs(Aws::Vector<Aws::String>&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = value; }
56 
61  inline DescribeTapeArchivesRequest& WithTapeARNs(const Aws::Vector<Aws::String>& value) { SetTapeARNs(value); return *this;}
62 
67  inline DescribeTapeArchivesRequest& WithTapeARNs(Aws::Vector<Aws::String>&& value) { SetTapeARNs(value); return *this;}
68 
73  inline DescribeTapeArchivesRequest& AddTapeARNs(const Aws::String& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
74 
79  inline DescribeTapeArchivesRequest& AddTapeARNs(Aws::String&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
80 
85  inline DescribeTapeArchivesRequest& AddTapeARNs(const char* value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
86 
91  inline const Aws::String& GetMarker() const{ return m_marker; }
92 
97  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
98 
103  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
104 
109  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
110 
115  inline DescribeTapeArchivesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
116 
121  inline DescribeTapeArchivesRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
122 
127  inline DescribeTapeArchivesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
128 
133  inline long GetLimit() const{ return m_limit; }
134 
139  inline void SetLimit(long value) { m_limitHasBeenSet = true; m_limit = value; }
140 
145  inline DescribeTapeArchivesRequest& WithLimit(long value) { SetLimit(value); return *this;}
146 
147  private:
148  Aws::Vector<Aws::String> m_tapeARNs;
149  bool m_tapeARNsHasBeenSet;
150  Aws::String m_marker;
151  bool m_markerHasBeenSet;
152  long m_limit;
153  bool m_limitHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace StorageGateway
158 } // namespace Aws
const Aws::Vector< Aws::String > & GetTapeARNs() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
void SetTapeARNs(const Aws::Vector< Aws::String > &value)
DescribeTapeArchivesRequest & AddTapeARNs(const Aws::String &value)
DescribeTapeArchivesRequest & AddTapeARNs(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeTapeArchivesRequest & WithMarker(const Aws::String &value)
DescribeTapeArchivesRequest & AddTapeARNs(const char *value)
DescribeTapeArchivesRequest & WithMarker(Aws::String &&value)
#define AWS_STORAGEGATEWAY_API
DescribeTapeArchivesRequest & WithMarker(const char *value)
DescribeTapeArchivesRequest & WithTapeARNs(Aws::Vector< Aws::String > &&value)
DescribeTapeArchivesRequest & WithTapeARNs(const Aws::Vector< Aws::String > &value)
JSON (JavaScript Object Notation).