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