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

Specifies the status of the request to generate an exclusions preview.

*/ inline const PreviewStatus& GetPreviewStatus() const{ return m_previewStatus; } /** *

Specifies the status of the request to generate an exclusions preview.

*/ inline void SetPreviewStatus(const PreviewStatus& value) { m_previewStatus = value; } /** *

Specifies the status of the request to generate an exclusions preview.

*/ inline void SetPreviewStatus(PreviewStatus&& value) { m_previewStatus = std::move(value); } /** *

Specifies the status of the request to generate an exclusions preview.

*/ inline GetExclusionsPreviewResult& WithPreviewStatus(const PreviewStatus& value) { SetPreviewStatus(value); return *this;} /** *

Specifies the status of the request to generate an exclusions preview.

*/ inline GetExclusionsPreviewResult& WithPreviewStatus(PreviewStatus&& value) { SetPreviewStatus(std::move(value)); return *this;} /** *

Information about the exclusions included in the preview.

*/ inline const Aws::Vector& GetExclusionPreviews() const{ return m_exclusionPreviews; } /** *

Information about the exclusions included in the preview.

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

Information about the exclusions included in the preview.

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

Information about the exclusions included in the preview.

*/ inline GetExclusionsPreviewResult& WithExclusionPreviews(const Aws::Vector& value) { SetExclusionPreviews(value); return *this;} /** *

Information about the exclusions included in the preview.

*/ inline GetExclusionsPreviewResult& WithExclusionPreviews(Aws::Vector&& value) { SetExclusionPreviews(std::move(value)); return *this;} /** *

Information about the exclusions included in the preview.

*/ inline GetExclusionsPreviewResult& AddExclusionPreviews(const ExclusionPreview& value) { m_exclusionPreviews.push_back(value); return *this; } /** *

Information about the exclusions included in the preview.

*/ inline GetExclusionsPreviewResult& AddExclusionPreviews(ExclusionPreview&& value) { m_exclusionPreviews.push_back(std::move(value)); return *this; } /** *

When a response is generated, if there is more data to be listed, this * parameters is present in the response and contains the value to use for the * nextToken parameter in a subsequent pagination request. If there is no more data * to be listed, this parameter is set to null.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

When a response is generated, if there is more data to be listed, this * parameters is present in the response and contains the value to use for the * nextToken parameter in a subsequent pagination request. If there is no more data * to be listed, this parameter is set to null.

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

When a response is generated, if there is more data to be listed, this * parameters is present in the response and contains the value to use for the * nextToken parameter in a subsequent pagination request. If there is no more data * to be listed, this parameter is set to null.

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

When a response is generated, if there is more data to be listed, this * parameters is present in the response and contains the value to use for the * nextToken parameter in a subsequent pagination request. If there is no more data * to be listed, this parameter is set to null.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

When a response is generated, if there is more data to be listed, this * parameters is present in the response and contains the value to use for the * nextToken parameter in a subsequent pagination request. If there is no more data * to be listed, this parameter is set to null.

*/ inline GetExclusionsPreviewResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

When a response is generated, if there is more data to be listed, this * parameters is present in the response and contains the value to use for the * nextToken parameter in a subsequent pagination request. If there is no more data * to be listed, this parameter is set to null.

*/ inline GetExclusionsPreviewResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

When a response is generated, if there is more data to be listed, this * parameters is present in the response and contains the value to use for the * nextToken parameter in a subsequent pagination request. If there is no more data * to be listed, this parameter is set to null.

*/ inline GetExclusionsPreviewResult& WithNextToken(const char* value) { SetNextToken(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 GetExclusionsPreviewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetExclusionsPreviewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetExclusionsPreviewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: PreviewStatus m_previewStatus; Aws::Vector m_exclusionPreviews; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector } // namespace Aws