/** * 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 UpdateStackResult { public: AWS_APPSTREAM_API UpdateStackResult(); AWS_APPSTREAM_API UpdateStackResult(const Aws::AmazonWebServiceResult& result); AWS_APPSTREAM_API UpdateStackResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the stack.

*/ inline const Stack& GetStack() const{ return m_stack; } /** *

Information about the stack.

*/ inline void SetStack(const Stack& value) { m_stack = value; } /** *

Information about the stack.

*/ inline void SetStack(Stack&& value) { m_stack = std::move(value); } /** *

Information about the stack.

*/ inline UpdateStackResult& WithStack(const Stack& value) { SetStack(value); return *this;} /** *

Information about the stack.

*/ inline UpdateStackResult& WithStack(Stack&& value) { SetStack(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 UpdateStackResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateStackResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateStackResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Stack m_stack; Aws::String m_requestId; }; } // namespace Model } // namespace AppStream } // namespace Aws