text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/gamelift/GameLift_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace GameLift
  {
  namespace Model
  {
  
    /**
     * <p>A remote location where a multi-location fleet can deploy EC2 instances for
     * game hosting. </p> <p> <b>Related actions</b> </p> <p> <a>CreateFleet</a>
     * </p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/LocationConfiguration">AWS
     * API Reference</a></p>
     */
    class AWS_GAMELIFT_API LocationConfiguration
    {
    public:
      LocationConfiguration();
      LocationConfiguration(Aws::Utils::Json::JsonView jsonValue);
      LocationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>An AWS Region code, such as <code>us-west-2</code>. </p>
       */
      inline const Aws::String& GetLocation() const{ return m_location; }
  
      /**
       * <p>An AWS Region code, such as <code>us-west-2</code>. </p>
       */
      inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
  
      /**
       * <p>An AWS Region code, such as <code>us-west-2</code>. </p>
       */
      inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
  
      /**
       * <p>An AWS Region code, such as <code>us-west-2</code>. </p>
       */
      inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
  
      /**
       * <p>An AWS Region code, such as <code>us-west-2</code>. </p>
       */
      inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
  
      /**
       * <p>An AWS Region code, such as <code>us-west-2</code>. </p>
       */
      inline LocationConfiguration& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
  
      /**
       * <p>An AWS Region code, such as <code>us-west-2</code>. </p>
       */
      inline LocationConfiguration& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
  
      /**
       * <p>An AWS Region code, such as <code>us-west-2</code>. </p>
       */
      inline LocationConfiguration& WithLocation(const char* value) { SetLocation(value); return *this;}
  
    private:
  
      Aws::String m_location;
      bool m_locationHasBeenSet;
    };
  
  } // namespace Model
  } // namespace GameLift
  } // namespace Aws
  