AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetAccountResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
10#include <aws/pinpoint-email/model/SendQuota.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace PinpointEmail {
24namespace Model {
32 public:
33 AWS_PINPOINTEMAIL_API GetAccountResult() = default;
36
38
42 inline const SendQuota& GetSendQuota() const { return m_sendQuota; }
43 template <typename SendQuotaT = SendQuota>
44 void SetSendQuota(SendQuotaT&& value) {
45 m_sendQuotaHasBeenSet = true;
46 m_sendQuota = std::forward<SendQuotaT>(value);
47 }
48 template <typename SendQuotaT = SendQuota>
49 GetAccountResult& WithSendQuota(SendQuotaT&& value) {
50 SetSendQuota(std::forward<SendQuotaT>(value));
51 return *this;
52 }
54
56
60 inline bool GetSendingEnabled() const { return m_sendingEnabled; }
61 inline void SetSendingEnabled(bool value) {
62 m_sendingEnabledHasBeenSet = true;
63 m_sendingEnabled = value;
64 }
66 SetSendingEnabled(value);
67 return *this;
68 }
70
72
76 inline bool GetDedicatedIpAutoWarmupEnabled() const { return m_dedicatedIpAutoWarmupEnabled; }
77 inline void SetDedicatedIpAutoWarmupEnabled(bool value) {
78 m_dedicatedIpAutoWarmupEnabledHasBeenSet = true;
79 m_dedicatedIpAutoWarmupEnabled = value;
80 }
83 return *this;
84 }
86
88
99 inline const Aws::String& GetEnforcementStatus() const { return m_enforcementStatus; }
100 template <typename EnforcementStatusT = Aws::String>
101 void SetEnforcementStatus(EnforcementStatusT&& value) {
102 m_enforcementStatusHasBeenSet = true;
103 m_enforcementStatus = std::forward<EnforcementStatusT>(value);
104 }
105 template <typename EnforcementStatusT = Aws::String>
106 GetAccountResult& WithEnforcementStatus(EnforcementStatusT&& value) {
107 SetEnforcementStatus(std::forward<EnforcementStatusT>(value));
108 return *this;
109 }
111
113
125 inline bool GetProductionAccessEnabled() const { return m_productionAccessEnabled; }
126 inline void SetProductionAccessEnabled(bool value) {
127 m_productionAccessEnabledHasBeenSet = true;
128 m_productionAccessEnabled = value;
129 }
132 return *this;
133 }
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template <typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) {
141 m_requestIdHasBeenSet = true;
142 m_requestId = std::forward<RequestIdT>(value);
143 }
144 template <typename RequestIdT = Aws::String>
145 GetAccountResult& WithRequestId(RequestIdT&& value) {
146 SetRequestId(std::forward<RequestIdT>(value));
147 return *this;
148 }
150 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
151
152 private:
153 SendQuota m_sendQuota;
154
155 bool m_sendingEnabled{false};
156
157 bool m_dedicatedIpAutoWarmupEnabled{false};
158
159 Aws::String m_enforcementStatus;
160
161 bool m_productionAccessEnabled{false};
162
163 Aws::String m_requestId;
164 Aws::Http::HttpResponseCode m_HttpResponseCode;
165 bool m_sendQuotaHasBeenSet = false;
166 bool m_sendingEnabledHasBeenSet = false;
167 bool m_dedicatedIpAutoWarmupEnabledHasBeenSet = false;
168 bool m_enforcementStatusHasBeenSet = false;
169 bool m_productionAccessEnabledHasBeenSet = false;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace PinpointEmail
175} // namespace Aws
GetAccountResult & WithEnforcementStatus(EnforcementStatusT &&value)
void SetEnforcementStatus(EnforcementStatusT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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