/** * 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 SageMaker { namespace Model { /** *

Edge Manager agent version.

See Also:

AWS * API Reference

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

Version of the agent.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

Version of the agent.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

Version of the agent.

*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *

Version of the agent.

*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *

Version of the agent.

*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *

Version of the agent.

*/ inline AgentVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

Version of the agent.

*/ inline AgentVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

Version of the agent.

*/ inline AgentVersion& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

The number of Edge Manager agents.

*/ inline long long GetAgentCount() const{ return m_agentCount; } /** *

The number of Edge Manager agents.

*/ inline bool AgentCountHasBeenSet() const { return m_agentCountHasBeenSet; } /** *

The number of Edge Manager agents.

*/ inline void SetAgentCount(long long value) { m_agentCountHasBeenSet = true; m_agentCount = value; } /** *

The number of Edge Manager agents.

*/ inline AgentVersion& WithAgentCount(long long value) { SetAgentCount(value); return *this;} private: Aws::String m_version; bool m_versionHasBeenSet = false; long long m_agentCount; bool m_agentCountHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws