/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provided if CallerType
is domain
. It provides
* information about the DNS domain that issued the API call.See
* Also:
AWS
* API Reference
The name of the DNS domain that issued the API call.
*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *The name of the DNS domain that issued the API call.
*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *The name of the DNS domain that issued the API call.
*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *The name of the DNS domain that issued the API call.
*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *The name of the DNS domain that issued the API call.
*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *The name of the DNS domain that issued the API call.
*/ inline AwsApiCallActionDomainDetails& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *The name of the DNS domain that issued the API call.
*/ inline AwsApiCallActionDomainDetails& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *The name of the DNS domain that issued the API call.
*/ inline AwsApiCallActionDomainDetails& WithDomain(const char* value) { SetDomain(value); return *this;} private: Aws::String m_domain; bool m_domainHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws