/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::IoTAnalytics::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateDatastoreRequest::UpdateDatastoreRequest() : m_datastoreNameHasBeenSet(false), m_retentionPeriodHasBeenSet(false), m_datastoreStorageHasBeenSet(false), m_fileFormatConfigurationHasBeenSet(false) { } Aws::String UpdateDatastoreRequest::SerializePayload() const { JsonValue payload; if(m_retentionPeriodHasBeenSet) { payload.WithObject("retentionPeriod", m_retentionPeriod.Jsonize()); } if(m_datastoreStorageHasBeenSet) { payload.WithObject("datastoreStorage", m_datastoreStorage.Jsonize()); } if(m_fileFormatConfigurationHasBeenSet) { payload.WithObject("fileFormatConfiguration", m_fileFormatConfiguration.Jsonize()); } return payload.View().WriteReadable(); }