This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

86 lines
2.5 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
#include <aws/application-insights/ApplicationInsightsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
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;
/**
* <p>The ID of the problem.</p>
*/
inline const Aws::String& GetProblemId() const{ return m_problemId; }
/**
* <p>The ID of the problem.</p>
*/
inline bool ProblemIdHasBeenSet() const { return m_problemIdHasBeenSet; }
/**
* <p>The ID of the problem.</p>
*/
inline void SetProblemId(const Aws::String& value) { m_problemIdHasBeenSet = true; m_problemId = value; }
/**
* <p>The ID of the problem.</p>
*/
inline void SetProblemId(Aws::String&& value) { m_problemIdHasBeenSet = true; m_problemId = std::move(value); }
/**
* <p>The ID of the problem.</p>
*/
inline void SetProblemId(const char* value) { m_problemIdHasBeenSet = true; m_problemId.assign(value); }
/**
* <p>The ID of the problem.</p>
*/
inline DescribeProblemRequest& WithProblemId(const Aws::String& value) { SetProblemId(value); return *this;}
/**
* <p>The ID of the problem.</p>
*/
inline DescribeProblemRequest& WithProblemId(Aws::String&& value) { SetProblemId(std::move(value)); return *this;}
/**
* <p>The ID of the problem.</p>
*/
inline DescribeProblemRequest& WithProblemId(const char* value) { SetProblemId(value); return *this;}
private:
Aws::String m_problemId;
bool m_problemIdHasBeenSet;
};
} // namespace Model
} // namespace ApplicationInsights
} // namespace Aws