/** * 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 XRay { namespace Model { /** */ class GetInsightRequest : public XRayRequest { public: AWS_XRAY_API GetInsightRequest(); // 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 "GetInsight"; } AWS_XRAY_API Aws::String SerializePayload() const override; /** *

The insight's unique identifier. Use the GetInsightSummaries action to * retrieve an InsightId.

*/ inline const Aws::String& GetInsightId() const{ return m_insightId; } /** *

The insight's unique identifier. Use the GetInsightSummaries action to * retrieve an InsightId.

*/ inline bool InsightIdHasBeenSet() const { return m_insightIdHasBeenSet; } /** *

The insight's unique identifier. Use the GetInsightSummaries action to * retrieve an InsightId.

*/ inline void SetInsightId(const Aws::String& value) { m_insightIdHasBeenSet = true; m_insightId = value; } /** *

The insight's unique identifier. Use the GetInsightSummaries action to * retrieve an InsightId.

*/ inline void SetInsightId(Aws::String&& value) { m_insightIdHasBeenSet = true; m_insightId = std::move(value); } /** *

The insight's unique identifier. Use the GetInsightSummaries action to * retrieve an InsightId.

*/ inline void SetInsightId(const char* value) { m_insightIdHasBeenSet = true; m_insightId.assign(value); } /** *

The insight's unique identifier. Use the GetInsightSummaries action to * retrieve an InsightId.

*/ inline GetInsightRequest& WithInsightId(const Aws::String& value) { SetInsightId(value); return *this;} /** *

The insight's unique identifier. Use the GetInsightSummaries action to * retrieve an InsightId.

*/ inline GetInsightRequest& WithInsightId(Aws::String&& value) { SetInsightId(std::move(value)); return *this;} /** *

The insight's unique identifier. Use the GetInsightSummaries action to * retrieve an InsightId.

*/ inline GetInsightRequest& WithInsightId(const char* value) { SetInsightId(value); return *this;} private: Aws::String m_insightId; bool m_insightIdHasBeenSet = false; }; } // namespace Model } // namespace XRay } // namespace Aws