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

Provides information about the domain name of the device that an entity used * to perform an action on an affected resource.

See Also:

AWS * API Reference

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

The name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The name of the domain.

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

The name of the domain.

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

The name of the domain.

*/ inline DomainDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws