/** * 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 Macie2 { namespace Model { /** */ class GetSensitiveDataOccurrencesRequest : public Macie2Request { public: AWS_MACIE2_API GetSensitiveDataOccurrencesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetSensitiveDataOccurrences"; } AWS_MACIE2_API Aws::String SerializePayload() const override; /** *

The unique identifier for the finding.

*/ inline const Aws::String& GetFindingId() const{ return m_findingId; } /** *

The unique identifier for the finding.

*/ inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; } /** *

The unique identifier for the finding.

*/ inline void SetFindingId(const Aws::String& value) { m_findingIdHasBeenSet = true; m_findingId = value; } /** *

The unique identifier for the finding.

*/ inline void SetFindingId(Aws::String&& value) { m_findingIdHasBeenSet = true; m_findingId = std::move(value); } /** *

The unique identifier for the finding.

*/ inline void SetFindingId(const char* value) { m_findingIdHasBeenSet = true; m_findingId.assign(value); } /** *

The unique identifier for the finding.

*/ inline GetSensitiveDataOccurrencesRequest& WithFindingId(const Aws::String& value) { SetFindingId(value); return *this;} /** *

The unique identifier for the finding.

*/ inline GetSensitiveDataOccurrencesRequest& WithFindingId(Aws::String&& value) { SetFindingId(std::move(value)); return *this;} /** *

The unique identifier for the finding.

*/ inline GetSensitiveDataOccurrencesRequest& WithFindingId(const char* value) { SetFindingId(value); return *this;} private: Aws::String m_findingId; bool m_findingIdHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws