AWS SDK for C++  1.9.158
AWS SDK for C++
DomainIspPlacement.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetIspName() const{ return m_ispName; }
45 
49  inline bool IspNameHasBeenSet() const { return m_ispNameHasBeenSet; }
50 
54  inline void SetIspName(const Aws::String& value) { m_ispNameHasBeenSet = true; m_ispName = value; }
55 
59  inline void SetIspName(Aws::String&& value) { m_ispNameHasBeenSet = true; m_ispName = std::move(value); }
60 
64  inline void SetIspName(const char* value) { m_ispNameHasBeenSet = true; m_ispName.assign(value); }
65 
69  inline DomainIspPlacement& WithIspName(const Aws::String& value) { SetIspName(value); return *this;}
70 
74  inline DomainIspPlacement& WithIspName(Aws::String&& value) { SetIspName(std::move(value)); return *this;}
75 
79  inline DomainIspPlacement& WithIspName(const char* value) { SetIspName(value); return *this;}
80 
81 
86  inline long long GetInboxRawCount() const{ return m_inboxRawCount; }
87 
92  inline bool InboxRawCountHasBeenSet() const { return m_inboxRawCountHasBeenSet; }
93 
98  inline void SetInboxRawCount(long long value) { m_inboxRawCountHasBeenSet = true; m_inboxRawCount = value; }
99 
104  inline DomainIspPlacement& WithInboxRawCount(long long value) { SetInboxRawCount(value); return *this;}
105 
106 
112  inline long long GetSpamRawCount() const{ return m_spamRawCount; }
113 
119  inline bool SpamRawCountHasBeenSet() const { return m_spamRawCountHasBeenSet; }
120 
126  inline void SetSpamRawCount(long long value) { m_spamRawCountHasBeenSet = true; m_spamRawCount = value; }
127 
133  inline DomainIspPlacement& WithSpamRawCount(long long value) { SetSpamRawCount(value); return *this;}
134 
135 
140  inline double GetInboxPercentage() const{ return m_inboxPercentage; }
141 
146  inline bool InboxPercentageHasBeenSet() const { return m_inboxPercentageHasBeenSet; }
147 
152  inline void SetInboxPercentage(double value) { m_inboxPercentageHasBeenSet = true; m_inboxPercentage = value; }
153 
158  inline DomainIspPlacement& WithInboxPercentage(double value) { SetInboxPercentage(value); return *this;}
159 
160 
166  inline double GetSpamPercentage() const{ return m_spamPercentage; }
167 
173  inline bool SpamPercentageHasBeenSet() const { return m_spamPercentageHasBeenSet; }
174 
180  inline void SetSpamPercentage(double value) { m_spamPercentageHasBeenSet = true; m_spamPercentage = value; }
181 
187  inline DomainIspPlacement& WithSpamPercentage(double value) { SetSpamPercentage(value); return *this;}
188 
189  private:
190 
191  Aws::String m_ispName;
192  bool m_ispNameHasBeenSet;
193 
194  long long m_inboxRawCount;
195  bool m_inboxRawCountHasBeenSet;
196 
197  long long m_spamRawCount;
198  bool m_spamRawCountHasBeenSet;
199 
200  double m_inboxPercentage;
201  bool m_inboxPercentageHasBeenSet;
202 
203  double m_spamPercentage;
204  bool m_spamPercentageHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace SESV2
209 } // namespace Aws
Aws::SESV2::Model::DomainIspPlacement::GetInboxRawCount
long long GetInboxRawCount() const
Definition: DomainIspPlacement.h:86
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DomainIspPlacement::SetSpamPercentage
void SetSpamPercentage(double value)
Definition: DomainIspPlacement.h:180
Aws::SESV2::Model::DomainIspPlacement::GetIspName
const Aws::String & GetIspName() const
Definition: DomainIspPlacement.h:44
Aws::SESV2::Model::DomainIspPlacement::GetSpamRawCount
long long GetSpamRawCount() const
Definition: DomainIspPlacement.h:112
Aws::SESV2::Model::DomainIspPlacement::InboxRawCountHasBeenSet
bool InboxRawCountHasBeenSet() const
Definition: DomainIspPlacement.h:92
Aws::SESV2::Model::DomainIspPlacement::SpamRawCountHasBeenSet
bool SpamRawCountHasBeenSet() const
Definition: DomainIspPlacement.h:119
Aws::SESV2::Model::DomainIspPlacement::WithSpamPercentage
DomainIspPlacement & WithSpamPercentage(double value)
Definition: DomainIspPlacement.h:187
Aws::SESV2::Model::DomainIspPlacement::SetIspName
void SetIspName(Aws::String &&value)
Definition: DomainIspPlacement.h:59
Aws::SESV2::Model::DomainIspPlacement::SetIspName
void SetIspName(const Aws::String &value)
Definition: DomainIspPlacement.h:54
Aws::SESV2::Model::DomainIspPlacement::SetSpamRawCount
void SetSpamRawCount(long long value)
Definition: DomainIspPlacement.h:126
Aws::SESV2::Model::DomainIspPlacement::SetInboxPercentage
void SetInboxPercentage(double value)
Definition: DomainIspPlacement.h:152
Aws::SESV2::Model::DomainIspPlacement::WithIspName
DomainIspPlacement & WithIspName(Aws::String &&value)
Definition: DomainIspPlacement.h:74
Aws::SESV2::Model::DomainIspPlacement::operator=
DomainIspPlacement & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::DomainIspPlacement::WithIspName
DomainIspPlacement & WithIspName(const Aws::String &value)
Definition: DomainIspPlacement.h:69
Aws::SESV2::Model::DomainIspPlacement::SetInboxRawCount
void SetInboxRawCount(long long value)
Definition: DomainIspPlacement.h:98
Aws::SESV2::Model::DomainIspPlacement::WithInboxPercentage
DomainIspPlacement & WithInboxPercentage(double value)
Definition: DomainIspPlacement.h:158
Aws::SESV2::Model::DomainIspPlacement::GetInboxPercentage
double GetInboxPercentage() const
Definition: DomainIspPlacement.h:140
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::DomainIspPlacement::SpamPercentageHasBeenSet
bool SpamPercentageHasBeenSet() const
Definition: DomainIspPlacement.h:173
SESV2_EXPORTS.h
Aws::SESV2::Model::DomainIspPlacement::IspNameHasBeenSet
bool IspNameHasBeenSet() const
Definition: DomainIspPlacement.h:49
Aws::SESV2::Model::DomainIspPlacement::GetSpamPercentage
double GetSpamPercentage() const
Definition: DomainIspPlacement.h:166
Aws::SESV2::Model::DomainIspPlacement::DomainIspPlacement
DomainIspPlacement(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::DomainIspPlacement::DomainIspPlacement
DomainIspPlacement()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::DomainIspPlacement
Definition: DomainIspPlacement.h:33
Aws::SESV2::Model::DomainIspPlacement::SetIspName
void SetIspName(const char *value)
Definition: DomainIspPlacement.h:64
Aws::SESV2::Model::DomainIspPlacement::WithInboxRawCount
DomainIspPlacement & WithInboxRawCount(long long value)
Definition: DomainIspPlacement.h:104
Aws::SESV2::Model::DomainIspPlacement::InboxPercentageHasBeenSet
bool InboxPercentageHasBeenSet() const
Definition: DomainIspPlacement.h:146
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::DomainIspPlacement::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::DomainIspPlacement::WithSpamRawCount
DomainIspPlacement & WithSpamRawCount(long long value)
Definition: DomainIspPlacement.h:133
Aws::SESV2::Model::DomainIspPlacement::WithIspName
DomainIspPlacement & WithIspName(const char *value)
Definition: DomainIspPlacement.h:79