/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::BillingConductor::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; ListResourcesAssociatedToCustomLineItemRequest::ListResourcesAssociatedToCustomLineItemRequest() : m_billingPeriodHasBeenSet(false), m_arnHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), m_filtersHasBeenSet(false) { } Aws::String ListResourcesAssociatedToCustomLineItemRequest::SerializePayload() const { JsonValue payload; if(m_billingPeriodHasBeenSet) { payload.WithString("BillingPeriod", m_billingPeriod); } if(m_arnHasBeenSet) { payload.WithString("Arn", m_arn); } if(m_maxResultsHasBeenSet) { payload.WithInteger("MaxResults", m_maxResults); } if(m_nextTokenHasBeenSet) { payload.WithString("NextToken", m_nextToken); } if(m_filtersHasBeenSet) { payload.WithObject("Filters", m_filters.Jsonize()); } return payload.View().WriteReadable(); }