AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 SetStatusRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
51 inline SetStatusRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
52 inline SetStatusRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetObjectIds() const{ return m_objectIds; }
61 inline bool ObjectIdsHasBeenSet() const { return m_objectIdsHasBeenSet; }
62 inline void SetObjectIds(const Aws::Vector<Aws::String>& value) { m_objectIdsHasBeenSet = true; m_objectIds = value; }
63 inline void SetObjectIds(Aws::Vector<Aws::String>&& value) { m_objectIdsHasBeenSet = true; m_objectIds = std::move(value); }
64 inline SetStatusRequest& WithObjectIds(const Aws::Vector<Aws::String>& value) { SetObjectIds(value); return *this;}
65 inline SetStatusRequest& WithObjectIds(Aws::Vector<Aws::String>&& value) { SetObjectIds(std::move(value)); return *this;}
66 inline SetStatusRequest& AddObjectIds(const Aws::String& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
67 inline SetStatusRequest& AddObjectIds(Aws::String&& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(std::move(value)); return *this; }
68 inline SetStatusRequest& AddObjectIds(const char* value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
70
72
78 inline const Aws::String& GetStatus() const{ return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
81 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
82 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
83 inline SetStatusRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
84 inline SetStatusRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
85 inline SetStatusRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
87 private:
88
89 Aws::String m_pipelineId;
90 bool m_pipelineIdHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_objectIds;
93 bool m_objectIdsHasBeenSet = false;
94
95 Aws::String m_status;
96 bool m_statusHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DataPipeline
101} // namespace Aws
void SetStatus(const Aws::String &value)
SetStatusRequest & AddObjectIds(const Aws::String &value)
SetStatusRequest & AddObjectIds(const char *value)
SetStatusRequest & AddObjectIds(Aws::String &&value)
SetStatusRequest & WithObjectIds(Aws::Vector< Aws::String > &&value)
SetStatusRequest & WithStatus(const Aws::String &value)
SetStatusRequest & WithStatus(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetObjectIds() const
void SetPipelineId(const Aws::String &value)
const Aws::String & GetPipelineId() const
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
SetStatusRequest & WithStatus(Aws::String &&value)
SetStatusRequest & WithPipelineId(const char *value)
SetStatusRequest & WithPipelineId(Aws::String &&value)
SetStatusRequest & WithPipelineId(const Aws::String &value)
void SetObjectIds(const Aws::Vector< Aws::String > &value)
void SetObjectIds(Aws::Vector< Aws::String > &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SetStatusRequest & WithObjectIds(const Aws::Vector< Aws::String > &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