AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServicePipelineRequest.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/proton/model/DeploymentUpdateType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Proton
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateServicePipeline"; }
32
33 AWS_PROTON_API Aws::String SerializePayload() const override;
34
36
37
39
58 inline const DeploymentUpdateType& GetDeploymentType() const{ return m_deploymentType; }
59 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
60 inline void SetDeploymentType(const DeploymentUpdateType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
61 inline void SetDeploymentType(DeploymentUpdateType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
65
67
70 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
71 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
72 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
73 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
74 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
75 inline UpdateServicePipelineRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
76 inline UpdateServicePipelineRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
77 inline UpdateServicePipelineRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
79
81
84 inline const Aws::String& GetSpec() const{ return m_spec; }
85 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
86 inline void SetSpec(const Aws::String& value) { m_specHasBeenSet = true; m_spec = value; }
87 inline void SetSpec(Aws::String&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
88 inline void SetSpec(const char* value) { m_specHasBeenSet = true; m_spec.assign(value); }
89 inline UpdateServicePipelineRequest& WithSpec(const Aws::String& value) { SetSpec(value); return *this;}
90 inline UpdateServicePipelineRequest& WithSpec(Aws::String&& value) { SetSpec(std::move(value)); return *this;}
91 inline UpdateServicePipelineRequest& WithSpec(const char* value) { SetSpec(value); return *this;}
93
95
99 inline const Aws::String& GetTemplateMajorVersion() const{ return m_templateMajorVersion; }
100 inline bool TemplateMajorVersionHasBeenSet() const { return m_templateMajorVersionHasBeenSet; }
101 inline void SetTemplateMajorVersion(const Aws::String& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = value; }
102 inline void SetTemplateMajorVersion(Aws::String&& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = std::move(value); }
103 inline void SetTemplateMajorVersion(const char* value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion.assign(value); }
106 inline UpdateServicePipelineRequest& WithTemplateMajorVersion(const char* value) { SetTemplateMajorVersion(value); return *this;}
108
110
114 inline const Aws::String& GetTemplateMinorVersion() const{ return m_templateMinorVersion; }
115 inline bool TemplateMinorVersionHasBeenSet() const { return m_templateMinorVersionHasBeenSet; }
116 inline void SetTemplateMinorVersion(const Aws::String& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = value; }
117 inline void SetTemplateMinorVersion(Aws::String&& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = std::move(value); }
118 inline void SetTemplateMinorVersion(const char* value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion.assign(value); }
121 inline UpdateServicePipelineRequest& WithTemplateMinorVersion(const char* value) { SetTemplateMinorVersion(value); return *this;}
123 private:
124
125 DeploymentUpdateType m_deploymentType;
126 bool m_deploymentTypeHasBeenSet = false;
127
128 Aws::String m_serviceName;
129 bool m_serviceNameHasBeenSet = false;
130
131 Aws::String m_spec;
132 bool m_specHasBeenSet = false;
133
134 Aws::String m_templateMajorVersion;
135 bool m_templateMajorVersionHasBeenSet = false;
136
137 Aws::String m_templateMinorVersion;
138 bool m_templateMinorVersionHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Proton
143} // namespace Aws
UpdateServicePipelineRequest & WithSpec(const char *value)
UpdateServicePipelineRequest & WithServiceName(Aws::String &&value)
UpdateServicePipelineRequest & WithDeploymentType(DeploymentUpdateType &&value)
UpdateServicePipelineRequest & WithSpec(const Aws::String &value)
UpdateServicePipelineRequest & WithTemplateMajorVersion(const Aws::String &value)
UpdateServicePipelineRequest & WithTemplateMinorVersion(const Aws::String &value)
UpdateServicePipelineRequest & WithTemplateMinorVersion(const char *value)
AWS_PROTON_API Aws::String SerializePayload() const override
void SetDeploymentType(const DeploymentUpdateType &value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateServicePipelineRequest & WithServiceName(const char *value)
UpdateServicePipelineRequest & WithTemplateMinorVersion(Aws::String &&value)
UpdateServicePipelineRequest & WithServiceName(const Aws::String &value)
UpdateServicePipelineRequest & WithTemplateMajorVersion(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateServicePipelineRequest & WithTemplateMajorVersion(const char *value)
UpdateServicePipelineRequest & WithSpec(Aws::String &&value)
UpdateServicePipelineRequest & WithDeploymentType(const DeploymentUpdateType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String