/** * 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 GameLift { namespace Model { AnywhereConfiguration::AnywhereConfiguration() : m_costHasBeenSet(false) { } AnywhereConfiguration::AnywhereConfiguration(JsonView jsonValue) : m_costHasBeenSet(false) { *this = jsonValue; } AnywhereConfiguration& AnywhereConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("Cost")) { m_cost = jsonValue.GetString("Cost"); m_costHasBeenSet = true; } return *this; } JsonValue AnywhereConfiguration::Jsonize() const { JsonValue payload; if(m_costHasBeenSet) { payload.WithString("Cost", m_cost); } return payload; } } // namespace Model } // namespace GameLift } // namespace Aws