AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
47 inline const SendQuota& GetSendQuota() const { return m_sendQuota; }
48 template<typename SendQuotaT = SendQuota>
49 void SetSendQuota(SendQuotaT&& value) { m_sendQuotaHasBeenSet = true; m_sendQuota = std::forward<SendQuotaT>(value); }
50 template<typename SendQuotaT = SendQuota>
51 GetAccountResult& WithSendQuota(SendQuotaT&& value) { SetSendQuota(std::forward<SendQuotaT>(value)); return *this;}
53
55
59 inline bool GetSendingEnabled() const { return m_sendingEnabled; }
60 inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; 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_dedicatedIpAutoWarmupEnabledHasBeenSet = true; m_dedicatedIpAutoWarmupEnabled = value; }
73
75
86 inline const Aws::String& GetEnforcementStatus() const { return m_enforcementStatus; }
87 template<typename EnforcementStatusT = Aws::String>
88 void SetEnforcementStatus(EnforcementStatusT&& value) { m_enforcementStatusHasBeenSet = true; m_enforcementStatus = std::forward<EnforcementStatusT>(value); }
89 template<typename EnforcementStatusT = Aws::String>
90 GetAccountResult& WithEnforcementStatus(EnforcementStatusT&& value) { SetEnforcementStatus(std::forward<EnforcementStatusT>(value)); return *this;}
92
94
106 inline bool GetProductionAccessEnabled() const { return m_productionAccessEnabled; }
107 inline void SetProductionAccessEnabled(bool value) { m_productionAccessEnabledHasBeenSet = true; m_productionAccessEnabled = value; }
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template<typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
116 template<typename RequestIdT = Aws::String>
117 GetAccountResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
119 private:
120
121 SendQuota m_sendQuota;
122 bool m_sendQuotaHasBeenSet = false;
123
124 bool m_sendingEnabled{false};
125 bool m_sendingEnabledHasBeenSet = false;
126
127 bool m_dedicatedIpAutoWarmupEnabled{false};
128 bool m_dedicatedIpAutoWarmupEnabledHasBeenSet = false;
129
130 Aws::String m_enforcementStatus;
131 bool m_enforcementStatusHasBeenSet = false;
132
133 bool m_productionAccessEnabled{false};
134 bool m_productionAccessEnabledHasBeenSet = false;
135
136 Aws::String m_requestId;
137 bool m_requestIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace PinpointEmail
142} // 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