AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeObjectsRequest.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/datapipeline/DataPipelineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataPipeline
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_DATAPIPELINE_API DescribeObjectsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeObjects"; }
35
36 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
37
38 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
46 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
47 inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
48 inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
49 inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
50 inline DescribeObjectsRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
51 inline DescribeObjectsRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
52 inline DescribeObjectsRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
54
56
61 inline const Aws::Vector<Aws::String>& GetObjectIds() const{ return m_objectIds; }
62 inline bool ObjectIdsHasBeenSet() const { return m_objectIdsHasBeenSet; }
63 inline void SetObjectIds(const Aws::Vector<Aws::String>& value) { m_objectIdsHasBeenSet = true; m_objectIds = value; }
64 inline void SetObjectIds(Aws::Vector<Aws::String>&& value) { m_objectIdsHasBeenSet = true; m_objectIds = std::move(value); }
65 inline DescribeObjectsRequest& WithObjectIds(const Aws::Vector<Aws::String>& value) { SetObjectIds(value); return *this;}
66 inline DescribeObjectsRequest& WithObjectIds(Aws::Vector<Aws::String>&& value) { SetObjectIds(std::move(value)); return *this;}
67 inline DescribeObjectsRequest& AddObjectIds(const Aws::String& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
68 inline DescribeObjectsRequest& AddObjectIds(Aws::String&& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(std::move(value)); return *this; }
69 inline DescribeObjectsRequest& AddObjectIds(const char* value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
71
73
77 inline bool GetEvaluateExpressions() const{ return m_evaluateExpressions; }
78 inline bool EvaluateExpressionsHasBeenSet() const { return m_evaluateExpressionsHasBeenSet; }
79 inline void SetEvaluateExpressions(bool value) { m_evaluateExpressionsHasBeenSet = true; m_evaluateExpressions = value; }
80 inline DescribeObjectsRequest& WithEvaluateExpressions(bool value) { SetEvaluateExpressions(value); return *this;}
82
84
90 inline const Aws::String& GetMarker() const{ return m_marker; }
91 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
92 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
93 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
94 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
95 inline DescribeObjectsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
96 inline DescribeObjectsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
97 inline DescribeObjectsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
99 private:
100
101 Aws::String m_pipelineId;
102 bool m_pipelineIdHasBeenSet = false;
103
104 Aws::Vector<Aws::String> m_objectIds;
105 bool m_objectIdsHasBeenSet = false;
106
107 bool m_evaluateExpressions;
108 bool m_evaluateExpressionsHasBeenSet = false;
109
110 Aws::String m_marker;
111 bool m_markerHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DataPipeline
116} // namespace Aws
DescribeObjectsRequest & WithObjectIds(Aws::Vector< Aws::String > &&value)
void SetObjectIds(const Aws::Vector< Aws::String > &value)
DescribeObjectsRequest & AddObjectIds(const char *value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
DescribeObjectsRequest & WithMarker(const char *value)
DescribeObjectsRequest & WithPipelineId(const Aws::String &value)
void SetObjectIds(Aws::Vector< Aws::String > &&value)
DescribeObjectsRequest & WithPipelineId(Aws::String &&value)
DescribeObjectsRequest & WithMarker(Aws::String &&value)
DescribeObjectsRequest & AddObjectIds(const Aws::String &value)
DescribeObjectsRequest & AddObjectIds(Aws::String &&value)
DescribeObjectsRequest & WithObjectIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetObjectIds() const
DescribeObjectsRequest & WithPipelineId(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeObjectsRequest & WithMarker(const Aws::String &value)
DescribeObjectsRequest & WithEvaluateExpressions(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector