/** * 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 CloudDirectory { namespace Model { BatchCreateIndexResponse::BatchCreateIndexResponse() : m_objectIdentifierHasBeenSet(false) { } BatchCreateIndexResponse::BatchCreateIndexResponse(JsonView jsonValue) : m_objectIdentifierHasBeenSet(false) { *this = jsonValue; } BatchCreateIndexResponse& BatchCreateIndexResponse::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("ObjectIdentifier")) { m_objectIdentifier = jsonValue.GetString("ObjectIdentifier"); m_objectIdentifierHasBeenSet = true; } return *this; } JsonValue BatchCreateIndexResponse::Jsonize() const { JsonValue payload; if(m_objectIdentifierHasBeenSet) { payload.WithString("ObjectIdentifier", m_objectIdentifier); } return payload; } } // namespace Model } // namespace CloudDirectory } // namespace Aws