AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
InvalidTemplateException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace SES {
20namespace Model {
21
30 public:
31 AWS_SES_API InvalidTemplateException() = default;
34
35 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
36 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
40 inline const Aws::String& GetTemplateName() const { return m_templateName; }
41 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
42 template <typename TemplateNameT = Aws::String>
43 void SetTemplateName(TemplateNameT&& value) {
44 m_templateNameHasBeenSet = true;
45 m_templateName = std::forward<TemplateNameT>(value);
46 }
47 template <typename TemplateNameT = Aws::String>
49 SetTemplateName(std::forward<TemplateNameT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_templateName;
55 bool m_templateNameHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SES
60} // namespace Aws
AWS_SES_API InvalidTemplateException()=default
AWS_SES_API InvalidTemplateException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API InvalidTemplateException(const Aws::Utils::Xml::XmlNode &xmlNode)
InvalidTemplateException & WithTemplateName(TemplateNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream