/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the city associated with the IP
* address.See Also:
AWS API
* Reference
The city name of the remote IP address.
*/ inline const Aws::String& GetCityName() const{ return m_cityName; } /** *The city name of the remote IP address.
*/ inline bool CityNameHasBeenSet() const { return m_cityNameHasBeenSet; } /** *The city name of the remote IP address.
*/ inline void SetCityName(const Aws::String& value) { m_cityNameHasBeenSet = true; m_cityName = value; } /** *The city name of the remote IP address.
*/ inline void SetCityName(Aws::String&& value) { m_cityNameHasBeenSet = true; m_cityName = std::move(value); } /** *The city name of the remote IP address.
*/ inline void SetCityName(const char* value) { m_cityNameHasBeenSet = true; m_cityName.assign(value); } /** *The city name of the remote IP address.
*/ inline City& WithCityName(const Aws::String& value) { SetCityName(value); return *this;} /** *The city name of the remote IP address.
*/ inline City& WithCityName(Aws::String&& value) { SetCityName(std::move(value)); return *this;} /** *The city name of the remote IP address.
*/ inline City& WithCityName(const char* value) { SetCityName(value); return *this;} private: Aws::String m_cityName; bool m_cityNameHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws