AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreatePipelineRequest.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 <aws/datapipeline/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataPipeline
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_DATAPIPELINE_API CreatePipelineRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreatePipeline"; }
36
37 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
38
39 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 CreatePipelineRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
70 inline const Aws::String& GetUniqueId() const { return m_uniqueId; }
71 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
72 template<typename UniqueIdT = Aws::String>
73 void SetUniqueId(UniqueIdT&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::forward<UniqueIdT>(value); }
74 template<typename UniqueIdT = Aws::String>
75 CreatePipelineRequest& WithUniqueId(UniqueIdT&& value) { SetUniqueId(std::forward<UniqueIdT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 CreatePipelineRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89
91
98 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
99 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
100 template<typename TagsT = Aws::Vector<Tag>>
101 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
102 template<typename TagsT = Aws::Vector<Tag>>
103 CreatePipelineRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
104 template<typename TagsT = Tag>
105 CreatePipelineRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
107 private:
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 Aws::String m_uniqueId;
113 bool m_uniqueIdHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::Vector<Tag> m_tags;
119 bool m_tagsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace DataPipeline
124} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreatePipelineRequest & WithDescription(DescriptionT &&value)
AWS_DATAPIPELINE_API CreatePipelineRequest()=default
CreatePipelineRequest & WithName(NameT &&value)
CreatePipelineRequest & AddTags(TagsT &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePipelineRequest & WithTags(TagsT &&value)
CreatePipelineRequest & WithUniqueId(UniqueIdT &&value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() 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