AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
CreatePipelineRequest.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/osis/OSISRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/osis/model/LogPublishingOptions.h>
11#include <aws/osis/model/VpcOptions.h>
12#include <aws/osis/model/BufferOptions.h>
13#include <aws/osis/model/EncryptionAtRestOptions.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/osis/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace OSIS
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_OSIS_API CreatePipelineRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreatePipeline"; }
37
38 AWS_OSIS_API Aws::String SerializePayload() const override;
39
40
42
47 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
48 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
49 template<typename PipelineNameT = Aws::String>
50 void SetPipelineName(PipelineNameT&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::forward<PipelineNameT>(value); }
51 template<typename PipelineNameT = Aws::String>
52 CreatePipelineRequest& WithPipelineName(PipelineNameT&& value) { SetPipelineName(std::forward<PipelineNameT>(value)); return *this;}
54
56
59 inline int GetMinUnits() const { return m_minUnits; }
60 inline bool MinUnitsHasBeenSet() const { return m_minUnitsHasBeenSet; }
61 inline void SetMinUnits(int value) { m_minUnitsHasBeenSet = true; m_minUnits = value; }
62 inline CreatePipelineRequest& WithMinUnits(int value) { SetMinUnits(value); return *this;}
64
66
69 inline int GetMaxUnits() const { return m_maxUnits; }
70 inline bool MaxUnitsHasBeenSet() const { return m_maxUnitsHasBeenSet; }
71 inline void SetMaxUnits(int value) { m_maxUnitsHasBeenSet = true; m_maxUnits = value; }
72 inline CreatePipelineRequest& WithMaxUnits(int value) { SetMaxUnits(value); return *this;}
74
76
82 inline const Aws::String& GetPipelineConfigurationBody() const { return m_pipelineConfigurationBody; }
83 inline bool PipelineConfigurationBodyHasBeenSet() const { return m_pipelineConfigurationBodyHasBeenSet; }
84 template<typename PipelineConfigurationBodyT = Aws::String>
85 void SetPipelineConfigurationBody(PipelineConfigurationBodyT&& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = std::forward<PipelineConfigurationBodyT>(value); }
86 template<typename PipelineConfigurationBodyT = Aws::String>
87 CreatePipelineRequest& WithPipelineConfigurationBody(PipelineConfigurationBodyT&& value) { SetPipelineConfigurationBody(std::forward<PipelineConfigurationBodyT>(value)); return *this;}
89
91
94 inline const LogPublishingOptions& GetLogPublishingOptions() const { return m_logPublishingOptions; }
95 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
96 template<typename LogPublishingOptionsT = LogPublishingOptions>
97 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
98 template<typename LogPublishingOptionsT = LogPublishingOptions>
99 CreatePipelineRequest& WithLogPublishingOptions(LogPublishingOptionsT&& value) { SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value)); return *this;}
101
103
108 inline const VpcOptions& GetVpcOptions() const { return m_vpcOptions; }
109 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
110 template<typename VpcOptionsT = VpcOptions>
111 void SetVpcOptions(VpcOptionsT&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::forward<VpcOptionsT>(value); }
112 template<typename VpcOptionsT = VpcOptions>
113 CreatePipelineRequest& WithVpcOptions(VpcOptionsT&& value) { SetVpcOptions(std::forward<VpcOptionsT>(value)); return *this;}
115
117
120 inline const BufferOptions& GetBufferOptions() const { return m_bufferOptions; }
121 inline bool BufferOptionsHasBeenSet() const { return m_bufferOptionsHasBeenSet; }
122 template<typename BufferOptionsT = BufferOptions>
123 void SetBufferOptions(BufferOptionsT&& value) { m_bufferOptionsHasBeenSet = true; m_bufferOptions = std::forward<BufferOptionsT>(value); }
124 template<typename BufferOptionsT = BufferOptions>
125 CreatePipelineRequest& WithBufferOptions(BufferOptionsT&& value) { SetBufferOptions(std::forward<BufferOptionsT>(value)); return *this;}
127
129
133 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
134 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
135 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
136 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
137 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
138 CreatePipelineRequest& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value)); return *this;}
140
142
145 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
146 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
147 template<typename TagsT = Aws::Vector<Tag>>
148 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
149 template<typename TagsT = Aws::Vector<Tag>>
150 CreatePipelineRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
151 template<typename TagsT = Tag>
152 CreatePipelineRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
154 private:
155
156 Aws::String m_pipelineName;
157 bool m_pipelineNameHasBeenSet = false;
158
159 int m_minUnits{0};
160 bool m_minUnitsHasBeenSet = false;
161
162 int m_maxUnits{0};
163 bool m_maxUnitsHasBeenSet = false;
164
165 Aws::String m_pipelineConfigurationBody;
166 bool m_pipelineConfigurationBodyHasBeenSet = false;
167
168 LogPublishingOptions m_logPublishingOptions;
169 bool m_logPublishingOptionsHasBeenSet = false;
170
171 VpcOptions m_vpcOptions;
172 bool m_vpcOptionsHasBeenSet = false;
173
174 BufferOptions m_bufferOptions;
175 bool m_bufferOptionsHasBeenSet = false;
176
177 EncryptionAtRestOptions m_encryptionAtRestOptions;
178 bool m_encryptionAtRestOptionsHasBeenSet = false;
179
180 Aws::Vector<Tag> m_tags;
181 bool m_tagsHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace OSIS
186} // namespace Aws
void SetBufferOptions(BufferOptionsT &&value)
CreatePipelineRequest & WithPipelineConfigurationBody(PipelineConfigurationBodyT &&value)
CreatePipelineRequest & WithMaxUnits(int value)
const LogPublishingOptions & GetLogPublishingOptions() const
const Aws::String & GetPipelineConfigurationBody() const
CreatePipelineRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
void SetPipelineConfigurationBody(PipelineConfigurationBodyT &&value)
CreatePipelineRequest & WithVpcOptions(VpcOptionsT &&value)
CreatePipelineRequest & WithTags(TagsT &&value)
AWS_OSIS_API CreatePipelineRequest()=default
const Aws::Vector< Tag > & GetTags() const
CreatePipelineRequest & WithLogPublishingOptions(LogPublishingOptionsT &&value)
CreatePipelineRequest & WithPipelineName(PipelineNameT &&value)
CreatePipelineRequest & AddTags(TagsT &&value)
const BufferOptions & GetBufferOptions() const
AWS_OSIS_API Aws::String SerializePayload() const override
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
virtual const char * GetServiceRequestName() const override
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
CreatePipelineRequest & WithBufferOptions(BufferOptionsT &&value)
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
CreatePipelineRequest & WithMinUnits(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector