AWS SDK for C++  1.8.129
AWS SDK for C++
InvalidTemplateException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
44 
45  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
46 
47 
48  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
49 
50 
51  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
52 
53 
54  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
55 
56 
57  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
58 
59 
60  inline InvalidTemplateException& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
61 
62 
63  inline InvalidTemplateException& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
64 
65 
66  inline InvalidTemplateException& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
67 
68  private:
69 
70  Aws::String m_templateName;
71  bool m_templateNameHasBeenSet;
72  };
73 
74 } // namespace Model
75 } // namespace SES
76 } // namespace Aws
Aws::SES::Model::InvalidTemplateException::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::InvalidTemplateException
Definition: InvalidTemplateException.h:34
Aws::SES::Model::InvalidTemplateException::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: InvalidTemplateException.h:48
Aws::SES::Model::InvalidTemplateException::SetTemplateName
void SetTemplateName(const char *value)
Definition: InvalidTemplateException.h:57
Aws::SES::Model::InvalidTemplateException::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: InvalidTemplateException.h:45
Aws::SES::Model::InvalidTemplateException::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::InvalidTemplateException::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: InvalidTemplateException.h:51
Aws::SES::Model::InvalidTemplateException::InvalidTemplateException
InvalidTemplateException()
Aws::SES::Model::InvalidTemplateException::WithTemplateName
InvalidTemplateException & WithTemplateName(const Aws::String &value)
Definition: InvalidTemplateException.h:60
Aws::SES::Model::InvalidTemplateException::operator=
InvalidTemplateException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::SES::Model::InvalidTemplateException::WithTemplateName
InvalidTemplateException & WithTemplateName(Aws::String &&value)
Definition: InvalidTemplateException.h:63
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::InvalidTemplateException::InvalidTemplateException
InvalidTemplateException(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::InvalidTemplateException::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: InvalidTemplateException.h:54
Aws::SES::Model::InvalidTemplateException::WithTemplateName
InvalidTemplateException & WithTemplateName(const char *value)
Definition: InvalidTemplateException.h:66
index
int index
Definition: cJSON.h:171