7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/Organizations_EXPORTS.h>
20namespace Organizations {
44 template <
typename ServicePrincipalT = Aws::String>
46 m_servicePrincipalHasBeenSet =
true;
47 m_servicePrincipal = std::forward<ServicePrincipalT>(value);
49 template <
typename ServicePrincipalT = Aws::String>
63 template <
typename DelegationEnabledDateT = Aws::Utils::DateTime>
65 m_delegationEnabledDateHasBeenSet =
true;
66 m_delegationEnabledDate = std::forward<DelegationEnabledDateT>(value);
68 template <
typename DelegationEnabledDateT = Aws::Utils::DateTime>
78 bool m_servicePrincipalHasBeenSet =
false;
79 bool m_delegationEnabledDateHasBeenSet =
false;
DelegatedService & WithDelegationEnabledDate(DelegationEnabledDateT &&value)
AWS_ORGANIZATIONS_API DelegatedService & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDelegationEnabledDate(DelegationEnabledDateT &&value)
bool ServicePrincipalHasBeenSet() const
bool DelegationEnabledDateHasBeenSet() const
void SetServicePrincipal(ServicePrincipalT &&value)
const Aws::String & GetServicePrincipal() const
const Aws::Utils::DateTime & GetDelegationEnabledDate() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ORGANIZATIONS_API DelegatedService(Aws::Utils::Json::JsonView jsonValue)
DelegatedService & WithServicePrincipal(ServicePrincipalT &&value)
AWS_ORGANIZATIONS_API DelegatedService()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue