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

Specifies the unique identifier of the requested exclusions preview. You can * use the unique identifier to retrieve the exclusions preview when running the * GetExclusionsPreview API.

*/ inline const Aws::String& GetPreviewToken() const{ return m_previewToken; } /** *

Specifies the unique identifier of the requested exclusions preview. You can * use the unique identifier to retrieve the exclusions preview when running the * GetExclusionsPreview API.

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

Specifies the unique identifier of the requested exclusions preview. You can * use the unique identifier to retrieve the exclusions preview when running the * GetExclusionsPreview API.

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

Specifies the unique identifier of the requested exclusions preview. You can * use the unique identifier to retrieve the exclusions preview when running the * GetExclusionsPreview API.

*/ inline void SetPreviewToken(const char* value) { m_previewToken.assign(value); } /** *

Specifies the unique identifier of the requested exclusions preview. You can * use the unique identifier to retrieve the exclusions preview when running the * GetExclusionsPreview API.

*/ inline CreateExclusionsPreviewResult& WithPreviewToken(const Aws::String& value) { SetPreviewToken(value); return *this;} /** *

Specifies the unique identifier of the requested exclusions preview. You can * use the unique identifier to retrieve the exclusions preview when running the * GetExclusionsPreview API.

*/ inline CreateExclusionsPreviewResult& WithPreviewToken(Aws::String&& value) { SetPreviewToken(std::move(value)); return *this;} /** *

Specifies the unique identifier of the requested exclusions preview. You can * use the unique identifier to retrieve the exclusions preview when running the * GetExclusionsPreview API.

*/ inline CreateExclusionsPreviewResult& WithPreviewToken(const char* value) { SetPreviewToken(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 CreateExclusionsPreviewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateExclusionsPreviewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateExclusionsPreviewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_previewToken; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector } // namespace Aws