7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace Organizations
30 inline virtual const char*
GetServiceRequestName()
const override {
return "DeregisterDelegatedAdministrator"; }
44 template<
typename AccountIdT = Aws::String>
45 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
46 template<
typename AccountIdT = Aws::String>
61 template<
typename ServicePrincipalT = Aws::String>
62 void SetServicePrincipal(ServicePrincipalT&& value) { m_servicePrincipalHasBeenSet =
true; m_servicePrincipal = std::forward<ServicePrincipalT>(value); }
63 template<
typename ServicePrincipalT = Aws::String>
69 bool m_accountIdHasBeenSet =
false;
72 bool m_servicePrincipalHasBeenSet =
false;
void SetAccountId(AccountIdT &&value)
virtual const char * GetServiceRequestName() const override
bool AccountIdHasBeenSet() const
DeregisterDelegatedAdministratorRequest & WithServicePrincipal(ServicePrincipalT &&value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
const Aws::String & GetServicePrincipal() const
AWS_ORGANIZATIONS_API DeregisterDelegatedAdministratorRequest()=default
DeregisterDelegatedAdministratorRequest & WithAccountId(AccountIdT &&value)
void SetServicePrincipal(ServicePrincipalT &&value)
bool ServicePrincipalHasBeenSet() const
const Aws::String & GetAccountId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String