/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace IoTThingsGraph { namespace Model { /** */ class AWS_IOTTHINGSGRAPH_API UpdateSystemTemplateRequest : public IoTThingsGraphRequest { public: UpdateSystemTemplateRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateSystemTemplate"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the system to be updated.

The ID should be in the following * format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME *

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the system to be updated.

The ID should be in the following * format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME *

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the system to be updated.

The ID should be in the following * format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME *

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the system to be updated.

The ID should be in the following * format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME *

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the system to be updated.

The ID should be in the following * format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME *

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the system to be updated.

The ID should be in the following * format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME *

*/ inline UpdateSystemTemplateRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the system to be updated.

The ID should be in the following * format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME *

*/ inline UpdateSystemTemplateRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the system to be updated.

The ID should be in the following * format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME *

*/ inline UpdateSystemTemplateRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The DefinitionDocument that contains the updated system * definition.

*/ inline const DefinitionDocument& GetDefinition() const{ return m_definition; } /** *

The DefinitionDocument that contains the updated system * definition.

*/ inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } /** *

The DefinitionDocument that contains the updated system * definition.

*/ inline void SetDefinition(const DefinitionDocument& value) { m_definitionHasBeenSet = true; m_definition = value; } /** *

The DefinitionDocument that contains the updated system * definition.

*/ inline void SetDefinition(DefinitionDocument&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } /** *

The DefinitionDocument that contains the updated system * definition.

*/ inline UpdateSystemTemplateRequest& WithDefinition(const DefinitionDocument& value) { SetDefinition(value); return *this;} /** *

The DefinitionDocument that contains the updated system * definition.

*/ inline UpdateSystemTemplateRequest& WithDefinition(DefinitionDocument&& value) { SetDefinition(std::move(value)); return *this;} /** *

The version of the user's namespace. Defaults to the latest version of the * user's namespace.

If no value is specified, the latest version is used by * default.

*/ inline long long GetCompatibleNamespaceVersion() const{ return m_compatibleNamespaceVersion; } /** *

The version of the user's namespace. Defaults to the latest version of the * user's namespace.

If no value is specified, the latest version is used by * default.

*/ inline bool CompatibleNamespaceVersionHasBeenSet() const { return m_compatibleNamespaceVersionHasBeenSet; } /** *

The version of the user's namespace. Defaults to the latest version of the * user's namespace.

If no value is specified, the latest version is used by * default.

*/ inline void SetCompatibleNamespaceVersion(long long value) { m_compatibleNamespaceVersionHasBeenSet = true; m_compatibleNamespaceVersion = value; } /** *

The version of the user's namespace. Defaults to the latest version of the * user's namespace.

If no value is specified, the latest version is used by * default.

*/ inline UpdateSystemTemplateRequest& WithCompatibleNamespaceVersion(long long value) { SetCompatibleNamespaceVersion(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; DefinitionDocument m_definition; bool m_definitionHasBeenSet; long long m_compatibleNamespaceVersion; bool m_compatibleNamespaceVersionHasBeenSet; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws