/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the Amazon Web Services service for which the
* account is a delegated administrator.See Also:
AWS
* API Reference
The name of an Amazon Web Services service that can request an operation for
* the specified service. This is typically in the form of a URL, such as:
* servicename.amazonaws.com
.
The name of an Amazon Web Services service that can request an operation for
* the specified service. This is typically in the form of a URL, such as:
* servicename.amazonaws.com
.
The name of an Amazon Web Services service that can request an operation for
* the specified service. This is typically in the form of a URL, such as:
* servicename.amazonaws.com
.
The name of an Amazon Web Services service that can request an operation for
* the specified service. This is typically in the form of a URL, such as:
* servicename.amazonaws.com
.
The name of an Amazon Web Services service that can request an operation for
* the specified service. This is typically in the form of a URL, such as:
* servicename.amazonaws.com
.
The name of an Amazon Web Services service that can request an operation for
* the specified service. This is typically in the form of a URL, such as:
* servicename.amazonaws.com
.
The name of an Amazon Web Services service that can request an operation for
* the specified service. This is typically in the form of a URL, such as:
* servicename.amazonaws.com
.
The name of an Amazon Web Services service that can request an operation for
* the specified service. This is typically in the form of a URL, such as:
* servicename.amazonaws.com
.
The date that the account became a delegated administrator for this service. *
*/ inline const Aws::Utils::DateTime& GetDelegationEnabledDate() const{ return m_delegationEnabledDate; } /** *The date that the account became a delegated administrator for this service. *
*/ inline bool DelegationEnabledDateHasBeenSet() const { return m_delegationEnabledDateHasBeenSet; } /** *The date that the account became a delegated administrator for this service. *
*/ inline void SetDelegationEnabledDate(const Aws::Utils::DateTime& value) { m_delegationEnabledDateHasBeenSet = true; m_delegationEnabledDate = value; } /** *The date that the account became a delegated administrator for this service. *
*/ inline void SetDelegationEnabledDate(Aws::Utils::DateTime&& value) { m_delegationEnabledDateHasBeenSet = true; m_delegationEnabledDate = std::move(value); } /** *The date that the account became a delegated administrator for this service. *
*/ inline DelegatedService& WithDelegationEnabledDate(const Aws::Utils::DateTime& value) { SetDelegationEnabledDate(value); return *this;} /** *The date that the account became a delegated administrator for this service. *
*/ inline DelegatedService& WithDelegationEnabledDate(Aws::Utils::DateTime&& value) { SetDelegationEnabledDate(std::move(value)); return *this;} private: Aws::String m_servicePrincipal; bool m_servicePrincipalHasBeenSet = false; Aws::Utils::DateTime m_delegationEnabledDate; bool m_delegationEnabledDateHasBeenSet = false; }; } // namespace Model } // namespace Organizations } // namespace Aws