/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include #include using namespace Aws::Budgets::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; DescribeBudgetPerformanceHistoryResult::DescribeBudgetPerformanceHistoryResult() { } DescribeBudgetPerformanceHistoryResult::DescribeBudgetPerformanceHistoryResult(const Aws::AmazonWebServiceResult& result) { *this = result; } DescribeBudgetPerformanceHistoryResult& DescribeBudgetPerformanceHistoryResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("BudgetPerformanceHistory")) { m_budgetPerformanceHistory = jsonValue.GetObject("BudgetPerformanceHistory"); } if(jsonValue.ValueExists("NextToken")) { m_nextToken = jsonValue.GetString("NextToken"); } return *this; }