/** * 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 CloudWatchEvents { namespace Model { SqsParameters::SqsParameters() : m_messageGroupIdHasBeenSet(false) { } SqsParameters::SqsParameters(JsonView jsonValue) : m_messageGroupIdHasBeenSet(false) { *this = jsonValue; } SqsParameters& SqsParameters::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("MessageGroupId")) { m_messageGroupId = jsonValue.GetString("MessageGroupId"); m_messageGroupIdHasBeenSet = true; } return *this; } JsonValue SqsParameters::Jsonize() const { JsonValue payload; if(m_messageGroupIdHasBeenSet) { payload.WithString("MessageGroupId", m_messageGroupId); } return payload; } } // namespace Model } // namespace CloudWatchEvents } // namespace Aws