/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Removes CloudTrail delegated administrator permissions from a specified
* member account in an organization that is currently designated as a delegated
* administrator.See Also:
AWS
* API Reference
A delegated administrator account ID. This is a member account in an * organization that is currently designated as a delegated administrator.
*/ inline const Aws::String& GetDelegatedAdminAccountId() const{ return m_delegatedAdminAccountId; } /** *A delegated administrator account ID. This is a member account in an * organization that is currently designated as a delegated administrator.
*/ inline bool DelegatedAdminAccountIdHasBeenSet() const { return m_delegatedAdminAccountIdHasBeenSet; } /** *A delegated administrator account ID. This is a member account in an * organization that is currently designated as a delegated administrator.
*/ inline void SetDelegatedAdminAccountId(const Aws::String& value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId = value; } /** *A delegated administrator account ID. This is a member account in an * organization that is currently designated as a delegated administrator.
*/ inline void SetDelegatedAdminAccountId(Aws::String&& value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId = std::move(value); } /** *A delegated administrator account ID. This is a member account in an * organization that is currently designated as a delegated administrator.
*/ inline void SetDelegatedAdminAccountId(const char* value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId.assign(value); } /** *A delegated administrator account ID. This is a member account in an * organization that is currently designated as a delegated administrator.
*/ inline DeregisterOrganizationDelegatedAdminRequest& WithDelegatedAdminAccountId(const Aws::String& value) { SetDelegatedAdminAccountId(value); return *this;} /** *A delegated administrator account ID. This is a member account in an * organization that is currently designated as a delegated administrator.
*/ inline DeregisterOrganizationDelegatedAdminRequest& WithDelegatedAdminAccountId(Aws::String&& value) { SetDelegatedAdminAccountId(std::move(value)); return *this;} /** *A delegated administrator account ID. This is a member account in an * organization that is currently designated as a delegated administrator.
*/ inline DeregisterOrganizationDelegatedAdminRequest& WithDelegatedAdminAccountId(const char* value) { SetDelegatedAdminAccountId(value); return *this;} private: Aws::String m_delegatedAdminAccountId; bool m_delegatedAdminAccountIdHasBeenSet = false; }; } // namespace Model } // namespace CloudTrail } // namespace Aws