/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { class DescribeFleetLocationAttributesResult { public: AWS_GAMELIFT_API DescribeFleetLocationAttributesResult(); AWS_GAMELIFT_API DescribeFleetLocationAttributesResult(const Aws::AmazonWebServiceResult& result); AWS_GAMELIFT_API DescribeFleetLocationAttributesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A unique identifier for the fleet that location attributes were requested * for.

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

A unique identifier for the fleet that location attributes were requested * for.

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

A unique identifier for the fleet that location attributes were requested * for.

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

A unique identifier for the fleet that location attributes were requested * for.

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

A unique identifier for the fleet that location attributes were requested * for.

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

A unique identifier for the fleet that location attributes were requested * for.

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

A unique identifier for the fleet that location attributes were requested * for.

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

The Amazon Resource Name (ARN) * that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. * ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

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

The Amazon Resource Name (ARN) * that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. * ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

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

The Amazon Resource Name (ARN) * that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. * ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

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

The Amazon Resource Name (ARN) * that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. * ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

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

The Amazon Resource Name (ARN) * that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. * ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

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

The Amazon Resource Name (ARN) * that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. * ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

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

The Amazon Resource Name (ARN) * that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. * ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

*/ inline DescribeFleetLocationAttributesResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;} /** *

Location-specific information on the requested fleet's remote locations.

*/ inline const Aws::Vector& GetLocationAttributes() const{ return m_locationAttributes; } /** *

Location-specific information on the requested fleet's remote locations.

*/ inline void SetLocationAttributes(const Aws::Vector& value) { m_locationAttributes = value; } /** *

Location-specific information on the requested fleet's remote locations.

*/ inline void SetLocationAttributes(Aws::Vector&& value) { m_locationAttributes = std::move(value); } /** *

Location-specific information on the requested fleet's remote locations.

*/ inline DescribeFleetLocationAttributesResult& WithLocationAttributes(const Aws::Vector& value) { SetLocationAttributes(value); return *this;} /** *

Location-specific information on the requested fleet's remote locations.

*/ inline DescribeFleetLocationAttributesResult& WithLocationAttributes(Aws::Vector&& value) { SetLocationAttributes(std::move(value)); return *this;} /** *

Location-specific information on the requested fleet's remote locations.

*/ inline DescribeFleetLocationAttributesResult& AddLocationAttributes(const LocationAttributes& value) { m_locationAttributes.push_back(value); return *this; } /** *

Location-specific information on the requested fleet's remote locations.

*/ inline DescribeFleetLocationAttributesResult& AddLocationAttributes(LocationAttributes&& value) { m_locationAttributes.push_back(std::move(value)); return *this; } /** *

A token that indicates where to resume retrieving results on the next call to * this operation. If no token is returned, these results represent the end of the * list.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token that indicates where to resume retrieving results on the next call to * this operation. If no token is returned, these results represent the end of the * list.

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

A token that indicates where to resume retrieving results on the next call to * this operation. If no token is returned, these results represent the end of the * list.

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

A token that indicates where to resume retrieving results on the next call to * this operation. If no token is returned, these results represent the end of the * list.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A token that indicates where to resume retrieving results on the next call to * this operation. If no token is returned, these results represent the end of the * list.

*/ inline DescribeFleetLocationAttributesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token that indicates where to resume retrieving results on the next call to * this operation. If no token is returned, these results represent the end of the * list.

*/ inline DescribeFleetLocationAttributesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token that indicates where to resume retrieving results on the next call to * this operation. If no token is returned, these results represent the end of the * list.

*/ inline DescribeFleetLocationAttributesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeFleetLocationAttributesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeFleetLocationAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeFleetLocationAttributesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_fleetId; Aws::String m_fleetArn; Aws::Vector m_locationAttributes; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws