/** * 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 BillingConductor { namespace Model { UpdateFreeTierConfig::UpdateFreeTierConfig() : m_activated(false), m_activatedHasBeenSet(false) { } UpdateFreeTierConfig::UpdateFreeTierConfig(JsonView jsonValue) : m_activated(false), m_activatedHasBeenSet(false) { *this = jsonValue; } UpdateFreeTierConfig& UpdateFreeTierConfig::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("Activated")) { m_activated = jsonValue.GetBool("Activated"); m_activatedHasBeenSet = true; } return *this; } JsonValue UpdateFreeTierConfig::Jsonize() const { JsonValue payload; if(m_activatedHasBeenSet) { payload.WithBool("Activated", m_activated); } return payload; } } // namespace Model } // namespace BillingConductor } // namespace Aws