/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AppStream { namespace Model { class StopAppBlockBuilderResult { public: AWS_APPSTREAM_API StopAppBlockBuilderResult(); AWS_APPSTREAM_API StopAppBlockBuilderResult(const Aws::AmazonWebServiceResult& result); AWS_APPSTREAM_API StopAppBlockBuilderResult& operator=(const Aws::AmazonWebServiceResult& result); inline const AppBlockBuilder& GetAppBlockBuilder() const{ return m_appBlockBuilder; } inline void SetAppBlockBuilder(const AppBlockBuilder& value) { m_appBlockBuilder = value; } inline void SetAppBlockBuilder(AppBlockBuilder&& value) { m_appBlockBuilder = std::move(value); } inline StopAppBlockBuilderResult& WithAppBlockBuilder(const AppBlockBuilder& value) { SetAppBlockBuilder(value); return *this;} inline StopAppBlockBuilderResult& WithAppBlockBuilder(AppBlockBuilder&& value) { SetAppBlockBuilder(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StopAppBlockBuilderResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StopAppBlockBuilderResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StopAppBlockBuilderResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AppBlockBuilder m_appBlockBuilder; Aws::String m_requestId; }; } // namespace Model } // namespace AppStream } // namespace Aws