AWS SDK for C++  1.8.129
AWS SDK for C++
TemplateDoesNotExistException.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 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
43 
44  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
45 
46 
47  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
48 
49 
50  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
51 
52 
53  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
54 
55 
56  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
57 
58 
59  inline TemplateDoesNotExistException& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
60 
61 
62  inline TemplateDoesNotExistException& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
63 
64 
65  inline TemplateDoesNotExistException& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
66 
67  private:
68 
69  Aws::String m_templateName;
70  bool m_templateNameHasBeenSet;
71  };
72 
73 } // namespace Model
74 } // namespace SES
75 } // namespace Aws
Aws::SES::Model::TemplateDoesNotExistException::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: TemplateDoesNotExistException.h:50
Aws::SES::Model::TemplateDoesNotExistException::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::TemplateDoesNotExistException::WithTemplateName
TemplateDoesNotExistException & WithTemplateName(const char *value)
Definition: TemplateDoesNotExistException.h:65
Aws::SES::Model::TemplateDoesNotExistException::TemplateDoesNotExistException
TemplateDoesNotExistException(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::SES::Model::TemplateDoesNotExistException::WithTemplateName
TemplateDoesNotExistException & WithTemplateName(const Aws::String &value)
Definition: TemplateDoesNotExistException.h:59
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::TemplateDoesNotExistException::operator=
TemplateDoesNotExistException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::TemplateDoesNotExistException::TemplateDoesNotExistException
TemplateDoesNotExistException()
Aws::SES::Model::TemplateDoesNotExistException
Definition: TemplateDoesNotExistException.h:33
AWSString.h
Aws::SES::Model::TemplateDoesNotExistException::SetTemplateName
void SetTemplateName(const char *value)
Definition: TemplateDoesNotExistException.h:56
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::TemplateDoesNotExistException::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: TemplateDoesNotExistException.h:47
Aws::SES::Model::TemplateDoesNotExistException::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: TemplateDoesNotExistException.h:53
Aws::SES::Model::TemplateDoesNotExistException::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: TemplateDoesNotExistException.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::TemplateDoesNotExistException::WithTemplateName
TemplateDoesNotExistException & WithTemplateName(Aws::String &&value)
Definition: TemplateDoesNotExistException.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::TemplateDoesNotExistException::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const