/** * 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 IoTWireless { namespace Model { SidewalkAccountInfoWithFingerprint::SidewalkAccountInfoWithFingerprint() : m_amazonIdHasBeenSet(false), m_fingerprintHasBeenSet(false), m_arnHasBeenSet(false) { } SidewalkAccountInfoWithFingerprint::SidewalkAccountInfoWithFingerprint(JsonView jsonValue) : m_amazonIdHasBeenSet(false), m_fingerprintHasBeenSet(false), m_arnHasBeenSet(false) { *this = jsonValue; } SidewalkAccountInfoWithFingerprint& SidewalkAccountInfoWithFingerprint::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("AmazonId")) { m_amazonId = jsonValue.GetString("AmazonId"); m_amazonIdHasBeenSet = true; } if(jsonValue.ValueExists("Fingerprint")) { m_fingerprint = jsonValue.GetString("Fingerprint"); m_fingerprintHasBeenSet = true; } if(jsonValue.ValueExists("Arn")) { m_arn = jsonValue.GetString("Arn"); m_arnHasBeenSet = true; } return *this; } JsonValue SidewalkAccountInfoWithFingerprint::Jsonize() const { JsonValue payload; if(m_amazonIdHasBeenSet) { payload.WithString("AmazonId", m_amazonId); } if(m_fingerprintHasBeenSet) { payload.WithString("Fingerprint", m_fingerprint); } if(m_arnHasBeenSet) { payload.WithString("Arn", m_arn); } return payload; } } // namespace Model } // namespace IoTWireless } // namespace Aws