/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EMR { namespace Model { class CreateStudioResult { public: AWS_EMR_API CreateStudioResult(); AWS_EMR_API CreateStudioResult(const Aws::AmazonWebServiceResult& result); AWS_EMR_API CreateStudioResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the Amazon EMR Studio.

*/ inline const Aws::String& GetStudioId() const{ return m_studioId; } /** *

The ID of the Amazon EMR Studio.

*/ inline void SetStudioId(const Aws::String& value) { m_studioId = value; } /** *

The ID of the Amazon EMR Studio.

*/ inline void SetStudioId(Aws::String&& value) { m_studioId = std::move(value); } /** *

The ID of the Amazon EMR Studio.

*/ inline void SetStudioId(const char* value) { m_studioId.assign(value); } /** *

The ID of the Amazon EMR Studio.

*/ inline CreateStudioResult& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} /** *

The ID of the Amazon EMR Studio.

*/ inline CreateStudioResult& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;} /** *

The ID of the Amazon EMR Studio.

*/ inline CreateStudioResult& WithStudioId(const char* value) { SetStudioId(value); return *this;} /** *

The unique Studio access URL.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The unique Studio access URL.

*/ inline void SetUrl(const Aws::String& value) { m_url = value; } /** *

The unique Studio access URL.

*/ inline void SetUrl(Aws::String&& value) { m_url = std::move(value); } /** *

The unique Studio access URL.

*/ inline void SetUrl(const char* value) { m_url.assign(value); } /** *

The unique Studio access URL.

*/ inline CreateStudioResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The unique Studio access URL.

*/ inline CreateStudioResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The unique Studio access URL.

*/ inline CreateStudioResult& WithUrl(const char* value) { SetUrl(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 CreateStudioResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateStudioResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateStudioResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_studioId; Aws::String m_url; Aws::String m_requestId; }; } // namespace Model } // namespace EMR } // namespace Aws