AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
UpdatePipelineRequest.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/BufferOptions.h>
12#include <aws/osis/model/EncryptionAtRestOptions.h>
13#include <utility>
14
15namespace Aws
16{
17namespace OSIS
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_OSIS_API UpdatePipelineRequest() = default;
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 "UpdatePipeline"; }
34
35 AWS_OSIS_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 template<typename PipelineNameT = Aws::String>
45 void SetPipelineName(PipelineNameT&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::forward<PipelineNameT>(value); }
46 template<typename PipelineNameT = Aws::String>
47 UpdatePipelineRequest& WithPipelineName(PipelineNameT&& value) { SetPipelineName(std::forward<PipelineNameT>(value)); return *this;}
49
51
54 inline int GetMinUnits() const { return m_minUnits; }
55 inline bool MinUnitsHasBeenSet() const { return m_minUnitsHasBeenSet; }
56 inline void SetMinUnits(int value) { m_minUnitsHasBeenSet = true; m_minUnits = value; }
57 inline UpdatePipelineRequest& WithMinUnits(int value) { SetMinUnits(value); return *this;}
59
61
64 inline int GetMaxUnits() const { return m_maxUnits; }
65 inline bool MaxUnitsHasBeenSet() const { return m_maxUnitsHasBeenSet; }
66 inline void SetMaxUnits(int value) { m_maxUnitsHasBeenSet = true; m_maxUnits = value; }
67 inline UpdatePipelineRequest& WithMaxUnits(int value) { SetMaxUnits(value); return *this;}
69
71
77 inline const Aws::String& GetPipelineConfigurationBody() const { return m_pipelineConfigurationBody; }
78 inline bool PipelineConfigurationBodyHasBeenSet() const { return m_pipelineConfigurationBodyHasBeenSet; }
79 template<typename PipelineConfigurationBodyT = Aws::String>
80 void SetPipelineConfigurationBody(PipelineConfigurationBodyT&& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = std::forward<PipelineConfigurationBodyT>(value); }
81 template<typename PipelineConfigurationBodyT = Aws::String>
82 UpdatePipelineRequest& WithPipelineConfigurationBody(PipelineConfigurationBodyT&& value) { SetPipelineConfigurationBody(std::forward<PipelineConfigurationBodyT>(value)); return *this;}
84
86
89 inline const LogPublishingOptions& GetLogPublishingOptions() const { return m_logPublishingOptions; }
90 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
91 template<typename LogPublishingOptionsT = LogPublishingOptions>
92 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
93 template<typename LogPublishingOptionsT = LogPublishingOptions>
94 UpdatePipelineRequest& WithLogPublishingOptions(LogPublishingOptionsT&& value) { SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value)); return *this;}
96
98
101 inline const BufferOptions& GetBufferOptions() const { return m_bufferOptions; }
102 inline bool BufferOptionsHasBeenSet() const { return m_bufferOptionsHasBeenSet; }
103 template<typename BufferOptionsT = BufferOptions>
104 void SetBufferOptions(BufferOptionsT&& value) { m_bufferOptionsHasBeenSet = true; m_bufferOptions = std::forward<BufferOptionsT>(value); }
105 template<typename BufferOptionsT = BufferOptions>
106 UpdatePipelineRequest& WithBufferOptions(BufferOptionsT&& value) { SetBufferOptions(std::forward<BufferOptionsT>(value)); return *this;}
108
110
114 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
115 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
116 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
117 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
118 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
119 UpdatePipelineRequest& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value)); return *this;}
121 private:
122
123 Aws::String m_pipelineName;
124 bool m_pipelineNameHasBeenSet = false;
125
126 int m_minUnits{0};
127 bool m_minUnitsHasBeenSet = false;
128
129 int m_maxUnits{0};
130 bool m_maxUnitsHasBeenSet = false;
131
132 Aws::String m_pipelineConfigurationBody;
133 bool m_pipelineConfigurationBodyHasBeenSet = false;
134
135 LogPublishingOptions m_logPublishingOptions;
136 bool m_logPublishingOptionsHasBeenSet = false;
137
138 BufferOptions m_bufferOptions;
139 bool m_bufferOptionsHasBeenSet = false;
140
141 EncryptionAtRestOptions m_encryptionAtRestOptions;
142 bool m_encryptionAtRestOptionsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace OSIS
147} // namespace Aws
UpdatePipelineRequest & WithBufferOptions(BufferOptionsT &&value)
const BufferOptions & GetBufferOptions() const
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
UpdatePipelineRequest & WithMinUnits(int value)
const LogPublishingOptions & GetLogPublishingOptions() const
const Aws::String & GetPipelineConfigurationBody() const
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
UpdatePipelineRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
AWS_OSIS_API UpdatePipelineRequest()=default
UpdatePipelineRequest & WithPipelineConfigurationBody(PipelineConfigurationBodyT &&value)
void SetBufferOptions(BufferOptionsT &&value)
UpdatePipelineRequest & WithPipelineName(PipelineNameT &&value)
AWS_OSIS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdatePipelineRequest & WithMaxUnits(int value)
void SetPipelineConfigurationBody(PipelineConfigurationBodyT &&value)
UpdatePipelineRequest & WithLogPublishingOptions(LogPublishingOptionsT &&value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String