/** * 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 DescribeProblemObservationsRequest : public ApplicationInsightsRequest { public: AWS_APPLICATIONINSIGHTS_API DescribeProblemObservationsRequest(); // 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 "DescribeProblemObservations"; } AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override; AWS_APPLICATIONINSIGHTS_API 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 DescribeProblemObservationsRequest& WithProblemId(const Aws::String& value) { SetProblemId(value); return *this;} /** *

The ID of the problem.

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

The ID of the problem.

*/ inline DescribeProblemObservationsRequest& WithProblemId(const char* value) { SetProblemId(value); return *this;} /** *

The AWS account ID for the resource group owner.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The AWS account ID for the resource group owner.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The AWS account ID for the resource group owner.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The AWS account ID for the resource group owner.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The AWS account ID for the resource group owner.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The AWS account ID for the resource group owner.

*/ inline DescribeProblemObservationsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The AWS account ID for the resource group owner.

*/ inline DescribeProblemObservationsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The AWS account ID for the resource group owner.

*/ inline DescribeProblemObservationsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: Aws::String m_problemId; bool m_problemIdHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws