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/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SESV2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SESV2_API ReputationOptions();
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline bool GetReputationMetricsEnabled() const{ return m_reputationMetricsEnabled; }
49 inline bool ReputationMetricsEnabledHasBeenSet() const { return m_reputationMetricsEnabledHasBeenSet; }
50 inline void SetReputationMetricsEnabled(bool value) { m_reputationMetricsEnabledHasBeenSet = true; m_reputationMetricsEnabled = value; }
53
55
60 inline const Aws::Utils::DateTime& GetLastFreshStart() const{ return m_lastFreshStart; }
61 inline bool LastFreshStartHasBeenSet() const { return m_lastFreshStartHasBeenSet; }
62 inline void SetLastFreshStart(const Aws::Utils::DateTime& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = value; }
63 inline void SetLastFreshStart(Aws::Utils::DateTime&& value) { m_lastFreshStartHasBeenSet = true; m_lastFreshStart = std::move(value); }
64 inline ReputationOptions& WithLastFreshStart(const Aws::Utils::DateTime& value) { SetLastFreshStart(value); return *this;}
65 inline ReputationOptions& WithLastFreshStart(Aws::Utils::DateTime&& value) { SetLastFreshStart(std::move(value)); return *this;}
67 private:
68
69 bool m_reputationMetricsEnabled;
70 bool m_reputationMetricsEnabledHasBeenSet = false;
71
72 Aws::Utils::DateTime m_lastFreshStart;
73 bool m_lastFreshStartHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SESV2
78} // namespace Aws
AWS_SESV2_API ReputationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastFreshStart(const Aws::Utils::DateTime &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
ReputationOptions & WithLastFreshStart(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastFreshStart() const
void SetLastFreshStart(Aws::Utils::DateTime &&value)
ReputationOptions & WithLastFreshStart(Aws::Utils::DateTime &&value)
ReputationOptions & WithReputationMetricsEnabled(bool value)
AWS_SESV2_API ReputationOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue