/** * 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 ChimeSDKMediaPipelines { namespace Model { SqsQueueSinkConfiguration::SqsQueueSinkConfiguration() : m_insightsTargetHasBeenSet(false) { } SqsQueueSinkConfiguration::SqsQueueSinkConfiguration(JsonView jsonValue) : m_insightsTargetHasBeenSet(false) { *this = jsonValue; } SqsQueueSinkConfiguration& SqsQueueSinkConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("InsightsTarget")) { m_insightsTarget = jsonValue.GetString("InsightsTarget"); m_insightsTargetHasBeenSet = true; } return *this; } JsonValue SqsQueueSinkConfiguration::Jsonize() const { JsonValue payload; if(m_insightsTargetHasBeenSet) { payload.WithString("InsightsTarget", m_insightsTarget); } return payload; } } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws