/** * 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 summary information about a workflow.

See * Also:

AWS * API Reference

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

The ID of the workflow.

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

The ID of the workflow.

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

The ID of the workflow.

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

The ID of the workflow.

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

The ID of the workflow.

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

The ID of the workflow.

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

The ID of the workflow.

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

The ID of the workflow.

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

The ARN of the workflow.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the workflow.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of the workflow.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN of the workflow.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN of the workflow.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN of the workflow.

*/ inline FlowTemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the workflow.

*/ inline FlowTemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the workflow.

*/ inline FlowTemplateSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The revision number of the workflow.

*/ inline long long GetRevisionNumber() const{ return m_revisionNumber; } /** *

The revision number of the workflow.

*/ inline bool RevisionNumberHasBeenSet() const { return m_revisionNumberHasBeenSet; } /** *

The revision number of the workflow.

*/ inline void SetRevisionNumber(long long value) { m_revisionNumberHasBeenSet = true; m_revisionNumber = value; } /** *

The revision number of the workflow.

*/ inline FlowTemplateSummary& WithRevisionNumber(long long value) { SetRevisionNumber(value); return *this;} /** *

The date when the workflow was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The date when the workflow was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The date when the workflow was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The date when the workflow was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The date when the workflow was created.

*/ inline FlowTemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The date when the workflow was created.

*/ inline FlowTemplateSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; long long m_revisionNumber; bool m_revisionNumberHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws