/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Connect::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; StopContactRequest::StopContactRequest() : m_contactIdHasBeenSet(false), m_instanceIdHasBeenSet(false) { } Aws::String StopContactRequest::SerializePayload() const { JsonValue payload; if(m_contactIdHasBeenSet) { payload.WithString("ContactId", m_contactId); } if(m_instanceIdHasBeenSet) { payload.WithString("InstanceId", m_instanceId); } return payload.View().WriteReadable(); }