/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The detailed data about the current state of the component.See
* Also:
AWS
* API Reference
The name of the service instance that this component is attached to. Provided * when a component is attached to a service instance.
*/ inline const Aws::String& GetServiceInstanceName() const{ return m_serviceInstanceName; } /** *The name of the service instance that this component is attached to. Provided * when a component is attached to a service instance.
*/ inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; } /** *The name of the service instance that this component is attached to. Provided * when a component is attached to a service instance.
*/ inline void SetServiceInstanceName(const Aws::String& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = value; } /** *The name of the service instance that this component is attached to. Provided * when a component is attached to a service instance.
*/ inline void SetServiceInstanceName(Aws::String&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::move(value); } /** *The name of the service instance that this component is attached to. Provided * when a component is attached to a service instance.
*/ inline void SetServiceInstanceName(const char* value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName.assign(value); } /** *The name of the service instance that this component is attached to. Provided * when a component is attached to a service instance.
*/ inline ComponentState& WithServiceInstanceName(const Aws::String& value) { SetServiceInstanceName(value); return *this;} /** *The name of the service instance that this component is attached to. Provided * when a component is attached to a service instance.
*/ inline ComponentState& WithServiceInstanceName(Aws::String&& value) { SetServiceInstanceName(std::move(value)); return *this;} /** *The name of the service instance that this component is attached to. Provided * when a component is attached to a service instance.
*/ inline ComponentState& WithServiceInstanceName(const char* value) { SetServiceInstanceName(value); return *this;} /** *The name of the service that serviceInstanceName
is associated
* with. Provided when a component is attached to a service instance.
The name of the service that serviceInstanceName
is associated
* with. Provided when a component is attached to a service instance.
The name of the service that serviceInstanceName
is associated
* with. Provided when a component is attached to a service instance.
The name of the service that serviceInstanceName
is associated
* with. Provided when a component is attached to a service instance.
The name of the service that serviceInstanceName
is associated
* with. Provided when a component is attached to a service instance.
The name of the service that serviceInstanceName
is associated
* with. Provided when a component is attached to a service instance.
The name of the service that serviceInstanceName
is associated
* with. Provided when a component is attached to a service instance.
The name of the service that serviceInstanceName
is associated
* with. Provided when a component is attached to a service instance.
The service spec that the component uses to access service inputs. Provided * when a component is attached to a service instance.
*/ inline const Aws::String& GetServiceSpec() const{ return m_serviceSpec; } /** *The service spec that the component uses to access service inputs. Provided * when a component is attached to a service instance.
*/ inline bool ServiceSpecHasBeenSet() const { return m_serviceSpecHasBeenSet; } /** *The service spec that the component uses to access service inputs. Provided * when a component is attached to a service instance.
*/ inline void SetServiceSpec(const Aws::String& value) { m_serviceSpecHasBeenSet = true; m_serviceSpec = value; } /** *The service spec that the component uses to access service inputs. Provided * when a component is attached to a service instance.
*/ inline void SetServiceSpec(Aws::String&& value) { m_serviceSpecHasBeenSet = true; m_serviceSpec = std::move(value); } /** *The service spec that the component uses to access service inputs. Provided * when a component is attached to a service instance.
*/ inline void SetServiceSpec(const char* value) { m_serviceSpecHasBeenSet = true; m_serviceSpec.assign(value); } /** *The service spec that the component uses to access service inputs. Provided * when a component is attached to a service instance.
*/ inline ComponentState& WithServiceSpec(const Aws::String& value) { SetServiceSpec(value); return *this;} /** *The service spec that the component uses to access service inputs. Provided * when a component is attached to a service instance.
*/ inline ComponentState& WithServiceSpec(Aws::String&& value) { SetServiceSpec(std::move(value)); return *this;} /** *The service spec that the component uses to access service inputs. Provided * when a component is attached to a service instance.
*/ inline ComponentState& WithServiceSpec(const char* value) { SetServiceSpec(value); return *this;} /** *The template file used.
*/ inline const Aws::String& GetTemplateFile() const{ return m_templateFile; } /** *The template file used.
*/ inline bool TemplateFileHasBeenSet() const { return m_templateFileHasBeenSet; } /** *The template file used.
*/ inline void SetTemplateFile(const Aws::String& value) { m_templateFileHasBeenSet = true; m_templateFile = value; } /** *The template file used.
*/ inline void SetTemplateFile(Aws::String&& value) { m_templateFileHasBeenSet = true; m_templateFile = std::move(value); } /** *The template file used.
*/ inline void SetTemplateFile(const char* value) { m_templateFileHasBeenSet = true; m_templateFile.assign(value); } /** *The template file used.
*/ inline ComponentState& WithTemplateFile(const Aws::String& value) { SetTemplateFile(value); return *this;} /** *The template file used.
*/ inline ComponentState& WithTemplateFile(Aws::String&& value) { SetTemplateFile(std::move(value)); return *this;} /** *The template file used.
*/ inline ComponentState& WithTemplateFile(const char* value) { SetTemplateFile(value); return *this;} private: Aws::String m_serviceInstanceName; bool m_serviceInstanceNameHasBeenSet = false; Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; Aws::String m_serviceSpec; bool m_serviceSpecHasBeenSet = false; Aws::String m_templateFile; bool m_templateFileHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws