AWS SDK for C++  1.9.160
AWS SDK for C++
ReputationOptions.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SESV2
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
47  inline bool GetReputationMetricsEnabled() const{ return m_reputationMetricsEnabled; }
48 
54  inline bool ReputationMetricsEnabledHasBeenSet() const { return m_reputationMetricsEnabledHasBeenSet; }
55 
61  inline void SetReputationMetricsEnabled(bool value) { m_reputationMetricsEnabledHasBeenSet = true; m_reputationMetricsEnabled = value; }
62 
68  inline ReputationOptions& WithReputationMetricsEnabled(bool value) { SetReputationMetricsEnabled(value); return *this;}
69 
70 
76  inline const Aws::Utils::DateTime& GetLastFreshStart() const{ return m_lastFreshStart; }
77 
83  inline bool LastFreshStartHasBeenSet() const { return m_lastFreshStartHasBeenSet; }
84 
90  inline void SetLastFreshStart(const Aws::Utils::DateTime& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = value; }
91 
97  inline void SetLastFreshStart(Aws::Utils::DateTime&& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = std::move(value); }
98 
104  inline ReputationOptions& WithLastFreshStart(const Aws::Utils::DateTime& value) { SetLastFreshStart(value); return *this;}
105 
111  inline ReputationOptions& WithLastFreshStart(Aws::Utils::DateTime&& value) { SetLastFreshStart(std::move(value)); return *this;}
112 
113  private:
114 
115  bool m_reputationMetricsEnabled;
116  bool m_reputationMetricsEnabledHasBeenSet;
117 
118  Aws::Utils::DateTime m_lastFreshStart;
119  bool m_lastFreshStartHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace SESV2
124 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::ReputationOptions::ReputationMetricsEnabledHasBeenSet
bool ReputationMetricsEnabledHasBeenSet() const
Definition: ReputationOptions.h:54
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ReputationOptions::WithLastFreshStart
ReputationOptions & WithLastFreshStart(const Aws::Utils::DateTime &value)
Definition: ReputationOptions.h:104
DateTime.h
Aws::SESV2::Model::ReputationOptions::SetLastFreshStart
void SetLastFreshStart(const Aws::Utils::DateTime &value)
Definition: ReputationOptions.h:90
Aws::SESV2::Model::ReputationOptions::GetReputationMetricsEnabled
bool GetReputationMetricsEnabled() const
Definition: ReputationOptions.h:47
Aws::SESV2::Model::ReputationOptions::SetReputationMetricsEnabled
void SetReputationMetricsEnabled(bool value)
Definition: ReputationOptions.h:61
Aws::SESV2::Model::ReputationOptions::GetLastFreshStart
const Aws::Utils::DateTime & GetLastFreshStart() const
Definition: ReputationOptions.h:76
Aws::SESV2::Model::ReputationOptions::ReputationOptions
ReputationOptions()
Aws::SESV2::Model::ReputationOptions
Definition: ReputationOptions.h:34
Aws::SESV2::Model::ReputationOptions::WithReputationMetricsEnabled
ReputationOptions & WithReputationMetricsEnabled(bool value)
Definition: ReputationOptions.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::ReputationOptions::LastFreshStartHasBeenSet
bool LastFreshStartHasBeenSet() const
Definition: ReputationOptions.h:83
SESV2_EXPORTS.h
Aws::SESV2::Model::ReputationOptions::WithLastFreshStart
ReputationOptions & WithLastFreshStart(Aws::Utils::DateTime &&value)
Definition: ReputationOptions.h:111
Aws::SESV2::Model::ReputationOptions::SetLastFreshStart
void SetLastFreshStart(Aws::Utils::DateTime &&value)
Definition: ReputationOptions.h:97
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ReputationOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::ReputationOptions::operator=
ReputationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ReputationOptions::ReputationOptions
ReputationOptions(Aws::Utils::Json::JsonView jsonValue)