/** * 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 LookoutEquipment { namespace Model { LabelsInputConfiguration::LabelsInputConfiguration() : m_s3InputConfigurationHasBeenSet(false), m_labelGroupNameHasBeenSet(false) { } LabelsInputConfiguration::LabelsInputConfiguration(JsonView jsonValue) : m_s3InputConfigurationHasBeenSet(false), m_labelGroupNameHasBeenSet(false) { *this = jsonValue; } LabelsInputConfiguration& LabelsInputConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("S3InputConfiguration")) { m_s3InputConfiguration = jsonValue.GetObject("S3InputConfiguration"); m_s3InputConfigurationHasBeenSet = true; } if(jsonValue.ValueExists("LabelGroupName")) { m_labelGroupName = jsonValue.GetString("LabelGroupName"); m_labelGroupNameHasBeenSet = true; } return *this; } JsonValue LabelsInputConfiguration::Jsonize() const { JsonValue payload; if(m_s3InputConfigurationHasBeenSet) { payload.WithObject("S3InputConfiguration", m_s3InputConfiguration.Jsonize()); } if(m_labelGroupNameHasBeenSet) { payload.WithString("LabelGroupName", m_labelGroupName); } return payload; } } // namespace Model } // namespace LookoutEquipment } // namespace Aws