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

An error message explaining why new Amazon Inspector deep inspection custom * paths could not be added.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *

An error message explaining why new Amazon Inspector deep inspection custom * paths could not be added.

*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; } /** *

An error message explaining why new Amazon Inspector deep inspection custom * paths could not be added.

*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); } /** *

An error message explaining why new Amazon Inspector deep inspection custom * paths could not be added.

*/ inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } /** *

An error message explaining why new Amazon Inspector deep inspection custom * paths could not be added.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *

An error message explaining why new Amazon Inspector deep inspection custom * paths could not be added.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *

An error message explaining why new Amazon Inspector deep inspection custom * paths could not be added.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *

The current Amazon Inspector deep inspection custom paths for the * organization.

*/ inline const Aws::Vector& GetOrgPackagePaths() const{ return m_orgPackagePaths; } /** *

The current Amazon Inspector deep inspection custom paths for the * organization.

*/ inline void SetOrgPackagePaths(const Aws::Vector& value) { m_orgPackagePaths = value; } /** *

The current Amazon Inspector deep inspection custom paths for the * organization.

*/ inline void SetOrgPackagePaths(Aws::Vector&& value) { m_orgPackagePaths = std::move(value); } /** *

The current Amazon Inspector deep inspection custom paths for the * organization.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithOrgPackagePaths(const Aws::Vector& value) { SetOrgPackagePaths(value); return *this;} /** *

The current Amazon Inspector deep inspection custom paths for the * organization.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithOrgPackagePaths(Aws::Vector&& value) { SetOrgPackagePaths(std::move(value)); return *this;} /** *

The current Amazon Inspector deep inspection custom paths for the * organization.

*/ inline UpdateEc2DeepInspectionConfigurationResult& AddOrgPackagePaths(const Aws::String& value) { m_orgPackagePaths.push_back(value); return *this; } /** *

The current Amazon Inspector deep inspection custom paths for the * organization.

*/ inline UpdateEc2DeepInspectionConfigurationResult& AddOrgPackagePaths(Aws::String&& value) { m_orgPackagePaths.push_back(std::move(value)); return *this; } /** *

The current Amazon Inspector deep inspection custom paths for the * organization.

*/ inline UpdateEc2DeepInspectionConfigurationResult& AddOrgPackagePaths(const char* value) { m_orgPackagePaths.push_back(value); return *this; } /** *

The current Amazon Inspector deep inspection custom paths for your * account.

*/ inline const Aws::Vector& GetPackagePaths() const{ return m_packagePaths; } /** *

The current Amazon Inspector deep inspection custom paths for your * account.

*/ inline void SetPackagePaths(const Aws::Vector& value) { m_packagePaths = value; } /** *

The current Amazon Inspector deep inspection custom paths for your * account.

*/ inline void SetPackagePaths(Aws::Vector&& value) { m_packagePaths = std::move(value); } /** *

The current Amazon Inspector deep inspection custom paths for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithPackagePaths(const Aws::Vector& value) { SetPackagePaths(value); return *this;} /** *

The current Amazon Inspector deep inspection custom paths for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithPackagePaths(Aws::Vector&& value) { SetPackagePaths(std::move(value)); return *this;} /** *

The current Amazon Inspector deep inspection custom paths for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationResult& AddPackagePaths(const Aws::String& value) { m_packagePaths.push_back(value); return *this; } /** *

The current Amazon Inspector deep inspection custom paths for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationResult& AddPackagePaths(Aws::String&& value) { m_packagePaths.push_back(std::move(value)); return *this; } /** *

The current Amazon Inspector deep inspection custom paths for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationResult& AddPackagePaths(const char* value) { m_packagePaths.push_back(value); return *this; } /** *

The status of Amazon Inspector deep inspection in your account.

*/ inline const Ec2DeepInspectionStatus& GetStatus() const{ return m_status; } /** *

The status of Amazon Inspector deep inspection in your account.

*/ inline void SetStatus(const Ec2DeepInspectionStatus& value) { m_status = value; } /** *

The status of Amazon Inspector deep inspection in your account.

*/ inline void SetStatus(Ec2DeepInspectionStatus&& value) { m_status = std::move(value); } /** *

The status of Amazon Inspector deep inspection in your account.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithStatus(const Ec2DeepInspectionStatus& value) { SetStatus(value); return *this;} /** *

The status of Amazon Inspector deep inspection in your account.

*/ inline UpdateEc2DeepInspectionConfigurationResult& WithStatus(Ec2DeepInspectionStatus&& value) { SetStatus(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 UpdateEc2DeepInspectionConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateEc2DeepInspectionConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateEc2DeepInspectionConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_errorMessage; Aws::Vector m_orgPackagePaths; Aws::Vector m_packagePaths; Ec2DeepInspectionStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector2 } // namespace Aws