/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace CustomerProfiles { namespace Model { IncrementalPullConfig::IncrementalPullConfig() : m_datetimeTypeFieldNameHasBeenSet(false) { } IncrementalPullConfig::IncrementalPullConfig(JsonView jsonValue) : m_datetimeTypeFieldNameHasBeenSet(false) { *this = jsonValue; } IncrementalPullConfig& IncrementalPullConfig::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("DatetimeTypeFieldName")) { m_datetimeTypeFieldName = jsonValue.GetString("DatetimeTypeFieldName"); m_datetimeTypeFieldNameHasBeenSet = true; } return *this; } JsonValue IncrementalPullConfig::Jsonize() const { JsonValue payload; if(m_datetimeTypeFieldNameHasBeenSet) { payload.WithString("DatetimeTypeFieldName", m_datetimeTypeFieldName); } return payload; } } // namespace Model } // namespace CustomerProfiles } // namespace Aws