This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-apigateway/include/aws/apigateway/model/GetModelTemplateResult.h

107 lines
3.4 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigateway/APIGateway_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace APIGateway
{
namespace Model
{
/**
* <p>Represents a mapping template used to transform a payload.</p> <div
* class="seeAlso"> <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html#models-mappings-mappings">Mapping
* Templates</a> </div><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/Template">AWS
* API Reference</a></p>
*/
class AWS_APIGATEWAY_API GetModelTemplateResult
{
public:
GetModelTemplateResult();
GetModelTemplateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetModelTemplateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Apache <a
* href="https://velocity.apache.org/engine/devel/vtl-reference.html"
* target="_blank">Velocity Template Language (VTL)</a> template content used for
* the template resource.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The Apache <a
* href="https://velocity.apache.org/engine/devel/vtl-reference.html"
* target="_blank">Velocity Template Language (VTL)</a> template content used for
* the template resource.</p>
*/
inline void SetValue(const Aws::String& value) { m_value = value; }
/**
* <p>The Apache <a
* href="https://velocity.apache.org/engine/devel/vtl-reference.html"
* target="_blank">Velocity Template Language (VTL)</a> template content used for
* the template resource.</p>
*/
inline void SetValue(Aws::String&& value) { m_value = std::move(value); }
/**
* <p>The Apache <a
* href="https://velocity.apache.org/engine/devel/vtl-reference.html"
* target="_blank">Velocity Template Language (VTL)</a> template content used for
* the template resource.</p>
*/
inline void SetValue(const char* value) { m_value.assign(value); }
/**
* <p>The Apache <a
* href="https://velocity.apache.org/engine/devel/vtl-reference.html"
* target="_blank">Velocity Template Language (VTL)</a> template content used for
* the template resource.</p>
*/
inline GetModelTemplateResult& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The Apache <a
* href="https://velocity.apache.org/engine/devel/vtl-reference.html"
* target="_blank">Velocity Template Language (VTL)</a> template content used for
* the template resource.</p>
*/
inline GetModelTemplateResult& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The Apache <a
* href="https://velocity.apache.org/engine/devel/vtl-reference.html"
* target="_blank">Velocity Template Language (VTL)</a> template content used for
* the template resource.</p>
*/
inline GetModelTemplateResult& WithValue(const char* value) { SetValue(value); return *this;}
private:
Aws::String m_value;
};
} // namespace Model
} // namespace APIGateway
} // namespace Aws