/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Inspector2 { namespace Model { class UpdateOrganizationConfigurationResult { public: AWS_INSPECTOR2_API UpdateOrganizationConfigurationResult(); AWS_INSPECTOR2_API UpdateOrganizationConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_INSPECTOR2_API UpdateOrganizationConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The updated status of scan types automatically enabled for new members of * your Amazon Inspector organization.

*/ inline const AutoEnable& GetAutoEnable() const{ return m_autoEnable; } /** *

The updated status of scan types automatically enabled for new members of * your Amazon Inspector organization.

*/ inline void SetAutoEnable(const AutoEnable& value) { m_autoEnable = value; } /** *

The updated status of scan types automatically enabled for new members of * your Amazon Inspector organization.

*/ inline void SetAutoEnable(AutoEnable&& value) { m_autoEnable = std::move(value); } /** *

The updated status of scan types automatically enabled for new members of * your Amazon Inspector organization.

*/ inline UpdateOrganizationConfigurationResult& WithAutoEnable(const AutoEnable& value) { SetAutoEnable(value); return *this;} /** *

The updated status of scan types automatically enabled for new members of * your Amazon Inspector organization.

*/ inline UpdateOrganizationConfigurationResult& WithAutoEnable(AutoEnable&& value) { SetAutoEnable(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateOrganizationConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateOrganizationConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateOrganizationConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AutoEnable m_autoEnable; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector2 } // namespace Aws