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-email/include/aws/email/model/InvalidTemplateException.h

77 lines
2.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/email/SES_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace SES
{
namespace Model
{
/**
* <p>Indicates that the template that you specified could not be rendered. This
* issue may occur when a template refers to a partial that does not
* exist.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/InvalidTemplateException">AWS
* API Reference</a></p>
*/
class AWS_SES_API InvalidTemplateException
{
public:
InvalidTemplateException();
InvalidTemplateException(const Aws::Utils::Xml::XmlNode& xmlNode);
InvalidTemplateException& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
void OutputToStream(Aws::OStream& oStream, const char* location) const;
inline const Aws::String& GetTemplateName() const{ return m_templateName; }
inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
inline InvalidTemplateException& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
inline InvalidTemplateException& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
inline InvalidTemplateException& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
private:
Aws::String m_templateName;
bool m_templateNameHasBeenSet;
};
} // namespace Model
} // namespace SES
} // namespace Aws