/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::DynamoDB::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DisableKinesisStreamingDestinationRequest::DisableKinesisStreamingDestinationRequest() : m_tableNameHasBeenSet(false), m_streamArnHasBeenSet(false) { } Aws::String DisableKinesisStreamingDestinationRequest::SerializePayload() const { JsonValue payload; if(m_tableNameHasBeenSet) { payload.WithString("TableName", m_tableName); } if(m_streamArnHasBeenSet) { payload.WithString("StreamArn", m_streamArn); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DisableKinesisStreamingDestinationRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "DynamoDB_20120810.DisableKinesisStreamingDestination")); return headers; }