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

Details about the version control configuration.

See Also:

* AWS * API Reference

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

The time when the version control system was last configured.

*/ inline const Aws::String& GetVersionControlConfigurationTimeStamp() const{ return m_versionControlConfigurationTimeStamp; } /** *

The time when the version control system was last configured.

*/ inline bool VersionControlConfigurationTimeStampHasBeenSet() const { return m_versionControlConfigurationTimeStampHasBeenSet; } /** *

The time when the version control system was last configured.

*/ inline void SetVersionControlConfigurationTimeStamp(const Aws::String& value) { m_versionControlConfigurationTimeStampHasBeenSet = true; m_versionControlConfigurationTimeStamp = value; } /** *

The time when the version control system was last configured.

*/ inline void SetVersionControlConfigurationTimeStamp(Aws::String&& value) { m_versionControlConfigurationTimeStampHasBeenSet = true; m_versionControlConfigurationTimeStamp = std::move(value); } /** *

The time when the version control system was last configured.

*/ inline void SetVersionControlConfigurationTimeStamp(const char* value) { m_versionControlConfigurationTimeStampHasBeenSet = true; m_versionControlConfigurationTimeStamp.assign(value); } /** *

The time when the version control system was last configured.

*/ inline VersionControlInfo& WithVersionControlConfigurationTimeStamp(const Aws::String& value) { SetVersionControlConfigurationTimeStamp(value); return *this;} /** *

The time when the version control system was last configured.

*/ inline VersionControlInfo& WithVersionControlConfigurationTimeStamp(Aws::String&& value) { SetVersionControlConfigurationTimeStamp(std::move(value)); return *this;} /** *

The time when the version control system was last configured.

*/ inline VersionControlInfo& WithVersionControlConfigurationTimeStamp(const char* value) { SetVersionControlConfigurationTimeStamp(value); return *this;} /** *

The type of version control.

*/ inline const VersionControlType& GetVersionControlType() const{ return m_versionControlType; } /** *

The type of version control.

*/ inline bool VersionControlTypeHasBeenSet() const { return m_versionControlTypeHasBeenSet; } /** *

The type of version control.

*/ inline void SetVersionControlType(const VersionControlType& value) { m_versionControlTypeHasBeenSet = true; m_versionControlType = value; } /** *

The type of version control.

*/ inline void SetVersionControlType(VersionControlType&& value) { m_versionControlTypeHasBeenSet = true; m_versionControlType = std::move(value); } /** *

The type of version control.

*/ inline VersionControlInfo& WithVersionControlType(const VersionControlType& value) { SetVersionControlType(value); return *this;} /** *

The type of version control.

*/ inline VersionControlInfo& WithVersionControlType(VersionControlType&& value) { SetVersionControlType(std::move(value)); return *this;} private: Aws::String m_versionControlConfigurationTimeStamp; bool m_versionControlConfigurationTimeStampHasBeenSet = false; VersionControlType m_versionControlType; bool m_versionControlTypeHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws