AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SetStatusRequest.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 SetStatusRequest() = default;
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 "SetStatus"; }
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 template<typename PipelineIdT = Aws::String>
48 void SetPipelineId(PipelineIdT&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::forward<PipelineIdT>(value); }
49 template<typename PipelineIdT = Aws::String>
50 SetStatusRequest& WithPipelineId(PipelineIdT&& value) { SetPipelineId(std::forward<PipelineIdT>(value)); return *this;}
52
54
58 inline const Aws::Vector<Aws::String>& GetObjectIds() const { return m_objectIds; }
59 inline bool ObjectIdsHasBeenSet() const { return m_objectIdsHasBeenSet; }
60 template<typename ObjectIdsT = Aws::Vector<Aws::String>>
61 void SetObjectIds(ObjectIdsT&& value) { m_objectIdsHasBeenSet = true; m_objectIds = std::forward<ObjectIdsT>(value); }
62 template<typename ObjectIdsT = Aws::Vector<Aws::String>>
63 SetStatusRequest& WithObjectIds(ObjectIdsT&& value) { SetObjectIds(std::forward<ObjectIdsT>(value)); return *this;}
64 template<typename ObjectIdsT = Aws::String>
65 SetStatusRequest& AddObjectIds(ObjectIdsT&& value) { m_objectIdsHasBeenSet = true; m_objectIds.emplace_back(std::forward<ObjectIdsT>(value)); return *this; }
67
69
75 inline const Aws::String& GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 template<typename StatusT = Aws::String>
78 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
79 template<typename StatusT = Aws::String>
80 SetStatusRequest& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
82 private:
83
84 Aws::String m_pipelineId;
85 bool m_pipelineIdHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_objectIds;
88 bool m_objectIdsHasBeenSet = false;
89
90 Aws::String m_status;
91 bool m_statusHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DataPipeline
96} // namespace Aws
SetStatusRequest & WithPipelineId(PipelineIdT &&value)
SetStatusRequest & WithStatus(StatusT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetObjectIds() const
SetStatusRequest & AddObjectIds(ObjectIdsT &&value)
const Aws::String & GetPipelineId() const
AWS_DATAPIPELINE_API SetStatusRequest()=default
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
SetStatusRequest & WithObjectIds(ObjectIdsT &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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