/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTThingsGraph { namespace Model { /** *

An object that contains a workflow's definition and summary * information.

See Also:

AWS * API Reference

*/ class FlowTemplateDescription { public: AWS_IOTTHINGSGRAPH_API FlowTemplateDescription(); AWS_IOTTHINGSGRAPH_API FlowTemplateDescription(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTHINGSGRAPH_API FlowTemplateDescription& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An object that contains summary information about a workflow.

*/ inline const FlowTemplateSummary& GetSummary() const{ return m_summary; } /** *

An object that contains summary information about a workflow.

*/ inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; } /** *

An object that contains summary information about a workflow.

*/ inline void SetSummary(const FlowTemplateSummary& value) { m_summaryHasBeenSet = true; m_summary = value; } /** *

An object that contains summary information about a workflow.

*/ inline void SetSummary(FlowTemplateSummary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); } /** *

An object that contains summary information about a workflow.

*/ inline FlowTemplateDescription& WithSummary(const FlowTemplateSummary& value) { SetSummary(value); return *this;} /** *

An object that contains summary information about a workflow.

*/ inline FlowTemplateDescription& WithSummary(FlowTemplateSummary&& value) { SetSummary(std::move(value)); return *this;} /** *

A workflow's definition document.

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

A workflow's definition document.

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

A workflow's definition document.

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

A workflow's definition document.

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

A workflow's definition document.

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

A workflow's definition document.

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

The version of the user's namespace against which the workflow was validated. * Use this value in your system instance.

*/ inline long long GetValidatedNamespaceVersion() const{ return m_validatedNamespaceVersion; } /** *

The version of the user's namespace against which the workflow was validated. * Use this value in your system instance.

*/ inline bool ValidatedNamespaceVersionHasBeenSet() const { return m_validatedNamespaceVersionHasBeenSet; } /** *

The version of the user's namespace against which the workflow was validated. * Use this value in your system instance.

*/ inline void SetValidatedNamespaceVersion(long long value) { m_validatedNamespaceVersionHasBeenSet = true; m_validatedNamespaceVersion = value; } /** *

The version of the user's namespace against which the workflow was validated. * Use this value in your system instance.

*/ inline FlowTemplateDescription& WithValidatedNamespaceVersion(long long value) { SetValidatedNamespaceVersion(value); return *this;} private: FlowTemplateSummary m_summary; bool m_summaryHasBeenSet = false; DefinitionDocument m_definition; bool m_definitionHasBeenSet = false; long long m_validatedNamespaceVersion; bool m_validatedNamespaceVersionHasBeenSet = false; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws