/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 the ID and revision number of a workflow or system * that is part of a deployment.

See Also:

AWS * API Reference

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

The ID of the workflow or system.

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

The ID of the workflow or system.

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

The ID of the workflow or system.

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

The ID of the workflow or system.

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

The ID of the workflow or system.

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

The ID of the workflow or system.

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

The ID of the workflow or system.

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

The ID of the workflow or system.

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

The revision number of the workflow or system.

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

The revision number of the workflow or system.

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

The revision number of the workflow or system.

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

The revision number of the workflow or system.

*/ inline DependencyRevision& WithRevisionNumber(long long value) { SetRevisionNumber(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; long long m_revisionNumber; bool m_revisionNumberHasBeenSet = false; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws