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 DateEnabledT = Aws::Utils::DateTime>
65 m_dateEnabledHasBeenSet =
true;
66 m_dateEnabled = std::forward<DateEnabledT>(value);
68 template <
typename DateEnabledT = Aws::Utils::DateTime>
78 bool m_servicePrincipalHasBeenSet =
false;
79 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