AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReputationOptions.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SES_API ReputationOptions();
36 AWS_SES_API ReputationOptions(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
52 inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
53 inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
54 inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
55 inline ReputationOptions& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
57
59
66 inline bool GetReputationMetricsEnabled() const{ return m_reputationMetricsEnabled; }
67 inline bool ReputationMetricsEnabledHasBeenSet() const { return m_reputationMetricsEnabledHasBeenSet; }
68 inline void SetReputationMetricsEnabled(bool value) { m_reputationMetricsEnabledHasBeenSet = true; m_reputationMetricsEnabled = value; }
71
73
83 inline const Aws::Utils::DateTime& GetLastFreshStart() const{ return m_lastFreshStart; }
84 inline bool LastFreshStartHasBeenSet() const { return m_lastFreshStartHasBeenSet; }
85 inline void SetLastFreshStart(const Aws::Utils::DateTime& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = value; }
86 inline void SetLastFreshStart(Aws::Utils::DateTime&& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = std::move(value); }
87 inline ReputationOptions& WithLastFreshStart(const Aws::Utils::DateTime& value) { SetLastFreshStart(value); return *this;}
88 inline ReputationOptions& WithLastFreshStart(Aws::Utils::DateTime&& value) { SetLastFreshStart(std::move(value)); return *this;}
90 private:
91
92 bool m_sendingEnabled;
93 bool m_sendingEnabledHasBeenSet = false;
94
95 bool m_reputationMetricsEnabled;
96 bool m_reputationMetricsEnabledHasBeenSet = false;
97
98 Aws::Utils::DateTime m_lastFreshStart;
99 bool m_lastFreshStartHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SES
104} // namespace Aws
ReputationOptions & WithLastFreshStart(const Aws::Utils::DateTime &value)
void SetLastFreshStart(Aws::Utils::DateTime &&value)
AWS_SES_API ReputationOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReputationOptions & WithSendingEnabled(bool value)
ReputationOptions & WithLastFreshStart(Aws::Utils::DateTime &&value)
void SetLastFreshStart(const Aws::Utils::DateTime &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetLastFreshStart() const
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API ReputationOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
ReputationOptions & WithReputationMetricsEnabled(bool value)
std::basic_ostream< char, std::char_traits< char > > OStream