AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
45 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
46 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
47 inline UpdatePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
48 inline UpdatePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
49 inline UpdatePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
51
53
56 inline int GetMinUnits() const{ return m_minUnits; }
57 inline bool MinUnitsHasBeenSet() const { return m_minUnitsHasBeenSet; }
58 inline void SetMinUnits(int value) { m_minUnitsHasBeenSet = true; m_minUnits = value; }
59 inline UpdatePipelineRequest& WithMinUnits(int value) { SetMinUnits(value); return *this;}
61
63
66 inline int GetMaxUnits() const{ return m_maxUnits; }
67 inline bool MaxUnitsHasBeenSet() const { return m_maxUnitsHasBeenSet; }
68 inline void SetMaxUnits(int value) { m_maxUnitsHasBeenSet = true; m_maxUnits = value; }
69 inline UpdatePipelineRequest& WithMaxUnits(int value) { SetMaxUnits(value); return *this;}
71
73
79 inline const Aws::String& GetPipelineConfigurationBody() const{ return m_pipelineConfigurationBody; }
80 inline bool PipelineConfigurationBodyHasBeenSet() const { return m_pipelineConfigurationBodyHasBeenSet; }
81 inline void SetPipelineConfigurationBody(const Aws::String& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = value; }
82 inline void SetPipelineConfigurationBody(Aws::String&& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = std::move(value); }
83 inline void SetPipelineConfigurationBody(const char* value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody.assign(value); }
86 inline UpdatePipelineRequest& WithPipelineConfigurationBody(const char* value) { SetPipelineConfigurationBody(value); return *this;}
88
90
93 inline const LogPublishingOptions& GetLogPublishingOptions() const{ return m_logPublishingOptions; }
94 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
95 inline void SetLogPublishingOptions(const LogPublishingOptions& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; }
96 inline void SetLogPublishingOptions(LogPublishingOptions&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); }
100
102
105 inline const BufferOptions& GetBufferOptions() const{ return m_bufferOptions; }
106 inline bool BufferOptionsHasBeenSet() const { return m_bufferOptionsHasBeenSet; }
107 inline void SetBufferOptions(const BufferOptions& value) { m_bufferOptionsHasBeenSet = true; m_bufferOptions = value; }
108 inline void SetBufferOptions(BufferOptions&& value) { m_bufferOptionsHasBeenSet = true; m_bufferOptions = std::move(value); }
109 inline UpdatePipelineRequest& WithBufferOptions(const BufferOptions& value) { SetBufferOptions(value); return *this;}
110 inline UpdatePipelineRequest& WithBufferOptions(BufferOptions&& value) { SetBufferOptions(std::move(value)); return *this;}
112
114
118 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const{ return m_encryptionAtRestOptions; }
119 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
120 inline void SetEncryptionAtRestOptions(const EncryptionAtRestOptions& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = value; }
121 inline void SetEncryptionAtRestOptions(EncryptionAtRestOptions&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::move(value); }
125 private:
126
127 Aws::String m_pipelineName;
128 bool m_pipelineNameHasBeenSet = false;
129
130 int m_minUnits;
131 bool m_minUnitsHasBeenSet = false;
132
133 int m_maxUnits;
134 bool m_maxUnitsHasBeenSet = false;
135
136 Aws::String m_pipelineConfigurationBody;
137 bool m_pipelineConfigurationBodyHasBeenSet = false;
138
139 LogPublishingOptions m_logPublishingOptions;
140 bool m_logPublishingOptionsHasBeenSet = false;
141
142 BufferOptions m_bufferOptions;
143 bool m_bufferOptionsHasBeenSet = false;
144
145 EncryptionAtRestOptions m_encryptionAtRestOptions;
146 bool m_encryptionAtRestOptionsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace OSIS
151} // namespace Aws
const BufferOptions & GetBufferOptions() const
UpdatePipelineRequest & WithMinUnits(int value)
void SetPipelineConfigurationBody(Aws::String &&value)
const LogPublishingOptions & GetLogPublishingOptions() const
const Aws::String & GetPipelineConfigurationBody() const
UpdatePipelineRequest & WithPipelineConfigurationBody(const char *value)
void SetEncryptionAtRestOptions(const EncryptionAtRestOptions &value)
UpdatePipelineRequest & WithPipelineName(Aws::String &&value)
void SetLogPublishingOptions(const LogPublishingOptions &value)
void SetBufferOptions(const BufferOptions &value)
UpdatePipelineRequest & WithBufferOptions(BufferOptions &&value)
void SetPipelineConfigurationBody(const Aws::String &value)
UpdatePipelineRequest & WithLogPublishingOptions(const LogPublishingOptions &value)
UpdatePipelineRequest & WithLogPublishingOptions(LogPublishingOptions &&value)
AWS_OSIS_API Aws::String SerializePayload() const override
UpdatePipelineRequest & WithPipelineName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdatePipelineRequest & WithMaxUnits(int value)
void SetPipelineName(const Aws::String &value)
UpdatePipelineRequest & WithBufferOptions(const BufferOptions &value)
void SetLogPublishingOptions(LogPublishingOptions &&value)
UpdatePipelineRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptions &&value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
void SetEncryptionAtRestOptions(EncryptionAtRestOptions &&value)
UpdatePipelineRequest & WithPipelineConfigurationBody(const Aws::String &value)
UpdatePipelineRequest & WithPipelineName(const Aws::String &value)
UpdatePipelineRequest & WithPipelineConfigurationBody(Aws::String &&value)
UpdatePipelineRequest & WithEncryptionAtRestOptions(const EncryptionAtRestOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String