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/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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline CreatePipelineRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline CreatePipelineRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline CreatePipelineRequest& WithName(const char* value) { SetName(value); return *this;}
57
59
72 inline const Aws::String& GetUniqueId() const{ return m_uniqueId; }
73 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
74 inline void SetUniqueId(const Aws::String& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = value; }
75 inline void SetUniqueId(Aws::String&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::move(value); }
76 inline void SetUniqueId(const char* value) { m_uniqueIdHasBeenSet = true; m_uniqueId.assign(value); }
77 inline CreatePipelineRequest& WithUniqueId(const Aws::String& value) { SetUniqueId(value); return *this;}
78 inline CreatePipelineRequest& WithUniqueId(Aws::String&& value) { SetUniqueId(std::move(value)); return *this;}
79 inline CreatePipelineRequest& WithUniqueId(const char* value) { SetUniqueId(value); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline CreatePipelineRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline CreatePipelineRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline CreatePipelineRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
104 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
107 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
108 inline CreatePipelineRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
109 inline CreatePipelineRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
110 inline CreatePipelineRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
111 inline CreatePipelineRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
113 private:
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_uniqueId;
119 bool m_uniqueIdHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::Vector<Tag> m_tags;
125 bool m_tagsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace DataPipeline
130} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreatePipelineRequest & AddTags(const Tag &value)
CreatePipelineRequest & WithUniqueId(const Aws::String &value)
CreatePipelineRequest & WithUniqueId(const char *value)
CreatePipelineRequest & WithUniqueId(Aws::String &&value)
CreatePipelineRequest & WithDescription(const Aws::String &value)
CreatePipelineRequest & WithName(const char *value)
CreatePipelineRequest & WithDescription(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreatePipelineRequest & WithName(const Aws::String &value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePipelineRequest & WithDescription(Aws::String &&value)
CreatePipelineRequest & WithName(Aws::String &&value)
CreatePipelineRequest & WithTags(Aws::Vector< Tag > &&value)
CreatePipelineRequest & WithTags(const Aws::Vector< Tag > &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