/** * 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 RoboMaker { namespace Model { S3KeyOutput::S3KeyOutput() : m_s3KeyHasBeenSet(false), m_etagHasBeenSet(false) { } S3KeyOutput::S3KeyOutput(JsonView jsonValue) : m_s3KeyHasBeenSet(false), m_etagHasBeenSet(false) { *this = jsonValue; } S3KeyOutput& S3KeyOutput::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("s3Key")) { m_s3Key = jsonValue.GetString("s3Key"); m_s3KeyHasBeenSet = true; } if(jsonValue.ValueExists("etag")) { m_etag = jsonValue.GetString("etag"); m_etagHasBeenSet = true; } return *this; } JsonValue S3KeyOutput::Jsonize() const { JsonValue payload; if(m_s3KeyHasBeenSet) { payload.WithString("s3Key", m_s3Key); } if(m_etagHasBeenSet) { payload.WithString("etag", m_etag); } return payload; } } // namespace Model } // namespace RoboMaker } // namespace Aws