/** * 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 NimbleStudio { namespace Model { class CreateStudioComponentResult { public: AWS_NIMBLESTUDIO_API CreateStudioComponentResult(); AWS_NIMBLESTUDIO_API CreateStudioComponentResult(const Aws::AmazonWebServiceResult& result); AWS_NIMBLESTUDIO_API CreateStudioComponentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the studio component.

*/ inline const StudioComponent& GetStudioComponent() const{ return m_studioComponent; } /** *

Information about the studio component.

*/ inline void SetStudioComponent(const StudioComponent& value) { m_studioComponent = value; } /** *

Information about the studio component.

*/ inline void SetStudioComponent(StudioComponent&& value) { m_studioComponent = std::move(value); } /** *

Information about the studio component.

*/ inline CreateStudioComponentResult& WithStudioComponent(const StudioComponent& value) { SetStudioComponent(value); return *this;} /** *

Information about the studio component.

*/ inline CreateStudioComponentResult& WithStudioComponent(StudioComponent&& value) { SetStudioComponent(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 CreateStudioComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateStudioComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateStudioComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: StudioComponent m_studioComponent; Aws::String m_requestId; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws