/** * 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 SFN { namespace Model { ExecutionStartedEventDetails::ExecutionStartedEventDetails() : m_inputHasBeenSet(false), m_roleArnHasBeenSet(false) { } ExecutionStartedEventDetails::ExecutionStartedEventDetails(JsonView jsonValue) : m_inputHasBeenSet(false), m_roleArnHasBeenSet(false) { *this = jsonValue; } ExecutionStartedEventDetails& ExecutionStartedEventDetails::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("input")) { m_input = jsonValue.GetString("input"); m_inputHasBeenSet = true; } if(jsonValue.ValueExists("roleArn")) { m_roleArn = jsonValue.GetString("roleArn"); m_roleArnHasBeenSet = true; } return *this; } JsonValue ExecutionStartedEventDetails::Jsonize() const { JsonValue payload; if(m_inputHasBeenSet) { payload.WithString("input", m_input); } if(m_roleArnHasBeenSet) { payload.WithString("roleArn", m_roleArn); } return payload; } } // namespace Model } // namespace SFN } // namespace Aws