/** * 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 NetworkManager { namespace Model { /** *

Describes a location.

See Also:

AWS * API Reference

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

The physical address.

*/ inline const Aws::String& GetAddress() const{ return m_address; } /** *

The physical address.

*/ inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } /** *

The physical address.

*/ inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; } /** *

The physical address.

*/ inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); } /** *

The physical address.

*/ inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); } /** *

The physical address.

*/ inline Location& WithAddress(const Aws::String& value) { SetAddress(value); return *this;} /** *

The physical address.

*/ inline Location& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;} /** *

The physical address.

*/ inline Location& WithAddress(const char* value) { SetAddress(value); return *this;} /** *

The latitude.

*/ inline const Aws::String& GetLatitude() const{ return m_latitude; } /** *

The latitude.

*/ inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; } /** *

The latitude.

*/ inline void SetLatitude(const Aws::String& value) { m_latitudeHasBeenSet = true; m_latitude = value; } /** *

The latitude.

*/ inline void SetLatitude(Aws::String&& value) { m_latitudeHasBeenSet = true; m_latitude = std::move(value); } /** *

The latitude.

*/ inline void SetLatitude(const char* value) { m_latitudeHasBeenSet = true; m_latitude.assign(value); } /** *

The latitude.

*/ inline Location& WithLatitude(const Aws::String& value) { SetLatitude(value); return *this;} /** *

The latitude.

*/ inline Location& WithLatitude(Aws::String&& value) { SetLatitude(std::move(value)); return *this;} /** *

The latitude.

*/ inline Location& WithLatitude(const char* value) { SetLatitude(value); return *this;} /** *

The longitude.

*/ inline const Aws::String& GetLongitude() const{ return m_longitude; } /** *

The longitude.

*/ inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; } /** *

The longitude.

*/ inline void SetLongitude(const Aws::String& value) { m_longitudeHasBeenSet = true; m_longitude = value; } /** *

The longitude.

*/ inline void SetLongitude(Aws::String&& value) { m_longitudeHasBeenSet = true; m_longitude = std::move(value); } /** *

The longitude.

*/ inline void SetLongitude(const char* value) { m_longitudeHasBeenSet = true; m_longitude.assign(value); } /** *

The longitude.

*/ inline Location& WithLongitude(const Aws::String& value) { SetLongitude(value); return *this;} /** *

The longitude.

*/ inline Location& WithLongitude(Aws::String&& value) { SetLongitude(std::move(value)); return *this;} /** *

The longitude.

*/ inline Location& WithLongitude(const char* value) { SetLongitude(value); return *this;} private: Aws::String m_address; bool m_addressHasBeenSet = false; Aws::String m_latitude; bool m_latitudeHasBeenSet = false; Aws::String m_longitude; bool m_longitudeHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws