AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDeliverabilityDashboardOptionsResult.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/pinpoint-email/model/DeliverabilityDashboardAccountStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/pinpoint-email/model/DomainDeliverabilityTrackingOption.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace PinpointEmail
28{
29namespace Model
30{
38 {
39 public:
43
44
46
51 inline bool GetDashboardEnabled() const{ return m_dashboardEnabled; }
52 inline void SetDashboardEnabled(bool value) { m_dashboardEnabled = value; }
55
57
64 inline const Aws::Utils::DateTime& GetSubscriptionExpiryDate() const{ return m_subscriptionExpiryDate; }
65 inline void SetSubscriptionExpiryDate(const Aws::Utils::DateTime& value) { m_subscriptionExpiryDate = value; }
66 inline void SetSubscriptionExpiryDate(Aws::Utils::DateTime&& value) { m_subscriptionExpiryDate = std::move(value); }
70
72
77 inline const DeliverabilityDashboardAccountStatus& GetAccountStatus() const{ return m_accountStatus; }
78 inline void SetAccountStatus(const DeliverabilityDashboardAccountStatus& value) { m_accountStatus = value; }
79 inline void SetAccountStatus(DeliverabilityDashboardAccountStatus&& value) { m_accountStatus = std::move(value); }
83
85
90 inline const Aws::Vector<DomainDeliverabilityTrackingOption>& GetActiveSubscribedDomains() const{ return m_activeSubscribedDomains; }
91 inline void SetActiveSubscribedDomains(const Aws::Vector<DomainDeliverabilityTrackingOption>& value) { m_activeSubscribedDomains = value; }
92 inline void SetActiveSubscribedDomains(Aws::Vector<DomainDeliverabilityTrackingOption>&& value) { m_activeSubscribedDomains = std::move(value); }
95 inline GetDeliverabilityDashboardOptionsResult& AddActiveSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_activeSubscribedDomains.push_back(value); return *this; }
96 inline GetDeliverabilityDashboardOptionsResult& AddActiveSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_activeSubscribedDomains.push_back(std::move(value)); return *this; }
98
100
105 inline const Aws::Vector<DomainDeliverabilityTrackingOption>& GetPendingExpirationSubscribedDomains() const{ return m_pendingExpirationSubscribedDomains; }
106 inline void SetPendingExpirationSubscribedDomains(const Aws::Vector<DomainDeliverabilityTrackingOption>& value) { m_pendingExpirationSubscribedDomains = value; }
107 inline void SetPendingExpirationSubscribedDomains(Aws::Vector<DomainDeliverabilityTrackingOption>&& value) { m_pendingExpirationSubscribedDomains = std::move(value); }
110 inline GetDeliverabilityDashboardOptionsResult& AddPendingExpirationSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_pendingExpirationSubscribedDomains.push_back(value); return *this; }
111 inline GetDeliverabilityDashboardOptionsResult& AddPendingExpirationSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_pendingExpirationSubscribedDomains.push_back(std::move(value)); return *this; }
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
121 inline GetDeliverabilityDashboardOptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline GetDeliverabilityDashboardOptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 bool m_dashboardEnabled;
127
128 Aws::Utils::DateTime m_subscriptionExpiryDate;
129
131
132 Aws::Vector<DomainDeliverabilityTrackingOption> m_activeSubscribedDomains;
133
134 Aws::Vector<DomainDeliverabilityTrackingOption> m_pendingExpirationSubscribedDomains;
135
136 Aws::String m_requestId;
137 };
138
139} // namespace Model
140} // namespace PinpointEmail
141} // namespace Aws
AWS_PINPOINTEMAIL_API GetDeliverabilityDashboardOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeliverabilityDashboardOptionsResult & AddActiveSubscribedDomains(const DomainDeliverabilityTrackingOption &value)
GetDeliverabilityDashboardOptionsResult & WithRequestId(const Aws::String &value)
void SetPendingExpirationSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
GetDeliverabilityDashboardOptionsResult & WithPendingExpirationSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
GetDeliverabilityDashboardOptionsResult & WithSubscriptionExpiryDate(Aws::Utils::DateTime &&value)
GetDeliverabilityDashboardOptionsResult & WithAccountStatus(DeliverabilityDashboardAccountStatus &&value)
const Aws::Vector< DomainDeliverabilityTrackingOption > & GetPendingExpirationSubscribedDomains() const
void SetPendingExpirationSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
GetDeliverabilityDashboardOptionsResult & AddActiveSubscribedDomains(DomainDeliverabilityTrackingOption &&value)
GetDeliverabilityDashboardOptionsResult & WithSubscriptionExpiryDate(const Aws::Utils::DateTime &value)
void SetActiveSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
GetDeliverabilityDashboardOptionsResult & WithActiveSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
GetDeliverabilityDashboardOptionsResult & WithAccountStatus(const DeliverabilityDashboardAccountStatus &value)
AWS_PINPOINTEMAIL_API GetDeliverabilityDashboardOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeliverabilityDashboardOptionsResult & AddPendingExpirationSubscribedDomains(const DomainDeliverabilityTrackingOption &value)
const Aws::Vector< DomainDeliverabilityTrackingOption > & GetActiveSubscribedDomains() const
GetDeliverabilityDashboardOptionsResult & WithRequestId(const char *value)
GetDeliverabilityDashboardOptionsResult & WithActiveSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
void SetActiveSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
GetDeliverabilityDashboardOptionsResult & WithPendingExpirationSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
GetDeliverabilityDashboardOptionsResult & WithRequestId(Aws::String &&value)
GetDeliverabilityDashboardOptionsResult & AddPendingExpirationSubscribedDomains(DomainDeliverabilityTrackingOption &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue