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"; }
46 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
65 inline void SetServicePrincipal(
const char* value) { m_servicePrincipalHasBeenSet =
true; m_servicePrincipal.assign(value); }
73 bool m_accountIdHasBeenSet =
false;
76 bool m_servicePrincipalHasBeenSet =
false;
DeregisterDelegatedAdministratorRequest & WithServicePrincipal(const char *value)
DeregisterDelegatedAdministratorRequest & WithAccountId(const char *value)
void SetAccountId(const Aws::String &value)
void SetServicePrincipal(const char *value)
virtual const char * GetServiceRequestName() const override
bool AccountIdHasBeenSet() const
void SetAccountId(Aws::String &&value)
void SetServicePrincipal(const Aws::String &value)
DeregisterDelegatedAdministratorRequest & WithServicePrincipal(Aws::String &&value)
void SetServicePrincipal(Aws::String &&value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
const Aws::String & GetServicePrincipal() const
DeregisterDelegatedAdministratorRequest & WithAccountId(const Aws::String &value)
AWS_ORGANIZATIONS_API DeregisterDelegatedAdministratorRequest()
void SetAccountId(const char *value)
DeregisterDelegatedAdministratorRequest & WithAccountId(Aws::String &&value)
bool ServicePrincipalHasBeenSet() const
const Aws::String & GetAccountId() const
DeregisterDelegatedAdministratorRequest & WithServicePrincipal(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String