/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { class GetComputeAccessResult { public: AWS_GAMELIFT_API GetComputeAccessResult(); AWS_GAMELIFT_API GetComputeAccessResult(const Aws::AmazonWebServiceResult& result); AWS_GAMELIFT_API GetComputeAccessResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The fleet ID of compute resource.

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

The fleet ID of compute resource.

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

The fleet ID of compute resource.

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

The fleet ID of compute resource.

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

The fleet ID of compute resource.

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

The fleet ID of compute resource.

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

The fleet ID of compute resource.

*/ inline GetComputeAccessResult& 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 GetComputeAccessResult& 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 GetComputeAccessResult& 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 GetComputeAccessResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;} /** *

The name of the compute resource you requested credentials for.

*/ inline const Aws::String& GetComputeName() const{ return m_computeName; } /** *

The name of the compute resource you requested credentials for.

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

The name of the compute resource you requested credentials for.

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

The name of the compute resource you requested credentials for.

*/ inline void SetComputeName(const char* value) { m_computeName.assign(value); } /** *

The name of the compute resource you requested credentials for.

*/ inline GetComputeAccessResult& WithComputeName(const Aws::String& value) { SetComputeName(value); return *this;} /** *

The name of the compute resource you requested credentials for.

*/ inline GetComputeAccessResult& WithComputeName(Aws::String&& value) { SetComputeName(std::move(value)); return *this;} /** *

The name of the compute resource you requested credentials for.

*/ inline GetComputeAccessResult& WithComputeName(const char* value) { SetComputeName(value); return *this;} /** *

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

*/ inline const Aws::String& GetComputeArn() const{ return m_computeArn; } /** *

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

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

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

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

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

*/ inline void SetComputeArn(const char* value) { m_computeArn.assign(value); } /** *

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

*/ inline GetComputeAccessResult& WithComputeArn(const Aws::String& value) { SetComputeArn(value); return *this;} /** *

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

*/ inline GetComputeAccessResult& WithComputeArn(Aws::String&& value) { SetComputeArn(std::move(value)); return *this;} /** *

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

*/ inline GetComputeAccessResult& WithComputeArn(const char* value) { SetComputeArn(value); return *this;} /** *

The access credentials for the compute resource.

*/ inline const AwsCredentials& GetCredentials() const{ return m_credentials; } /** *

The access credentials for the compute resource.

*/ inline void SetCredentials(const AwsCredentials& value) { m_credentials = value; } /** *

The access credentials for the compute resource.

*/ inline void SetCredentials(AwsCredentials&& value) { m_credentials = std::move(value); } /** *

The access credentials for the compute resource.

*/ inline GetComputeAccessResult& WithCredentials(const AwsCredentials& value) { SetCredentials(value); return *this;} /** *

The access credentials for the compute resource.

*/ inline GetComputeAccessResult& WithCredentials(AwsCredentials&& value) { SetCredentials(std::move(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 GetComputeAccessResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetComputeAccessResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetComputeAccessResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_fleetId; Aws::String m_fleetArn; Aws::String m_computeName; Aws::String m_computeArn; AwsCredentials m_credentials; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws