AWS SDK for C++  1.8.182
AWS SDK for C++
ReputationOptions.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
51  inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
52 
61  inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
62 
71  inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
72 
81  inline ReputationOptions& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
82 
83 
91  inline bool GetReputationMetricsEnabled() const{ return m_reputationMetricsEnabled; }
92 
100  inline bool ReputationMetricsEnabledHasBeenSet() const { return m_reputationMetricsEnabledHasBeenSet; }
101 
109  inline void SetReputationMetricsEnabled(bool value) { m_reputationMetricsEnabledHasBeenSet = true; m_reputationMetricsEnabled = value; }
110 
118  inline ReputationOptions& WithReputationMetricsEnabled(bool value) { SetReputationMetricsEnabled(value); return *this;}
119 
120 
131  inline const Aws::Utils::DateTime& GetLastFreshStart() const{ return m_lastFreshStart; }
132 
143  inline bool LastFreshStartHasBeenSet() const { return m_lastFreshStartHasBeenSet; }
144 
155  inline void SetLastFreshStart(const Aws::Utils::DateTime& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = value; }
156 
167  inline void SetLastFreshStart(Aws::Utils::DateTime&& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = std::move(value); }
168 
179  inline ReputationOptions& WithLastFreshStart(const Aws::Utils::DateTime& value) { SetLastFreshStart(value); return *this;}
180 
191  inline ReputationOptions& WithLastFreshStart(Aws::Utils::DateTime&& value) { SetLastFreshStart(std::move(value)); return *this;}
192 
193  private:
194 
195  bool m_sendingEnabled;
196  bool m_sendingEnabledHasBeenSet;
197 
198  bool m_reputationMetricsEnabled;
199  bool m_reputationMetricsEnabledHasBeenSet;
200 
201  Aws::Utils::DateTime m_lastFreshStart;
202  bool m_lastFreshStartHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace SES
207 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SES::Model::ReputationOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::ReputationOptions::WithReputationMetricsEnabled
ReputationOptions & WithReputationMetricsEnabled(bool value)
Definition: ReputationOptions.h:118
Aws::SES::Model::ReputationOptions::GetLastFreshStart
const Aws::Utils::DateTime & GetLastFreshStart() const
Definition: ReputationOptions.h:131
Aws::SES::Model::ReputationOptions::SetLastFreshStart
void SetLastFreshStart(Aws::Utils::DateTime &&value)
Definition: ReputationOptions.h:167
Aws::SES::Model::ReputationOptions::WithLastFreshStart
ReputationOptions & WithLastFreshStart(Aws::Utils::DateTime &&value)
Definition: ReputationOptions.h:191
DateTime.h
Aws::SES::Model::ReputationOptions::ReputationOptions
ReputationOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::SES::Model::ReputationOptions::LastFreshStartHasBeenSet
bool LastFreshStartHasBeenSet() const
Definition: ReputationOptions.h:143
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::ReputationOptions::SendingEnabledHasBeenSet
bool SendingEnabledHasBeenSet() const
Definition: ReputationOptions.h:61
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::ReputationOptions::ReputationOptions
ReputationOptions()
Aws::SES::Model::ReputationOptions::WithSendingEnabled
ReputationOptions & WithSendingEnabled(bool value)
Definition: ReputationOptions.h:81
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ReputationOptions::SetLastFreshStart
void SetLastFreshStart(const Aws::Utils::DateTime &value)
Definition: ReputationOptions.h:155
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ReputationOptions::SetReputationMetricsEnabled
void SetReputationMetricsEnabled(bool value)
Definition: ReputationOptions.h:109
Aws::SES::Model::ReputationOptions::operator=
ReputationOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::ReputationOptions
Definition: ReputationOptions.h:33
Aws::SES::Model::ReputationOptions::GetSendingEnabled
bool GetSendingEnabled() const
Definition: ReputationOptions.h:51
index
int index
Definition: cJSON.h:171
Aws::SES::Model::ReputationOptions::ReputationMetricsEnabledHasBeenSet
bool ReputationMetricsEnabledHasBeenSet() const
Definition: ReputationOptions.h:100
Aws::SES::Model::ReputationOptions::GetReputationMetricsEnabled
bool GetReputationMetricsEnabled() const
Definition: ReputationOptions.h:91
Aws::SES::Model::ReputationOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::ReputationOptions::WithLastFreshStart
ReputationOptions & WithLastFreshStart(const Aws::Utils::DateTime &value)
Definition: ReputationOptions.h:179
Aws::SES::Model::ReputationOptions::SetSendingEnabled
void SetSendingEnabled(bool value)
Definition: ReputationOptions.h:71