/** * 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 LookoutforVision { namespace Model { OutputConfig::OutputConfig() : m_s3LocationHasBeenSet(false) { } OutputConfig::OutputConfig(JsonView jsonValue) : m_s3LocationHasBeenSet(false) { *this = jsonValue; } OutputConfig& OutputConfig::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("S3Location")) { m_s3Location = jsonValue.GetObject("S3Location"); m_s3LocationHasBeenSet = true; } return *this; } JsonValue OutputConfig::Jsonize() const { JsonValue payload; if(m_s3LocationHasBeenSet) { payload.WithObject("S3Location", m_s3Location.Jsonize()); } return payload; } } // namespace Model } // namespace LookoutforVision } // namespace Aws