/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include #include using namespace Aws::Kafka::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; DeleteConfigurationResult::DeleteConfigurationResult() : m_state(ConfigurationState::NOT_SET) { } DeleteConfigurationResult::DeleteConfigurationResult(const Aws::AmazonWebServiceResult& result) : m_state(ConfigurationState::NOT_SET) { *this = result; } DeleteConfigurationResult& DeleteConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("arn")) { m_arn = jsonValue.GetString("arn"); } if(jsonValue.ValueExists("state")) { m_state = ConfigurationStateMapper::GetConfigurationStateForName(jsonValue.GetString("state")); } return *this; }