AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TemplateMetadata.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SES
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SES_API TemplateMetadata();
36 AWS_SES_API TemplateMetadata(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline TemplateMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline TemplateMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline TemplateMetadata& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
62 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
63 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
64 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
66 inline TemplateMetadata& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_name;
71 bool m_nameHasBeenSet = false;
72
73 Aws::Utils::DateTime m_createdTimestamp;
74 bool m_createdTimestampHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SES
79} // namespace Aws
const Aws::Utils::DateTime & GetCreatedTimestamp() const
TemplateMetadata & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetName(const char *value)
TemplateMetadata & WithName(Aws::String &&value)
AWS_SES_API TemplateMetadata & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TemplateMetadata & WithName(const char *value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API TemplateMetadata(const Aws::Utils::Xml::XmlNode &xmlNode)
TemplateMetadata & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetName(const Aws::String &value)
TemplateMetadata & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream