/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that sets information about a component type create or update
* request.See Also:
AWS
* API Reference
The description of the component request.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the component request.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the component request.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the component request.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the component request.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the component request.
*/ inline ComponentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the component request.
*/ inline ComponentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the component request.
*/ inline ComponentRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ID of the component type.
*/ inline const Aws::String& GetComponentTypeId() const{ return m_componentTypeId; } /** *The ID of the component type.
*/ inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; } /** *The ID of the component type.
*/ inline void SetComponentTypeId(const Aws::String& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = value; } /** *The ID of the component type.
*/ inline void SetComponentTypeId(Aws::String&& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = std::move(value); } /** *The ID of the component type.
*/ inline void SetComponentTypeId(const char* value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId.assign(value); } /** *The ID of the component type.
*/ inline ComponentRequest& WithComponentTypeId(const Aws::String& value) { SetComponentTypeId(value); return *this;} /** *The ID of the component type.
*/ inline ComponentRequest& WithComponentTypeId(Aws::String&& value) { SetComponentTypeId(std::move(value)); return *this;} /** *The ID of the component type.
*/ inline ComponentRequest& WithComponentTypeId(const char* value) { SetComponentTypeId(value); return *this;} /** *An object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline const Aws::MapAn object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } /** *An object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline void SetProperties(const Aws::MapAn object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline void SetProperties(Aws::MapAn object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline ComponentRequest& WithProperties(const Aws::MapAn object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline ComponentRequest& WithProperties(Aws::MapAn object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline ComponentRequest& AddProperties(const Aws::String& key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; } /** *An object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline ComponentRequest& AddProperties(Aws::String&& key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; } /** *An object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline ComponentRequest& AddProperties(const Aws::String& key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; } /** *An object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline ComponentRequest& AddProperties(Aws::String&& key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; } /** *An object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline ComponentRequest& AddProperties(const char* key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; } /** *An object that maps strings to the properties to set in the component type. * Each string in the mapping must be unique to this object.
*/ inline ComponentRequest& AddProperties(const char* key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; } /** *The property groups.
*/ inline const Aws::MapThe property groups.
*/ inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; } /** *The property groups.
*/ inline void SetPropertyGroups(const Aws::MapThe property groups.
*/ inline void SetPropertyGroups(Aws::MapThe property groups.
*/ inline ComponentRequest& WithPropertyGroups(const Aws::MapThe property groups.
*/ inline ComponentRequest& WithPropertyGroups(Aws::MapThe property groups.
*/ inline ComponentRequest& AddPropertyGroups(const Aws::String& key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, value); return *this; } /** *The property groups.
*/ inline ComponentRequest& AddPropertyGroups(Aws::String&& key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::move(key), value); return *this; } /** *The property groups.
*/ inline ComponentRequest& AddPropertyGroups(const Aws::String& key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, std::move(value)); return *this; } /** *The property groups.
*/ inline ComponentRequest& AddPropertyGroups(Aws::String&& key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::move(key), std::move(value)); return *this; } /** *The property groups.
*/ inline ComponentRequest& AddPropertyGroups(const char* key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, std::move(value)); return *this; } /** *The property groups.
*/ inline ComponentRequest& AddPropertyGroups(const char* key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, value); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_componentTypeId; bool m_componentTypeIdHasBeenSet = false; Aws::Map