/** * 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; StartContactEvaluationRequest::StartContactEvaluationRequest() : m_instanceIdHasBeenSet(false), m_contactIdHasBeenSet(false), m_evaluationFormIdHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true) { } Aws::String StartContactEvaluationRequest::SerializePayload() const { JsonValue payload; if(m_contactIdHasBeenSet) { payload.WithString("ContactId", m_contactId); } if(m_evaluationFormIdHasBeenSet) { payload.WithString("EvaluationFormId", m_evaluationFormId); } if(m_clientTokenHasBeenSet) { payload.WithString("ClientToken", m_clientToken); } return payload.View().WriteReadable(); }