/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ARCZonalShift::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; StartZonalShiftRequest::StartZonalShiftRequest() : m_awayFromHasBeenSet(false), m_commentHasBeenSet(false), m_expiresInHasBeenSet(false), m_resourceIdentifierHasBeenSet(false) { } Aws::String StartZonalShiftRequest::SerializePayload() const { JsonValue payload; if(m_awayFromHasBeenSet) { payload.WithString("awayFrom", m_awayFrom); } if(m_commentHasBeenSet) { payload.WithString("comment", m_comment); } if(m_expiresInHasBeenSet) { payload.WithString("expiresIn", m_expiresIn); } if(m_resourceIdentifierHasBeenSet) { payload.WithString("resourceIdentifier", m_resourceIdentifier); } return payload.View().WriteReadable(); }