/** * 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 { Tiering::Tiering() : m_freeTierHasBeenSet(false) { } Tiering::Tiering(JsonView jsonValue) : m_freeTierHasBeenSet(false) { *this = jsonValue; } Tiering& Tiering::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("FreeTier")) { m_freeTier = jsonValue.GetObject("FreeTier"); m_freeTierHasBeenSet = true; } return *this; } JsonValue Tiering::Jsonize() const { JsonValue payload; if(m_freeTierHasBeenSet) { payload.WithObject("FreeTier", m_freeTier.Jsonize()); } return payload; } } // namespace Model } // namespace BillingConductor } // namespace Aws