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

The version of the application.

See Also:

AWS * API Reference

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

The version of the application.

*/ inline const Aws::String& GetAppVersion() const{ return m_appVersion; } /** *

The version of the application.

*/ inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; } /** *

The version of the application.

*/ inline void SetAppVersion(const Aws::String& value) { m_appVersionHasBeenSet = true; m_appVersion = value; } /** *

The version of the application.

*/ inline void SetAppVersion(Aws::String&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); } /** *

The version of the application.

*/ inline void SetAppVersion(const char* value) { m_appVersionHasBeenSet = true; m_appVersion.assign(value); } /** *

The version of the application.

*/ inline AppVersionSummary& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;} /** *

The version of the application.

*/ inline AppVersionSummary& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;} /** *

The version of the application.

*/ inline AppVersionSummary& WithAppVersion(const char* value) { SetAppVersion(value); return *this;} private: Aws::String m_appVersion; bool m_appVersionHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws