/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains details of a service principal that represents an
* Amazon Web Services service that is enabled to integrate with
* Organizations.See Also:
AWS
* API Reference
The name of the service principal. This is typically in the form of a URL,
* such as: servicename.amazonaws.com
.
The name of the service principal. This is typically in the form of a URL,
* such as: servicename.amazonaws.com
.
The name of the service principal. This is typically in the form of a URL,
* such as: servicename.amazonaws.com
.
The name of the service principal. This is typically in the form of a URL,
* such as: servicename.amazonaws.com
.
The name of the service principal. This is typically in the form of a URL,
* such as: servicename.amazonaws.com
.
The name of the service principal. This is typically in the form of a URL,
* such as: servicename.amazonaws.com
.
The name of the service principal. This is typically in the form of a URL,
* such as: servicename.amazonaws.com
.
The name of the service principal. This is typically in the form of a URL,
* such as: servicename.amazonaws.com
.
The date that the service principal was enabled for integration with * Organizations.
*/ inline const Aws::Utils::DateTime& GetDateEnabled() const{ return m_dateEnabled; } /** *The date that the service principal was enabled for integration with * Organizations.
*/ inline bool DateEnabledHasBeenSet() const { return m_dateEnabledHasBeenSet; } /** *The date that the service principal was enabled for integration with * Organizations.
*/ inline void SetDateEnabled(const Aws::Utils::DateTime& value) { m_dateEnabledHasBeenSet = true; m_dateEnabled = value; } /** *The date that the service principal was enabled for integration with * Organizations.
*/ inline void SetDateEnabled(Aws::Utils::DateTime&& value) { m_dateEnabledHasBeenSet = true; m_dateEnabled = std::move(value); } /** *The date that the service principal was enabled for integration with * Organizations.
*/ inline EnabledServicePrincipal& WithDateEnabled(const Aws::Utils::DateTime& value) { SetDateEnabled(value); return *this;} /** *The date that the service principal was enabled for integration with * Organizations.
*/ inline EnabledServicePrincipal& WithDateEnabled(Aws::Utils::DateTime&& value) { SetDateEnabled(std::move(value)); return *this;} private: Aws::String m_servicePrincipal; bool m_servicePrincipalHasBeenSet = false; Aws::Utils::DateTime m_dateEnabled; bool m_dateEnabledHasBeenSet = false; }; } // namespace Model } // namespace Organizations } // namespace Aws