AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailTemplateMetadata.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SESV2_API EmailTemplateMetadata();
38 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
46 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
47 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
48 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
49 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
50 inline EmailTemplateMetadata& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
51 inline EmailTemplateMetadata& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
52 inline EmailTemplateMetadata& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
60 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
61 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
62 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
64 inline EmailTemplateMetadata& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_templateName;
69 bool m_templateNameHasBeenSet = false;
70
71 Aws::Utils::DateTime m_createdTimestamp;
72 bool m_createdTimestampHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SESV2
77} // namespace Aws
EmailTemplateMetadata & WithTemplateName(const char *value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
EmailTemplateMetadata & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
EmailTemplateMetadata & WithTemplateName(Aws::String &&value)
EmailTemplateMetadata & WithTemplateName(const Aws::String &value)
EmailTemplateMetadata & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTemplateName(const Aws::String &value)
AWS_SESV2_API EmailTemplateMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API EmailTemplateMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue