/** * 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 CustomerProfiles { namespace Model { ZendeskSourceProperties::ZendeskSourceProperties() : m_objectHasBeenSet(false) { } ZendeskSourceProperties::ZendeskSourceProperties(JsonView jsonValue) : m_objectHasBeenSet(false) { *this = jsonValue; } ZendeskSourceProperties& ZendeskSourceProperties::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("Object")) { m_object = jsonValue.GetString("Object"); m_objectHasBeenSet = true; } return *this; } JsonValue ZendeskSourceProperties::Jsonize() const { JsonValue payload; if(m_objectHasBeenSet) { payload.WithString("Object", m_object); } return payload; } } // namespace Model } // namespace CustomerProfiles } // namespace Aws