AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ReputationOptions.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PinpointEmail {
20namespace Model {
21
30 public:
31 AWS_PINPOINTEMAIL_API ReputationOptions() = default;
32 AWS_PINPOINTEMAIL_API ReputationOptions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PINPOINTEMAIL_API ReputationOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline bool GetReputationMetricsEnabled() const { return m_reputationMetricsEnabled; }
43 inline bool ReputationMetricsEnabledHasBeenSet() const { return m_reputationMetricsEnabledHasBeenSet; }
44 inline void SetReputationMetricsEnabled(bool value) {
45 m_reputationMetricsEnabledHasBeenSet = true;
46 m_reputationMetricsEnabled = value;
47 }
50 return *this;
51 }
53
55
60 inline const Aws::Utils::DateTime& GetLastFreshStart() const { return m_lastFreshStart; }
61 inline bool LastFreshStartHasBeenSet() const { return m_lastFreshStartHasBeenSet; }
62 template <typename LastFreshStartT = Aws::Utils::DateTime>
63 void SetLastFreshStart(LastFreshStartT&& value) {
64 m_lastFreshStartHasBeenSet = true;
65 m_lastFreshStart = std::forward<LastFreshStartT>(value);
66 }
67 template <typename LastFreshStartT = Aws::Utils::DateTime>
68 ReputationOptions& WithLastFreshStart(LastFreshStartT&& value) {
69 SetLastFreshStart(std::forward<LastFreshStartT>(value));
70 return *this;
71 }
73 private:
74 bool m_reputationMetricsEnabled{false};
75 bool m_reputationMetricsEnabledHasBeenSet = false;
76
77 Aws::Utils::DateTime m_lastFreshStart{};
78 bool m_lastFreshStartHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace PinpointEmail
83} // namespace Aws
void SetLastFreshStart(LastFreshStartT &&value)
AWS_PINPOINTEMAIL_API ReputationOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINTEMAIL_API ReputationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
ReputationOptions & WithReputationMetricsEnabled(bool value)
const Aws::Utils::DateTime & GetLastFreshStart() const
AWS_PINPOINTEMAIL_API ReputationOptions()=default
ReputationOptions & WithLastFreshStart(LastFreshStartT &&value)
Aws::Utils::Json::JsonValue JsonValue