7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/proton/model/ComponentDeploymentUpdateType.h>
12#include <aws/core/utils/UUID.h>
45 template<
typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<
typename ClientTokenT = Aws::String>
74 template<
typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
76 template<
typename DescriptionT = Aws::String>
86 template<
typename NameT = Aws::String>
87 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
88 template<
typename NameT = Aws::String>
102 template<
typename ServiceInstanceNameT = Aws::String>
103 void SetServiceInstanceName(ServiceInstanceNameT&& value) { m_serviceInstanceNameHasBeenSet =
true; m_serviceInstanceName = std::forward<ServiceInstanceNameT>(value); }
104 template<
typename ServiceInstanceNameT = Aws::String>
118 template<
typename ServiceNameT = Aws::String>
119 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
120 template<
typename ServiceNameT = Aws::String>
131 template<
typename ServiceSpecT = Aws::String>
132 void SetServiceSpec(ServiceSpecT&& value) { m_serviceSpecHasBeenSet =
true; m_serviceSpec = std::forward<ServiceSpecT>(value); }
133 template<
typename ServiceSpecT = Aws::String>
145 template<
typename TemplateFileT = Aws::String>
146 void SetTemplateFile(TemplateFileT&& value) { m_templateFileHasBeenSet =
true; m_templateFile = std::forward<TemplateFileT>(value); }
147 template<
typename TemplateFileT = Aws::String>
153 bool m_clientTokenHasBeenSet =
true;
156 bool m_deploymentTypeHasBeenSet =
false;
159 bool m_descriptionHasBeenSet =
false;
162 bool m_nameHasBeenSet =
false;
165 bool m_serviceInstanceNameHasBeenSet =
false;
168 bool m_serviceNameHasBeenSet =
false;
171 bool m_serviceSpecHasBeenSet =
false;
174 bool m_templateFileHasBeenSet =
false;
UpdateComponentRequest & WithClientToken(ClientTokenT &&value)
bool ServiceNameHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
UpdateComponentRequest & WithTemplateFile(TemplateFileT &&value)
void SetName(NameT &&value)
bool ServiceSpecHasBeenSet() const
UpdateComponentRequest & WithDeploymentType(ComponentDeploymentUpdateType value)
UpdateComponentRequest & WithServiceInstanceName(ServiceInstanceNameT &&value)
bool NameHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetServiceInstanceName(ServiceInstanceNameT &&value)
const Aws::String & GetServiceName() const
bool DeploymentTypeHasBeenSet() const
const Aws::String & GetName() const
AWS_PROTON_API Aws::String SerializePayload() const override
UpdateComponentRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetServiceSpec() const
UpdateComponentRequest & WithName(NameT &&value)
void SetDeploymentType(ComponentDeploymentUpdateType value)
virtual const char * GetServiceRequestName() const override
ComponentDeploymentUpdateType GetDeploymentType() const
void SetDescription(DescriptionT &&value)
void SetServiceSpec(ServiceSpecT &&value)
const Aws::String & GetDescription() const
bool TemplateFileHasBeenSet() const
AWS_PROTON_API UpdateComponentRequest()=default
UpdateComponentRequest & WithServiceSpec(ServiceSpecT &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetServiceInstanceName() const
const Aws::String & GetTemplateFile() const
void SetServiceName(ServiceNameT &&value)
bool ServiceInstanceNameHasBeenSet() const
UpdateComponentRequest & WithServiceName(ServiceNameT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
void SetTemplateFile(TemplateFileT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ComponentDeploymentUpdateType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String