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_dateEnabledHasBeenSet =
false;
EnabledServicePrincipal & WithServicePrincipal(const Aws::String &value)
const Aws::String & GetServicePrincipal() const
void SetDateEnabled(Aws::Utils::DateTime &&value)
AWS_ORGANIZATIONS_API EnabledServicePrincipal()
void SetServicePrincipal(Aws::String &&value)
EnabledServicePrincipal & WithDateEnabled(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDateEnabled() const
void SetServicePrincipal(const char *value)
bool ServicePrincipalHasBeenSet() const
EnabledServicePrincipal & WithServicePrincipal(const char *value)
AWS_ORGANIZATIONS_API EnabledServicePrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServicePrincipal(const Aws::String &value)
AWS_ORGANIZATIONS_API EnabledServicePrincipal(Aws::Utils::Json::JsonView jsonValue)
EnabledServicePrincipal & WithDateEnabled(Aws::Utils::DateTime &&value)
void SetDateEnabled(const Aws::Utils::DateTime &value)
bool DateEnabledHasBeenSet() const
EnabledServicePrincipal & WithServicePrincipal(Aws::String &&value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue