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

The environment template detail data that's returned by Proton.

*/ inline const EnvironmentTemplate& GetEnvironmentTemplate() const{ return m_environmentTemplate; } /** *

The environment template detail data that's returned by Proton.

*/ inline void SetEnvironmentTemplate(const EnvironmentTemplate& value) { m_environmentTemplate = value; } /** *

The environment template detail data that's returned by Proton.

*/ inline void SetEnvironmentTemplate(EnvironmentTemplate&& value) { m_environmentTemplate = std::move(value); } /** *

The environment template detail data that's returned by Proton.

*/ inline CreateEnvironmentTemplateResult& WithEnvironmentTemplate(const EnvironmentTemplate& value) { SetEnvironmentTemplate(value); return *this;} /** *

The environment template detail data that's returned by Proton.

*/ inline CreateEnvironmentTemplateResult& WithEnvironmentTemplate(EnvironmentTemplate&& value) { SetEnvironmentTemplate(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 CreateEnvironmentTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateEnvironmentTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateEnvironmentTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: EnvironmentTemplate m_environmentTemplate; Aws::String m_requestId; }; } // namespace Model } // namespace Proton } // namespace Aws