AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccountResult.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/model/SendQuota.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace PinpointEmail
25{
26namespace Model
27{
35 {
36 public:
37 AWS_PINPOINTEMAIL_API GetAccountResult();
40
41
43
47 inline const SendQuota& GetSendQuota() const{ return m_sendQuota; }
48 inline void SetSendQuota(const SendQuota& value) { m_sendQuota = value; }
49 inline void SetSendQuota(SendQuota&& value) { m_sendQuota = std::move(value); }
50 inline GetAccountResult& WithSendQuota(const SendQuota& value) { SetSendQuota(value); return *this;}
51 inline GetAccountResult& WithSendQuota(SendQuota&& value) { SetSendQuota(std::move(value)); return *this;}
53
55
59 inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
60 inline void SetSendingEnabled(bool value) { m_sendingEnabled = value; }
61 inline GetAccountResult& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
63
65
69 inline bool GetDedicatedIpAutoWarmupEnabled() const{ return m_dedicatedIpAutoWarmupEnabled; }
70 inline void SetDedicatedIpAutoWarmupEnabled(bool value) { m_dedicatedIpAutoWarmupEnabled = value; }
73
75
86 inline const Aws::String& GetEnforcementStatus() const{ return m_enforcementStatus; }
87 inline void SetEnforcementStatus(const Aws::String& value) { m_enforcementStatus = value; }
88 inline void SetEnforcementStatus(Aws::String&& value) { m_enforcementStatus = std::move(value); }
89 inline void SetEnforcementStatus(const char* value) { m_enforcementStatus.assign(value); }
90 inline GetAccountResult& WithEnforcementStatus(const Aws::String& value) { SetEnforcementStatus(value); return *this;}
91 inline GetAccountResult& WithEnforcementStatus(Aws::String&& value) { SetEnforcementStatus(std::move(value)); return *this;}
92 inline GetAccountResult& WithEnforcementStatus(const char* value) { SetEnforcementStatus(value); return *this;}
94
96
108 inline bool GetProductionAccessEnabled() const{ return m_productionAccessEnabled; }
109 inline void SetProductionAccessEnabled(bool value) { m_productionAccessEnabled = value; }
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
119 inline GetAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline GetAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline GetAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 private:
124
125 SendQuota m_sendQuota;
126
127 bool m_sendingEnabled;
128
129 bool m_dedicatedIpAutoWarmupEnabled;
130
131 Aws::String m_enforcementStatus;
132
133 bool m_productionAccessEnabled;
134
135 Aws::String m_requestId;
136 };
137
138} // namespace Model
139} // namespace PinpointEmail
140} // namespace Aws
GetAccountResult & WithSendQuota(const SendQuota &value)
GetAccountResult & WithRequestId(Aws::String &&value)
void SetEnforcementStatus(const Aws::String &value)
GetAccountResult & WithEnforcementStatus(const Aws::String &value)
AWS_PINPOINTEMAIL_API GetAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetEnforcementStatus() const
GetAccountResult & WithEnforcementStatus(const char *value)
GetAccountResult & WithSendQuota(SendQuota &&value)
GetAccountResult & WithRequestId(const Aws::String &value)
GetAccountResult & WithSendingEnabled(bool value)
GetAccountResult & WithEnforcementStatus(Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetAccountResult & WithDedicatedIpAutoWarmupEnabled(bool value)
GetAccountResult & WithProductionAccessEnabled(bool value)
void SetSendQuota(const SendQuota &value)
GetAccountResult & WithRequestId(const char *value)
AWS_PINPOINTEMAIL_API GetAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue