/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubStrategyRecommendations { namespace Model { /** *

IP address based configurations.

See Also:

AWS * API Reference

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

The type of authorization.

*/ inline const AuthType& GetAuthType() const{ return m_authType; } /** *

The type of authorization.

*/ inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; } /** *

The type of authorization.

*/ inline void SetAuthType(const AuthType& value) { m_authTypeHasBeenSet = true; m_authType = value; } /** *

The type of authorization.

*/ inline void SetAuthType(AuthType&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); } /** *

The type of authorization.

*/ inline IPAddressBasedRemoteInfo& WithAuthType(const AuthType& value) { SetAuthType(value); return *this;} /** *

The type of authorization.

*/ inline IPAddressBasedRemoteInfo& WithAuthType(AuthType&& value) { SetAuthType(std::move(value)); return *this;} /** *

The time stamp of the configuration.

*/ inline const Aws::String& GetIpAddressConfigurationTimeStamp() const{ return m_ipAddressConfigurationTimeStamp; } /** *

The time stamp of the configuration.

*/ inline bool IpAddressConfigurationTimeStampHasBeenSet() const { return m_ipAddressConfigurationTimeStampHasBeenSet; } /** *

The time stamp of the configuration.

*/ inline void SetIpAddressConfigurationTimeStamp(const Aws::String& value) { m_ipAddressConfigurationTimeStampHasBeenSet = true; m_ipAddressConfigurationTimeStamp = value; } /** *

The time stamp of the configuration.

*/ inline void SetIpAddressConfigurationTimeStamp(Aws::String&& value) { m_ipAddressConfigurationTimeStampHasBeenSet = true; m_ipAddressConfigurationTimeStamp = std::move(value); } /** *

The time stamp of the configuration.

*/ inline void SetIpAddressConfigurationTimeStamp(const char* value) { m_ipAddressConfigurationTimeStampHasBeenSet = true; m_ipAddressConfigurationTimeStamp.assign(value); } /** *

The time stamp of the configuration.

*/ inline IPAddressBasedRemoteInfo& WithIpAddressConfigurationTimeStamp(const Aws::String& value) { SetIpAddressConfigurationTimeStamp(value); return *this;} /** *

The time stamp of the configuration.

*/ inline IPAddressBasedRemoteInfo& WithIpAddressConfigurationTimeStamp(Aws::String&& value) { SetIpAddressConfigurationTimeStamp(std::move(value)); return *this;} /** *

The time stamp of the configuration.

*/ inline IPAddressBasedRemoteInfo& WithIpAddressConfigurationTimeStamp(const char* value) { SetIpAddressConfigurationTimeStamp(value); return *this;} /** *

The type of the operating system.

*/ inline const OSType& GetOsType() const{ return m_osType; } /** *

The type of the operating system.

*/ inline bool OsTypeHasBeenSet() const { return m_osTypeHasBeenSet; } /** *

The type of the operating system.

*/ inline void SetOsType(const OSType& value) { m_osTypeHasBeenSet = true; m_osType = value; } /** *

The type of the operating system.

*/ inline void SetOsType(OSType&& value) { m_osTypeHasBeenSet = true; m_osType = std::move(value); } /** *

The type of the operating system.

*/ inline IPAddressBasedRemoteInfo& WithOsType(const OSType& value) { SetOsType(value); return *this;} /** *

The type of the operating system.

*/ inline IPAddressBasedRemoteInfo& WithOsType(OSType&& value) { SetOsType(std::move(value)); return *this;} private: AuthType m_authType; bool m_authTypeHasBeenSet = false; Aws::String m_ipAddressConfigurationTimeStamp; bool m_ipAddressConfigurationTimeStampHasBeenSet = false; OSType m_osType; bool m_osTypeHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws