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
52 inline void SetServicePrincipal(
const char* value) { m_servicePrincipalHasBeenSet =
true; m_servicePrincipal.assign(value); }
73 bool m_servicePrincipalHasBeenSet =
false;
76 bool m_delegationEnabledDateHasBeenSet =
false;
DelegatedService & WithDelegationEnabledDate(const Aws::Utils::DateTime &value)
void SetServicePrincipal(const Aws::String &value)
AWS_ORGANIZATIONS_API DelegatedService & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDelegationEnabledDate(const Aws::Utils::DateTime &value)
void SetDelegationEnabledDate(Aws::Utils::DateTime &&value)
DelegatedService & WithServicePrincipal(Aws::String &&value)
bool ServicePrincipalHasBeenSet() const
bool DelegationEnabledDateHasBeenSet() const
DelegatedService & WithServicePrincipal(const char *value)
const Aws::String & GetServicePrincipal() const
void SetServicePrincipal(const char *value)
AWS_ORGANIZATIONS_API DelegatedService()
DelegatedService & WithDelegationEnabledDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetDelegationEnabledDate() const
void SetServicePrincipal(Aws::String &&value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ORGANIZATIONS_API DelegatedService(Aws::Utils::Json::JsonView jsonValue)
DelegatedService & WithServicePrincipal(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue