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

The newly created recommendation template, returned as an object. This object * includes the template's name, format, status, tags, Amazon S3 bucket location, * and more.

*/ inline const RecommendationTemplate& GetRecommendationTemplate() const{ return m_recommendationTemplate; } /** *

The newly created recommendation template, returned as an object. This object * includes the template's name, format, status, tags, Amazon S3 bucket location, * and more.

*/ inline void SetRecommendationTemplate(const RecommendationTemplate& value) { m_recommendationTemplate = value; } /** *

The newly created recommendation template, returned as an object. This object * includes the template's name, format, status, tags, Amazon S3 bucket location, * and more.

*/ inline void SetRecommendationTemplate(RecommendationTemplate&& value) { m_recommendationTemplate = std::move(value); } /** *

The newly created recommendation template, returned as an object. This object * includes the template's name, format, status, tags, Amazon S3 bucket location, * and more.

*/ inline CreateRecommendationTemplateResult& WithRecommendationTemplate(const RecommendationTemplate& value) { SetRecommendationTemplate(value); return *this;} /** *

The newly created recommendation template, returned as an object. This object * includes the template's name, format, status, tags, Amazon S3 bucket location, * and more.

*/ inline CreateRecommendationTemplateResult& WithRecommendationTemplate(RecommendationTemplate&& value) { SetRecommendationTemplate(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 CreateRecommendationTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateRecommendationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateRecommendationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RecommendationTemplate m_recommendationTemplate; Aws::String m_requestId; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws