/** * 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 imagebuilder { namespace Model { Logging::Logging() : m_s3LogsHasBeenSet(false) { } Logging::Logging(JsonView jsonValue) : m_s3LogsHasBeenSet(false) { *this = jsonValue; } Logging& Logging::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("s3Logs")) { m_s3Logs = jsonValue.GetObject("s3Logs"); m_s3LogsHasBeenSet = true; } return *this; } JsonValue Logging::Jsonize() const { JsonValue payload; if(m_s3LogsHasBeenSet) { payload.WithObject("s3Logs", m_s3Logs.Jsonize()); } return payload; } } // namespace Model } // namespace imagebuilder } // namespace Aws