/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ResilienceHub::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteAppRequest::DeleteAppRequest() : m_appArnHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_forceDelete(false), m_forceDeleteHasBeenSet(false) { } Aws::String DeleteAppRequest::SerializePayload() const { JsonValue payload; if(m_appArnHasBeenSet) { payload.WithString("appArn", m_appArn); } if(m_clientTokenHasBeenSet) { payload.WithString("clientToken", m_clientToken); } if(m_forceDeleteHasBeenSet) { payload.WithBool("forceDelete", m_forceDelete); } return payload.View().WriteReadable(); }