/** * 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 GuardDuty { namespace Model { /** */ class GetThreatIntelSetRequest : public GuardDutyRequest { public: AWS_GUARDDUTY_API GetThreatIntelSetRequest(); // 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 "GetThreatIntelSet"; } AWS_GUARDDUTY_API Aws::String SerializePayload() const override; /** *

The unique ID of the detector that the threatIntelSet is associated with.

*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *

The unique ID of the detector that the threatIntelSet is associated with.

*/ inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } /** *

The unique ID of the detector that the threatIntelSet is associated with.

*/ inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } /** *

The unique ID of the detector that the threatIntelSet is associated with.

*/ inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } /** *

The unique ID of the detector that the threatIntelSet is associated with.

*/ inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } /** *

The unique ID of the detector that the threatIntelSet is associated with.

*/ inline GetThreatIntelSetRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *

The unique ID of the detector that the threatIntelSet is associated with.

*/ inline GetThreatIntelSetRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *

The unique ID of the detector that the threatIntelSet is associated with.

*/ inline GetThreatIntelSetRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *

The unique ID of the threatIntelSet that you want to get.

*/ inline const Aws::String& GetThreatIntelSetId() const{ return m_threatIntelSetId; } /** *

The unique ID of the threatIntelSet that you want to get.

*/ inline bool ThreatIntelSetIdHasBeenSet() const { return m_threatIntelSetIdHasBeenSet; } /** *

The unique ID of the threatIntelSet that you want to get.

*/ inline void SetThreatIntelSetId(const Aws::String& value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId = value; } /** *

The unique ID of the threatIntelSet that you want to get.

*/ inline void SetThreatIntelSetId(Aws::String&& value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId = std::move(value); } /** *

The unique ID of the threatIntelSet that you want to get.

*/ inline void SetThreatIntelSetId(const char* value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId.assign(value); } /** *

The unique ID of the threatIntelSet that you want to get.

*/ inline GetThreatIntelSetRequest& WithThreatIntelSetId(const Aws::String& value) { SetThreatIntelSetId(value); return *this;} /** *

The unique ID of the threatIntelSet that you want to get.

*/ inline GetThreatIntelSetRequest& WithThreatIntelSetId(Aws::String&& value) { SetThreatIntelSetId(std::move(value)); return *this;} /** *

The unique ID of the threatIntelSet that you want to get.

*/ inline GetThreatIntelSetRequest& WithThreatIntelSetId(const char* value) { SetThreatIntelSetId(value); return *this;} private: Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; Aws::String m_threatIntelSetId; bool m_threatIntelSetIdHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws