7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace Organizations
50 template<
typename ServicePrincipalT = Aws::String>
51 void SetServicePrincipal(ServicePrincipalT&& value) { m_servicePrincipalHasBeenSet =
true; m_servicePrincipal = std::forward<ServicePrincipalT>(value); }
52 template<
typename ServicePrincipalT = Aws::String>
63 template<
typename DelegationEnabledDateT = Aws::Utils::DateTime>
64 void SetDelegationEnabledDate(DelegationEnabledDateT&& value) { m_delegationEnabledDateHasBeenSet =
true; m_delegationEnabledDate = std::forward<DelegationEnabledDateT>(value); }
65 template<
typename DelegationEnabledDateT = Aws::Utils::DateTime>
71 bool m_servicePrincipalHasBeenSet =
false;
74 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