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 DateEnabledT = Aws::Utils::DateTime>
64 void SetDateEnabled(DateEnabledT&& value) { m_dateEnabledHasBeenSet =
true; m_dateEnabled = std::forward<DateEnabledT>(value); }
65 template<
typename DateEnabledT = Aws::Utils::DateTime>
71 bool m_servicePrincipalHasBeenSet =
false;
74 bool m_dateEnabledHasBeenSet =
false;
const Aws::String & GetServicePrincipal() const
void SetServicePrincipal(ServicePrincipalT &&value)
const Aws::Utils::DateTime & GetDateEnabled() const
bool ServicePrincipalHasBeenSet() const
EnabledServicePrincipal & WithDateEnabled(DateEnabledT &&value)
AWS_ORGANIZATIONS_API EnabledServicePrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API EnabledServicePrincipal(Aws::Utils::Json::JsonView jsonValue)
void SetDateEnabled(DateEnabledT &&value)
EnabledServicePrincipal & WithServicePrincipal(ServicePrincipalT &&value)
bool DateEnabledHasBeenSet() const
AWS_ORGANIZATIONS_API EnabledServicePrincipal()=default
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