/** * 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 KinesisAnalyticsV2 { namespace Model { InputParallelism::InputParallelism() : m_count(0), m_countHasBeenSet(false) { } InputParallelism::InputParallelism(JsonView jsonValue) : m_count(0), m_countHasBeenSet(false) { *this = jsonValue; } InputParallelism& InputParallelism::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("Count")) { m_count = jsonValue.GetInteger("Count"); m_countHasBeenSet = true; } return *this; } JsonValue InputParallelism::Jsonize() const { JsonValue payload; if(m_countHasBeenSet) { payload.WithInteger("Count", m_count); } return payload; } } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws