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/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();
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 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
50 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
51 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
52 inline CreatePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
53 inline CreatePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
54 inline CreatePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
56
58
61 inline int GetMinUnits() const{ return m_minUnits; }
62 inline bool MinUnitsHasBeenSet() const { return m_minUnitsHasBeenSet; }
63 inline void SetMinUnits(int value) { m_minUnitsHasBeenSet = true; m_minUnits = value; }
64 inline CreatePipelineRequest& WithMinUnits(int value) { SetMinUnits(value); return *this;}
66
68
71 inline int GetMaxUnits() const{ return m_maxUnits; }
72 inline bool MaxUnitsHasBeenSet() const { return m_maxUnitsHasBeenSet; }
73 inline void SetMaxUnits(int value) { m_maxUnitsHasBeenSet = true; m_maxUnits = value; }
74 inline CreatePipelineRequest& WithMaxUnits(int value) { SetMaxUnits(value); return *this;}
76
78
84 inline const Aws::String& GetPipelineConfigurationBody() const{ return m_pipelineConfigurationBody; }
85 inline bool PipelineConfigurationBodyHasBeenSet() const { return m_pipelineConfigurationBodyHasBeenSet; }
86 inline void SetPipelineConfigurationBody(const Aws::String& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = value; }
87 inline void SetPipelineConfigurationBody(Aws::String&& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = std::move(value); }
88 inline void SetPipelineConfigurationBody(const char* value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody.assign(value); }
91 inline CreatePipelineRequest& WithPipelineConfigurationBody(const char* value) { SetPipelineConfigurationBody(value); return *this;}
93
95
98 inline const LogPublishingOptions& GetLogPublishingOptions() const{ return m_logPublishingOptions; }
99 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
100 inline void SetLogPublishingOptions(const LogPublishingOptions& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; }
101 inline void SetLogPublishingOptions(LogPublishingOptions&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); }
105
107
112 inline const VpcOptions& GetVpcOptions() const{ return m_vpcOptions; }
113 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
114 inline void SetVpcOptions(const VpcOptions& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; }
115 inline void SetVpcOptions(VpcOptions&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); }
116 inline CreatePipelineRequest& WithVpcOptions(const VpcOptions& value) { SetVpcOptions(value); return *this;}
117 inline CreatePipelineRequest& WithVpcOptions(VpcOptions&& value) { SetVpcOptions(std::move(value)); return *this;}
119
121
124 inline const BufferOptions& GetBufferOptions() const{ return m_bufferOptions; }
125 inline bool BufferOptionsHasBeenSet() const { return m_bufferOptionsHasBeenSet; }
126 inline void SetBufferOptions(const BufferOptions& value) { m_bufferOptionsHasBeenSet = true; m_bufferOptions = value; }
127 inline void SetBufferOptions(BufferOptions&& value) { m_bufferOptionsHasBeenSet = true; m_bufferOptions = std::move(value); }
128 inline CreatePipelineRequest& WithBufferOptions(const BufferOptions& value) { SetBufferOptions(value); return *this;}
129 inline CreatePipelineRequest& WithBufferOptions(BufferOptions&& value) { SetBufferOptions(std::move(value)); return *this;}
131
133
137 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const{ return m_encryptionAtRestOptions; }
138 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
139 inline void SetEncryptionAtRestOptions(const EncryptionAtRestOptions& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = value; }
140 inline void SetEncryptionAtRestOptions(EncryptionAtRestOptions&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::move(value); }
144
146
149 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
150 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
151 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
152 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
153 inline CreatePipelineRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
154 inline CreatePipelineRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
155 inline CreatePipelineRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
156 inline CreatePipelineRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
158 private:
159
160 Aws::String m_pipelineName;
161 bool m_pipelineNameHasBeenSet = false;
162
163 int m_minUnits;
164 bool m_minUnitsHasBeenSet = false;
165
166 int m_maxUnits;
167 bool m_maxUnitsHasBeenSet = false;
168
169 Aws::String m_pipelineConfigurationBody;
170 bool m_pipelineConfigurationBodyHasBeenSet = false;
171
172 LogPublishingOptions m_logPublishingOptions;
173 bool m_logPublishingOptionsHasBeenSet = false;
174
175 VpcOptions m_vpcOptions;
176 bool m_vpcOptionsHasBeenSet = false;
177
178 BufferOptions m_bufferOptions;
179 bool m_bufferOptionsHasBeenSet = false;
180
181 EncryptionAtRestOptions m_encryptionAtRestOptions;
182 bool m_encryptionAtRestOptionsHasBeenSet = false;
183
184 Aws::Vector<Tag> m_tags;
185 bool m_tagsHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace OSIS
190} // namespace Aws
void SetVpcOptions(const VpcOptions &value)
CreatePipelineRequest & WithVpcOptions(VpcOptions &&value)
CreatePipelineRequest & WithMaxUnits(int value)
void SetPipelineConfigurationBody(Aws::String &&value)
void SetEncryptionAtRestOptions(EncryptionAtRestOptions &&value)
void SetPipelineName(const Aws::String &value)
CreatePipelineRequest & WithBufferOptions(const BufferOptions &value)
const LogPublishingOptions & GetLogPublishingOptions() const
CreatePipelineRequest & AddTags(Tag &&value)
CreatePipelineRequest & WithBufferOptions(BufferOptions &&value)
const Aws::String & GetPipelineConfigurationBody() const
void SetLogPublishingOptions(const LogPublishingOptions &value)
CreatePipelineRequest & WithPipelineConfigurationBody(const char *value)
CreatePipelineRequest & WithPipelineName(const Aws::String &value)
CreatePipelineRequest & WithLogPublishingOptions(LogPublishingOptions &&value)
void SetPipelineConfigurationBody(const Aws::String &value)
void SetBufferOptions(const BufferOptions &value)
CreatePipelineRequest & WithVpcOptions(const VpcOptions &value)
CreatePipelineRequest & WithPipelineName(Aws::String &&value)
CreatePipelineRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTags(const Aws::Vector< Tag > &value)
CreatePipelineRequest & AddTags(const Tag &value)
const Aws::Vector< Tag > & GetTags() const
CreatePipelineRequest & WithPipelineConfigurationBody(Aws::String &&value)
void SetEncryptionAtRestOptions(const EncryptionAtRestOptions &value)
CreatePipelineRequest & WithTags(Aws::Vector< Tag > &&value)
const BufferOptions & GetBufferOptions() const
AWS_OSIS_API Aws::String SerializePayload() const override
CreatePipelineRequest & WithLogPublishingOptions(const LogPublishingOptions &value)
CreatePipelineRequest & WithEncryptionAtRestOptions(const EncryptionAtRestOptions &value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
virtual const char * GetServiceRequestName() const override
CreatePipelineRequest & WithPipelineName(const char *value)
CreatePipelineRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptions &&value)
CreatePipelineRequest & WithPipelineConfigurationBody(const Aws::String &value)
void SetLogPublishingOptions(LogPublishingOptions &&value)
CreatePipelineRequest & WithMinUnits(int value)
void SetTags(Aws::Vector< Tag > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector