/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::WellArchitected::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateLensReviewRequest::UpdateLensReviewRequest() : m_workloadIdHasBeenSet(false), m_lensAliasHasBeenSet(false), m_lensNotesHasBeenSet(false), m_pillarNotesHasBeenSet(false) { } Aws::String UpdateLensReviewRequest::SerializePayload() const { JsonValue payload; if(m_lensNotesHasBeenSet) { payload.WithString("LensNotes", m_lensNotes); } if(m_pillarNotesHasBeenSet) { JsonValue pillarNotesJsonMap; for(auto& pillarNotesItem : m_pillarNotes) { pillarNotesJsonMap.WithString(pillarNotesItem.first, pillarNotesItem.second); } payload.WithObject("PillarNotes", std::move(pillarNotesJsonMap)); } return payload.View().WriteReadable(); }