/** * 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 ApplicationInsights { namespace Model { /** */ class AWS_APPLICATIONINSIGHTS_API DescribeProblemRequest : public ApplicationInsightsRequest { public: DescribeProblemRequest(); // 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 "DescribeProblem"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the problem.

*/ inline const Aws::String& GetProblemId() const{ return m_problemId; } /** *

The ID of the problem.

*/ inline bool ProblemIdHasBeenSet() const { return m_problemIdHasBeenSet; } /** *

The ID of the problem.

*/ inline void SetProblemId(const Aws::String& value) { m_problemIdHasBeenSet = true; m_problemId = value; } /** *

The ID of the problem.

*/ inline void SetProblemId(Aws::String&& value) { m_problemIdHasBeenSet = true; m_problemId = std::move(value); } /** *

The ID of the problem.

*/ inline void SetProblemId(const char* value) { m_problemIdHasBeenSet = true; m_problemId.assign(value); } /** *

The ID of the problem.

*/ inline DescribeProblemRequest& WithProblemId(const Aws::String& value) { SetProblemId(value); return *this;} /** *

The ID of the problem.

*/ inline DescribeProblemRequest& WithProblemId(Aws::String&& value) { SetProblemId(std::move(value)); return *this;} /** *

The ID of the problem.

*/ inline DescribeProblemRequest& WithProblemId(const char* value) { SetProblemId(value); return *this;} private: Aws::String m_problemId; bool m_problemIdHasBeenSet; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws