AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReceiptRuleSetMetadata.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
38 {
39 public:
40 AWS_SES_API ReceiptRuleSetMetadata() = default;
43
44 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 ReceiptRuleSetMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
69 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
70 template<typename CreatedTimestampT = Aws::Utils::DateTime>
71 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
72 template<typename CreatedTimestampT = Aws::Utils::DateTime>
73 ReceiptRuleSetMetadata& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
75 private:
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79
80 Aws::Utils::DateTime m_createdTimestamp{};
81 bool m_createdTimestampHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SES
86} // namespace Aws
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCreatedTimestamp(CreatedTimestampT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
ReceiptRuleSetMetadata & WithName(NameT &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API ReceiptRuleSetMetadata(const Aws::Utils::Xml::XmlNode &xmlNode)
ReceiptRuleSetMetadata & WithCreatedTimestamp(CreatedTimestampT &&value)
AWS_SES_API ReceiptRuleSetMetadata & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API ReceiptRuleSetMetadata()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream