AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePipelineRequest.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/IoTAnalyticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotanalytics/model/PipelineActivity.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTAnalytics
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTANALYTICS_API UpdatePipelineRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdatePipeline"; }
33
34 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
42 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
43 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
44 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
45 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
46 inline UpdatePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
47 inline UpdatePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
48 inline UpdatePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
50
52
64 inline const Aws::Vector<PipelineActivity>& GetPipelineActivities() const{ return m_pipelineActivities; }
65 inline bool PipelineActivitiesHasBeenSet() const { return m_pipelineActivitiesHasBeenSet; }
66 inline void SetPipelineActivities(const Aws::Vector<PipelineActivity>& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities = value; }
67 inline void SetPipelineActivities(Aws::Vector<PipelineActivity>&& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities = std::move(value); }
70 inline UpdatePipelineRequest& AddPipelineActivities(const PipelineActivity& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities.push_back(value); return *this; }
71 inline UpdatePipelineRequest& AddPipelineActivities(PipelineActivity&& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::String m_pipelineName;
76 bool m_pipelineNameHasBeenSet = false;
77
78 Aws::Vector<PipelineActivity> m_pipelineActivities;
79 bool m_pipelineActivitiesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace IoTAnalytics
84} // namespace Aws
UpdatePipelineRequest & AddPipelineActivities(PipelineActivity &&value)
UpdatePipelineRequest & WithPipelineActivities(const Aws::Vector< PipelineActivity > &value)
void SetPipelineActivities(Aws::Vector< PipelineActivity > &&value)
UpdatePipelineRequest & WithPipelineName(const Aws::String &value)
void SetPipelineActivities(const Aws::Vector< PipelineActivity > &value)
UpdatePipelineRequest & WithPipelineName(const char *value)
const Aws::Vector< PipelineActivity > & GetPipelineActivities() const
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
UpdatePipelineRequest & WithPipelineActivities(Aws::Vector< PipelineActivity > &&value)
UpdatePipelineRequest & WithPipelineName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdatePipelineRequest & AddPipelineActivities(const PipelineActivity &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector