/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ApplicationInsights::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DescribeProblemRequest::DescribeProblemRequest() : m_problemIdHasBeenSet(false), m_accountIdHasBeenSet(false) { } Aws::String DescribeProblemRequest::SerializePayload() const { JsonValue payload; if(m_problemIdHasBeenSet) { payload.WithString("ProblemId", m_problemId); } if(m_accountIdHasBeenSet) { payload.WithString("AccountId", m_accountId); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DescribeProblemRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "EC2WindowsBarleyService.DescribeProblem")); return headers; }