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

Represents the returned data in response to a request action.

See * Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API ResolveAliasResult { public: ResolveAliasResult(); ResolveAliasResult(const Aws::AmazonWebServiceResult& result); ResolveAliasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The fleet identifier that the alias is pointing to.

*/ inline const Aws::String& GetFleetId() const{ return m_fleetId; } /** *

The fleet identifier that the alias is pointing to.

*/ inline void SetFleetId(const Aws::String& value) { m_fleetId = value; } /** *

The fleet identifier that the alias is pointing to.

*/ inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); } /** *

The fleet identifier that the alias is pointing to.

*/ inline void SetFleetId(const char* value) { m_fleetId.assign(value); } /** *

The fleet identifier that the alias is pointing to.

*/ inline ResolveAliasResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} /** *

The fleet identifier that the alias is pointing to.

*/ inline ResolveAliasResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} /** *

The fleet identifier that the alias is pointing to.

*/ inline ResolveAliasResult& WithFleetId(const char* value) { SetFleetId(value); return *this;} /** *

The Amazon Resource Name (ARN) * associated with the GameLift fleet resource that this alias points to.

*/ inline const Aws::String& GetFleetArn() const{ return m_fleetArn; } /** *

The Amazon Resource Name (ARN) * associated with the GameLift fleet resource that this alias points to.

*/ inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; } /** *

The Amazon Resource Name (ARN) * associated with the GameLift fleet resource that this alias points to.

*/ inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); } /** *

The Amazon Resource Name (ARN) * associated with the GameLift fleet resource that this alias points to.

*/ inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); } /** *

The Amazon Resource Name (ARN) * associated with the GameLift fleet resource that this alias points to.

*/ inline ResolveAliasResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) * associated with the GameLift fleet resource that this alias points to.

*/ inline ResolveAliasResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) * associated with the GameLift fleet resource that this alias points to.

*/ inline ResolveAliasResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;} private: Aws::String m_fleetId; Aws::String m_fleetArn; }; } // namespace Model } // namespace GameLift } // namespace Aws