AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeObjectsRequest.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 DataPipeline
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
42  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
43 
47  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
48 
52  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
53 
57  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
58 
62  inline DescribeObjectsRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
63 
67  inline DescribeObjectsRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(value); return *this;}
68 
72  inline DescribeObjectsRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
73 
79  inline const Aws::Vector<Aws::String>& GetObjectIds() const{ return m_objectIds; }
80 
86  inline void SetObjectIds(const Aws::Vector<Aws::String>& value) { m_objectIdsHasBeenSet = true; m_objectIds = value; }
87 
93  inline void SetObjectIds(Aws::Vector<Aws::String>&& value) { m_objectIdsHasBeenSet = true; m_objectIds = value; }
94 
100  inline DescribeObjectsRequest& WithObjectIds(const Aws::Vector<Aws::String>& value) { SetObjectIds(value); return *this;}
101 
107  inline DescribeObjectsRequest& WithObjectIds(Aws::Vector<Aws::String>&& value) { SetObjectIds(value); return *this;}
108 
114  inline DescribeObjectsRequest& AddObjectIds(const Aws::String& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
115 
121  inline DescribeObjectsRequest& AddObjectIds(Aws::String&& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
122 
128  inline DescribeObjectsRequest& AddObjectIds(const char* value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
129 
134  inline bool GetEvaluateExpressions() const{ return m_evaluateExpressions; }
135 
140  inline void SetEvaluateExpressions(bool value) { m_evaluateExpressionsHasBeenSet = true; m_evaluateExpressions = value; }
141 
146  inline DescribeObjectsRequest& WithEvaluateExpressions(bool value) { SetEvaluateExpressions(value); return *this;}
147 
154  inline const Aws::String& GetMarker() const{ return m_marker; }
155 
162  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
163 
170  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
171 
178  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
179 
186  inline DescribeObjectsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
187 
194  inline DescribeObjectsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
195 
202  inline DescribeObjectsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
203 
204  private:
205  Aws::String m_pipelineId;
206  bool m_pipelineIdHasBeenSet;
207  Aws::Vector<Aws::String> m_objectIds;
208  bool m_objectIdsHasBeenSet;
209  bool m_evaluateExpressions;
210  bool m_evaluateExpressionsHasBeenSet;
211  Aws::String m_marker;
212  bool m_markerHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace DataPipeline
217 } // namespace Aws
DescribeObjectsRequest & WithPipelineId(const char *value)
DescribeObjectsRequest & WithObjectIds(const Aws::Vector< Aws::String > &value)
DescribeObjectsRequest & AddObjectIds(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeObjectsRequest & WithMarker(const Aws::String &value)
DescribeObjectsRequest & WithEvaluateExpressions(bool value)
#define AWS_DATAPIPELINE_API
DescribeObjectsRequest & AddObjectIds(const Aws::String &value)
DescribeObjectsRequest & WithPipelineId(const Aws::String &value)
DescribeObjectsRequest & WithPipelineId(Aws::String &&value)
void SetObjectIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetObjectIds() const
DescribeObjectsRequest & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeObjectsRequest & AddObjectIds(const char *value)
void SetObjectIds(Aws::Vector< Aws::String > &&value)
DescribeObjectsRequest & WithObjectIds(Aws::Vector< Aws::String > &&value)
DescribeObjectsRequest & WithMarker(Aws::String &&value)
JSON (JavaScript Object Notation).