/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Inspector2 { namespace Model { /** *

Details of the Amazon Inspector delegated administrator for your * organization.

See Also:

AWS * API Reference

*/ class DelegatedAdmin { public: AWS_INSPECTOR2_API DelegatedAdmin(); AWS_INSPECTOR2_API DelegatedAdmin(Aws::Utils::Json::JsonView jsonValue); AWS_INSPECTOR2_API DelegatedAdmin& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline DelegatedAdmin& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline DelegatedAdmin& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline DelegatedAdmin& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The status of the Amazon Inspector delegated administrator.

*/ inline const RelationshipStatus& GetRelationshipStatus() const{ return m_relationshipStatus; } /** *

The status of the Amazon Inspector delegated administrator.

*/ inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; } /** *

The status of the Amazon Inspector delegated administrator.

*/ inline void SetRelationshipStatus(const RelationshipStatus& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; } /** *

The status of the Amazon Inspector delegated administrator.

*/ inline void SetRelationshipStatus(RelationshipStatus&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); } /** *

The status of the Amazon Inspector delegated administrator.

*/ inline DelegatedAdmin& WithRelationshipStatus(const RelationshipStatus& value) { SetRelationshipStatus(value); return *this;} /** *

The status of the Amazon Inspector delegated administrator.

*/ inline DelegatedAdmin& WithRelationshipStatus(RelationshipStatus&& value) { SetRelationshipStatus(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; RelationshipStatus m_relationshipStatus; bool m_relationshipStatusHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws