AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
GetAccountResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
9#include <aws/pinpoint-email/model/SendQuota.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace PinpointEmail {
23namespace Model {
31 public:
32 AWS_PINPOINTEMAIL_API GetAccountResult() = default;
35
37
41 inline const SendQuota& GetSendQuota() const { return m_sendQuota; }
42 template <typename SendQuotaT = SendQuota>
43 void SetSendQuota(SendQuotaT&& value) {
44 m_sendQuotaHasBeenSet = true;
45 m_sendQuota = std::forward<SendQuotaT>(value);
46 }
47 template <typename SendQuotaT = SendQuota>
48 GetAccountResult& WithSendQuota(SendQuotaT&& value) {
49 SetSendQuota(std::forward<SendQuotaT>(value));
50 return *this;
51 }
53
55
59 inline bool GetSendingEnabled() const { return m_sendingEnabled; }
60 inline void SetSendingEnabled(bool value) {
61 m_sendingEnabledHasBeenSet = true;
62 m_sendingEnabled = value;
63 }
65 SetSendingEnabled(value);
66 return *this;
67 }
69
71
75 inline bool GetDedicatedIpAutoWarmupEnabled() const { return m_dedicatedIpAutoWarmupEnabled; }
76 inline void SetDedicatedIpAutoWarmupEnabled(bool value) {
77 m_dedicatedIpAutoWarmupEnabledHasBeenSet = true;
78 m_dedicatedIpAutoWarmupEnabled = value;
79 }
82 return *this;
83 }
85
87
98 inline const Aws::String& GetEnforcementStatus() const { return m_enforcementStatus; }
99 template <typename EnforcementStatusT = Aws::String>
100 void SetEnforcementStatus(EnforcementStatusT&& value) {
101 m_enforcementStatusHasBeenSet = true;
102 m_enforcementStatus = std::forward<EnforcementStatusT>(value);
103 }
104 template <typename EnforcementStatusT = Aws::String>
105 GetAccountResult& WithEnforcementStatus(EnforcementStatusT&& value) {
106 SetEnforcementStatus(std::forward<EnforcementStatusT>(value));
107 return *this;
108 }
110
112
124 inline bool GetProductionAccessEnabled() const { return m_productionAccessEnabled; }
125 inline void SetProductionAccessEnabled(bool value) {
126 m_productionAccessEnabledHasBeenSet = true;
127 m_productionAccessEnabled = value;
128 }
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
144 GetAccountResult& WithRequestId(RequestIdT&& value) {
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 private:
150 SendQuota m_sendQuota;
151 bool m_sendQuotaHasBeenSet = false;
152
153 bool m_sendingEnabled{false};
154 bool m_sendingEnabledHasBeenSet = false;
155
156 bool m_dedicatedIpAutoWarmupEnabled{false};
157 bool m_dedicatedIpAutoWarmupEnabledHasBeenSet = false;
158
159 Aws::String m_enforcementStatus;
160 bool m_enforcementStatusHasBeenSet = false;
161
162 bool m_productionAccessEnabled{false};
163 bool m_productionAccessEnabledHasBeenSet = false;
164
165 Aws::String m_requestId;
166 bool m_requestIdHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace PinpointEmail
171} // namespace Aws
GetAccountResult & WithEnforcementStatus(EnforcementStatusT &&value)
void SetEnforcementStatus(EnforcementStatusT &&value)
AWS_PINPOINTEMAIL_API GetAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetEnforcementStatus() const
GetAccountResult & WithSendingEnabled(bool value)
GetAccountResult & WithRequestId(RequestIdT &&value)
GetAccountResult & WithDedicatedIpAutoWarmupEnabled(bool value)
GetAccountResult & WithProductionAccessEnabled(bool value)
AWS_PINPOINTEMAIL_API GetAccountResult()=default
GetAccountResult & WithSendQuota(SendQuotaT &&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