/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the country where the remote IP address is
* located.See Also:
AWS
* API Reference
The country code of the remote IP address.
*/ inline const Aws::String& GetCountryCode() const{ return m_countryCode; } /** *The country code of the remote IP address.
*/ inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; } /** *The country code of the remote IP address.
*/ inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; } /** *The country code of the remote IP address.
*/ inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); } /** *The country code of the remote IP address.
*/ inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); } /** *The country code of the remote IP address.
*/ inline Country& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;} /** *The country code of the remote IP address.
*/ inline Country& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;} /** *The country code of the remote IP address.
*/ inline Country& WithCountryCode(const char* value) { SetCountryCode(value); return *this;} /** *The country name of the remote IP address.
*/ inline const Aws::String& GetCountryName() const{ return m_countryName; } /** *The country name of the remote IP address.
*/ inline bool CountryNameHasBeenSet() const { return m_countryNameHasBeenSet; } /** *The country name of the remote IP address.
*/ inline void SetCountryName(const Aws::String& value) { m_countryNameHasBeenSet = true; m_countryName = value; } /** *The country name of the remote IP address.
*/ inline void SetCountryName(Aws::String&& value) { m_countryNameHasBeenSet = true; m_countryName = std::move(value); } /** *The country name of the remote IP address.
*/ inline void SetCountryName(const char* value) { m_countryNameHasBeenSet = true; m_countryName.assign(value); } /** *The country name of the remote IP address.
*/ inline Country& WithCountryName(const Aws::String& value) { SetCountryName(value); return *this;} /** *The country name of the remote IP address.
*/ inline Country& WithCountryName(Aws::String&& value) { SetCountryName(std::move(value)); return *this;} /** *The country name of the remote IP address.
*/ inline Country& WithCountryName(const char* value) { SetCountryName(value); return *this;} private: Aws::String m_countryCode; bool m_countryCodeHasBeenSet = false; Aws::String m_countryName; bool m_countryNameHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws