/** * 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; CreateLensShareRequest::CreateLensShareRequest() : m_lensAliasHasBeenSet(false), m_sharedWithHasBeenSet(false), m_clientRequestToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientRequestTokenHasBeenSet(true) { } Aws::String CreateLensShareRequest::SerializePayload() const { JsonValue payload; if(m_sharedWithHasBeenSet) { payload.WithString("SharedWith", m_sharedWith); } if(m_clientRequestTokenHasBeenSet) { payload.WithString("ClientRequestToken", m_clientRequestToken); } return payload.View().WriteReadable(); }