/** * 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 ManagedBlockchain { namespace Model { RemoveAction::RemoveAction() : m_memberIdHasBeenSet(false) { } RemoveAction::RemoveAction(JsonView jsonValue) : m_memberIdHasBeenSet(false) { *this = jsonValue; } RemoveAction& RemoveAction::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("MemberId")) { m_memberId = jsonValue.GetString("MemberId"); m_memberIdHasBeenSet = true; } return *this; } JsonValue RemoveAction::Jsonize() const { JsonValue payload; if(m_memberIdHasBeenSet) { payload.WithString("MemberId", m_memberId); } return payload; } } // namespace Model } // namespace ManagedBlockchain } // namespace Aws