AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePipelineRequest.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 <aws/iotanalytics/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace IoTAnalytics
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IOTANALYTICS_API CreatePipelineRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreatePipeline"; }
34
35 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
43 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
44 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
45 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
46 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
47 inline CreatePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
48 inline CreatePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
49 inline CreatePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
51
53
65 inline const Aws::Vector<PipelineActivity>& GetPipelineActivities() const{ return m_pipelineActivities; }
66 inline bool PipelineActivitiesHasBeenSet() const { return m_pipelineActivitiesHasBeenSet; }
67 inline void SetPipelineActivities(const Aws::Vector<PipelineActivity>& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities = value; }
68 inline void SetPipelineActivities(Aws::Vector<PipelineActivity>&& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities = std::move(value); }
71 inline CreatePipelineRequest& AddPipelineActivities(const PipelineActivity& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities.push_back(value); return *this; }
72 inline CreatePipelineRequest& AddPipelineActivities(PipelineActivity&& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities.push_back(std::move(value)); return *this; }
74
76
79 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
82 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
83 inline CreatePipelineRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
84 inline CreatePipelineRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
85 inline CreatePipelineRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
86 inline CreatePipelineRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
88 private:
89
90 Aws::String m_pipelineName;
91 bool m_pipelineNameHasBeenSet = false;
92
93 Aws::Vector<PipelineActivity> m_pipelineActivities;
94 bool m_pipelineActivitiesHasBeenSet = false;
95
96 Aws::Vector<Tag> m_tags;
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoTAnalytics
102} // namespace Aws
CreatePipelineRequest & WithPipelineName(const char *value)
CreatePipelineRequest & WithTags(const Aws::Vector< Tag > &value)
CreatePipelineRequest & WithPipelineActivities(const Aws::Vector< PipelineActivity > &value)
void SetPipelineActivities(Aws::Vector< PipelineActivity > &&value)
CreatePipelineRequest & WithTags(Aws::Vector< Tag > &&value)
CreatePipelineRequest & AddTags(Tag &&value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
void SetTags(const Aws::Vector< Tag > &value)
void SetPipelineActivities(const Aws::Vector< PipelineActivity > &value)
CreatePipelineRequest & WithPipelineName(const Aws::String &value)
CreatePipelineRequest & WithPipelineName(Aws::String &&value)
CreatePipelineRequest & AddTags(const Tag &value)
CreatePipelineRequest & WithPipelineActivities(Aws::Vector< PipelineActivity > &&value)
CreatePipelineRequest & AddPipelineActivities(const PipelineActivity &value)
CreatePipelineRequest & AddPipelineActivities(PipelineActivity &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< PipelineActivity > & GetPipelineActivities() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector