/** * 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 FIS { namespace Model { ExperimentCloudWatchLogsLogConfiguration::ExperimentCloudWatchLogsLogConfiguration() : m_logGroupArnHasBeenSet(false) { } ExperimentCloudWatchLogsLogConfiguration::ExperimentCloudWatchLogsLogConfiguration(JsonView jsonValue) : m_logGroupArnHasBeenSet(false) { *this = jsonValue; } ExperimentCloudWatchLogsLogConfiguration& ExperimentCloudWatchLogsLogConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("logGroupArn")) { m_logGroupArn = jsonValue.GetString("logGroupArn"); m_logGroupArnHasBeenSet = true; } return *this; } JsonValue ExperimentCloudWatchLogsLogConfiguration::Jsonize() const { JsonValue payload; if(m_logGroupArnHasBeenSet) { payload.WithString("logGroupArn", m_logGroupArn); } return payload; } } // namespace Model } // namespace FIS } // namespace Aws