7#include <aws/connecthealth/ConnectHealth_EXPORTS.h>
8#include <aws/connecthealth/model/SubscriptionStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ConnectHealth {
42 template <
typename DomainIdT = Aws::String>
44 m_domainIdHasBeenSet =
true;
45 m_domainId = std::forward<DomainIdT>(value);
47 template <
typename DomainIdT = Aws::String>
60 template <
typename SubscriptionIdT = Aws::String>
62 m_subscriptionIdHasBeenSet =
true;
63 m_subscriptionId = std::forward<SubscriptionIdT>(value);
65 template <
typename SubscriptionIdT = Aws::String>
78 template <
typename ArnT = Aws::String>
80 m_arnHasBeenSet =
true;
81 m_arn = std::forward<ArnT>(value);
83 template <
typename ArnT = Aws::String>
85 SetArn(std::forward<ArnT>(value));
97 m_statusHasBeenSet =
true;
112 template <
typename CreatedAtT = Aws::Utils::DateTime>
114 m_createdAtHasBeenSet =
true;
115 m_createdAt = std::forward<CreatedAtT>(value);
117 template <
typename CreatedAtT = Aws::Utils::DateTime>
130 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
132 m_lastUpdatedAtHasBeenSet =
true;
133 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
135 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
148 template <
typename ActivatedAtT = Aws::Utils::DateTime>
150 m_activatedAtHasBeenSet =
true;
151 m_activatedAt = std::forward<ActivatedAtT>(value);
153 template <
typename ActivatedAtT = Aws::Utils::DateTime>
166 template <
typename DeactivatedAtT = Aws::Utils::DateTime>
168 m_deactivatedAtHasBeenSet =
true;
169 m_deactivatedAt = std::forward<DeactivatedAtT>(value);
171 template <
typename DeactivatedAtT = Aws::Utils::DateTime>
193 bool m_domainIdHasBeenSet =
false;
194 bool m_subscriptionIdHasBeenSet =
false;
195 bool m_arnHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
197 bool m_createdAtHasBeenSet =
false;
198 bool m_lastUpdatedAtHasBeenSet =
false;
199 bool m_activatedAtHasBeenSet =
false;
200 bool m_deactivatedAtHasBeenSet =
false;
void SetStatus(SubscriptionStatus value)
SubscriptionStatus GetStatus() const
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
void SetDeactivatedAt(DeactivatedAtT &&value)
bool CreatedAtHasBeenSet() const
AWS_CONNECTHEALTH_API SubscriptionDescription(Aws::Utils::Json::JsonView jsonValue)
SubscriptionDescription & WithStatus(SubscriptionStatus value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::Utils::DateTime & GetDeactivatedAt() const
SubscriptionDescription & WithArn(ArnT &&value)
AWS_CONNECTHEALTH_API SubscriptionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscriptionDescription & WithActivatedAt(ActivatedAtT &&value)
const Aws::String & GetDomainId() const
SubscriptionDescription & WithDeactivatedAt(DeactivatedAtT &&value)
bool ArnHasBeenSet() const
bool SubscriptionIdHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SubscriptionDescription & WithDomainId(DomainIdT &&value)
SubscriptionDescription & WithCreatedAt(CreatedAtT &&value)
void SetSubscriptionId(SubscriptionIdT &&value)
bool DeactivatedAtHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
SubscriptionDescription & WithSubscriptionId(SubscriptionIdT &&value)
bool DomainIdHasBeenSet() const
void SetDomainId(DomainIdT &&value)
bool StatusHasBeenSet() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetActivatedAt() const
void SetActivatedAt(ActivatedAtT &&value)
const Aws::String & GetSubscriptionId() const
SubscriptionDescription & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTHEALTH_API SubscriptionDescription()=default
bool ActivatedAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue