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

Contains information about the domain.

See Also:

AWS * API Reference

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

The domain information for the Amazon Web Services API call.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

The domain information for the Amazon Web Services API call.

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

The domain information for the Amazon Web Services API call.

*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

The domain information for the Amazon Web Services API call.

*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

The domain information for the Amazon Web Services API call.

*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *

The domain information for the Amazon Web Services API call.

*/ inline DomainDetails& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

The domain information for the Amazon Web Services API call.

*/ inline DomainDetails& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

The domain information for the Amazon Web Services API call.

*/ inline DomainDetails& WithDomain(const char* value) { SetDomain(value); return *this;} private: Aws::String m_domain; bool m_domainHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws