/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudFormation { namespace Model { /** *

The output for a EstimateTemplateCost action.

See Also:

* AWS * API Reference

*/ class EstimateTemplateCostResult { public: AWS_CLOUDFORMATION_API EstimateTemplateCostResult(); AWS_CLOUDFORMATION_API EstimateTemplateCostResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFORMATION_API EstimateTemplateCostResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An Amazon Web Services Simple Monthly Calculator URL with a query string that * describes the resources required to run the template.

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

An Amazon Web Services Simple Monthly Calculator URL with a query string that * describes the resources required to run the template.

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

An Amazon Web Services Simple Monthly Calculator URL with a query string that * describes the resources required to run the template.

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

An Amazon Web Services Simple Monthly Calculator URL with a query string that * describes the resources required to run the template.

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

An Amazon Web Services Simple Monthly Calculator URL with a query string that * describes the resources required to run the template.

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

An Amazon Web Services Simple Monthly Calculator URL with a query string that * describes the resources required to run the template.

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

An Amazon Web Services Simple Monthly Calculator URL with a query string that * describes the resources required to run the template.

*/ inline EstimateTemplateCostResult& WithUrl(const char* value) { SetUrl(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline EstimateTemplateCostResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline EstimateTemplateCostResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_url; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws