AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline ReceiptRuleSetMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline ReceiptRuleSetMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline ReceiptRuleSetMetadata& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
71 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
72 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
73 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
75 inline ReceiptRuleSetMetadata& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
77 private:
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 Aws::Utils::DateTime m_createdTimestamp;
83 bool m_createdTimestampHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SES
88} // namespace Aws
ReceiptRuleSetMetadata & WithName(const Aws::String &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReceiptRuleSetMetadata & WithName(const char *value)
ReceiptRuleSetMetadata & WithName(Aws::String &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
ReceiptRuleSetMetadata & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
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)
AWS_SES_API ReceiptRuleSetMetadata & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReceiptRuleSetMetadata & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream