AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainIspPlacement.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_SESV2_API DomainIspPlacement();
38 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIspName() const{ return m_ispName; }
46 inline bool IspNameHasBeenSet() const { return m_ispNameHasBeenSet; }
47 inline void SetIspName(const Aws::String& value) { m_ispNameHasBeenSet = true; m_ispName = value; }
48 inline void SetIspName(Aws::String&& value) { m_ispNameHasBeenSet = true; m_ispName = std::move(value); }
49 inline void SetIspName(const char* value) { m_ispNameHasBeenSet = true; m_ispName.assign(value); }
50 inline DomainIspPlacement& WithIspName(const Aws::String& value) { SetIspName(value); return *this;}
51 inline DomainIspPlacement& WithIspName(Aws::String&& value) { SetIspName(std::move(value)); return *this;}
52 inline DomainIspPlacement& WithIspName(const char* value) { SetIspName(value); return *this;}
54
56
60 inline long long GetInboxRawCount() const{ return m_inboxRawCount; }
61 inline bool InboxRawCountHasBeenSet() const { return m_inboxRawCountHasBeenSet; }
62 inline void SetInboxRawCount(long long value) { m_inboxRawCountHasBeenSet = true; m_inboxRawCount = value; }
63 inline DomainIspPlacement& WithInboxRawCount(long long value) { SetInboxRawCount(value); return *this;}
65
67
72 inline long long GetSpamRawCount() const{ return m_spamRawCount; }
73 inline bool SpamRawCountHasBeenSet() const { return m_spamRawCountHasBeenSet; }
74 inline void SetSpamRawCount(long long value) { m_spamRawCountHasBeenSet = true; m_spamRawCount = value; }
75 inline DomainIspPlacement& WithSpamRawCount(long long value) { SetSpamRawCount(value); return *this;}
77
79
83 inline double GetInboxPercentage() const{ return m_inboxPercentage; }
84 inline bool InboxPercentageHasBeenSet() const { return m_inboxPercentageHasBeenSet; }
85 inline void SetInboxPercentage(double value) { m_inboxPercentageHasBeenSet = true; m_inboxPercentage = value; }
86 inline DomainIspPlacement& WithInboxPercentage(double value) { SetInboxPercentage(value); return *this;}
88
90
95 inline double GetSpamPercentage() const{ return m_spamPercentage; }
96 inline bool SpamPercentageHasBeenSet() const { return m_spamPercentageHasBeenSet; }
97 inline void SetSpamPercentage(double value) { m_spamPercentageHasBeenSet = true; m_spamPercentage = value; }
98 inline DomainIspPlacement& WithSpamPercentage(double value) { SetSpamPercentage(value); return *this;}
100 private:
101
102 Aws::String m_ispName;
103 bool m_ispNameHasBeenSet = false;
104
105 long long m_inboxRawCount;
106 bool m_inboxRawCountHasBeenSet = false;
107
108 long long m_spamRawCount;
109 bool m_spamRawCountHasBeenSet = false;
110
111 double m_inboxPercentage;
112 bool m_inboxPercentageHasBeenSet = false;
113
114 double m_spamPercentage;
115 bool m_spamPercentageHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SESV2
120} // namespace Aws
DomainIspPlacement & WithIspName(const char *value)
AWS_SESV2_API DomainIspPlacement(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API DomainIspPlacement & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIspName() const
DomainIspPlacement & WithSpamRawCount(long long value)
DomainIspPlacement & WithInboxPercentage(double value)
DomainIspPlacement & WithInboxRawCount(long long value)
DomainIspPlacement & WithIspName(Aws::String &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
DomainIspPlacement & WithIspName(const Aws::String &value)
void SetIspName(const Aws::String &value)
DomainIspPlacement & WithSpamPercentage(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue