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

A remote location where a multi-location fleet can deploy game servers for * game hosting.

See Also:

AWS * API Reference

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

An Amazon Web Services Region code, such as us-west-2.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

An Amazon Web Services Region code, such as us-west-2.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

An Amazon Web Services Region code, such as us-west-2.

*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *

An Amazon Web Services Region code, such as us-west-2.

*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

An Amazon Web Services Region code, such as us-west-2.

*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *

An Amazon Web Services Region code, such as us-west-2.

*/ inline LocationConfiguration& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

An Amazon Web Services Region code, such as us-west-2.

*/ inline LocationConfiguration& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

An Amazon Web Services Region code, such as us-west-2.

*/ inline LocationConfiguration& WithLocation(const char* value) { SetLocation(value); return *this;} private: Aws::String m_location; bool m_locationHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws