/** * 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::AppStream::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; CreateImageBuilderStreamingURLResult::CreateImageBuilderStreamingURLResult() { } CreateImageBuilderStreamingURLResult::CreateImageBuilderStreamingURLResult(const Aws::AmazonWebServiceResult& result) { *this = result; } CreateImageBuilderStreamingURLResult& CreateImageBuilderStreamingURLResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("StreamingURL")) { m_streamingURL = jsonValue.GetString("StreamingURL"); } if(jsonValue.ValueExists("Expires")) { m_expires = jsonValue.GetDouble("Expires"); } return *this; }