7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pricing-plan-manager/PricingPlanManager_EXPORTS.h>
11#include <aws/pricing-plan-manager/model/ScheduledChange.h>
12#include <aws/pricing-plan-manager/model/Status.h>
23namespace PricingPlanManager {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
65 template <
typename PlanFamilyT = Aws::String>
67 m_planFamilyHasBeenSet =
true;
68 m_planFamily = std::forward<PlanFamilyT>(value);
70 template <
typename PlanFamilyT = Aws::String>
83 template <
typename PlanTierT = Aws::String>
85 m_planTierHasBeenSet =
true;
86 m_planTier = std::forward<PlanTierT>(value);
88 template <
typename PlanTierT = Aws::String>
101 template <
typename UsageLevelT = Aws::String>
103 m_usageLevelHasBeenSet =
true;
104 m_usageLevel = std::forward<UsageLevelT>(value);
106 template <
typename UsageLevelT = Aws::String>
120 template <
typename ScheduledChangeT = ScheduledChange>
122 m_scheduledChangeHasBeenSet =
true;
123 m_scheduledChange = std::forward<ScheduledChangeT>(value);
125 template <
typename ScheduledChangeT = ScheduledChange>
139 m_statusHasBeenSet =
true;
155 template <
typename StatusReasonT = Aws::String>
157 m_statusReasonHasBeenSet =
true;
158 m_statusReason = std::forward<StatusReasonT>(value);
160 template <
typename StatusReasonT = Aws::String>
173 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
175 m_resourceArnsHasBeenSet =
true;
176 m_resourceArns = std::forward<ResourceArnsT>(value);
178 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
183 template <
typename ResourceArnsT = Aws::String>
185 m_resourceArnsHasBeenSet =
true;
186 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
197 template <
typename CreatedAtT = Aws::Utils::DateTime>
199 m_createdAtHasBeenSet =
true;
200 m_createdAt = std::forward<CreatedAtT>(value);
202 template <
typename CreatedAtT = Aws::Utils::DateTime>
216 template <
typename UpdatedAtT = Aws::Utils::DateTime>
218 m_updatedAtHasBeenSet =
true;
219 m_updatedAt = std::forward<UpdatedAtT>(value);
221 template <
typename UpdatedAtT = Aws::Utils::DateTime>
235 template <
typename ETagT = Aws::String>
237 m_eTagHasBeenSet =
true;
238 m_eTag = std::forward<ETagT>(value);
240 template <
typename ETagT = Aws::String>
242 SetETag(std::forward<ETagT>(value));
268 bool m_arnHasBeenSet =
false;
269 bool m_planFamilyHasBeenSet =
false;
270 bool m_planTierHasBeenSet =
false;
271 bool m_usageLevelHasBeenSet =
false;
272 bool m_scheduledChangeHasBeenSet =
false;
273 bool m_statusHasBeenSet =
false;
274 bool m_statusReasonHasBeenSet =
false;
275 bool m_resourceArnsHasBeenSet =
false;
276 bool m_createdAtHasBeenSet =
false;
277 bool m_updatedAtHasBeenSet =
false;
278 bool m_eTagHasBeenSet =
false;
AWS_PRICINGPLANMANAGER_API SubscriptionSummary()=default
SubscriptionSummary & WithUpdatedAt(UpdatedAtT &&value)
SubscriptionSummary & AddResourceArns(ResourceArnsT &&value)
AWS_PRICINGPLANMANAGER_API SubscriptionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetPlanFamily(PlanFamilyT &&value)
bool ScheduledChangeHasBeenSet() const
const Aws::Vector< Aws::String > & GetResourceArns() const
AWS_PRICINGPLANMANAGER_API SubscriptionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ETagHasBeenSet() const
SubscriptionSummary & WithPlanTier(PlanTierT &&value)
const Aws::String & GetPlanTier() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetETag() const
bool StatusHasBeenSet() const
const Aws::String & GetArn() const
void SetUpdatedAt(UpdatedAtT &&value)
SubscriptionSummary & WithCreatedAt(CreatedAtT &&value)
SubscriptionSummary & WithStatusReason(StatusReasonT &&value)
SubscriptionSummary & WithUsageLevel(UsageLevelT &&value)
bool UpdatedAtHasBeenSet() const
SubscriptionSummary & WithResourceArns(ResourceArnsT &&value)
SubscriptionSummary & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetUsageLevel() const
bool ResourceArnsHasBeenSet() const
void SetETag(ETagT &&value)
bool ArnHasBeenSet() const
SubscriptionSummary & WithPlanFamily(PlanFamilyT &&value)
SubscriptionSummary & WithStatus(Status value)
void SetCreatedAt(CreatedAtT &&value)
AWS_PRICINGPLANMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPlanFamily() const
void SetPlanTier(PlanTierT &&value)
bool UsageLevelHasBeenSet() const
SubscriptionSummary & WithETag(ETagT &&value)
bool PlanTierHasBeenSet() const
bool PlanFamilyHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::String & GetStatusReason() const
void SetUsageLevel(UsageLevelT &&value)
SubscriptionSummary & WithScheduledChange(ScheduledChangeT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const ScheduledChange & GetScheduledChange() const
void SetStatusReason(StatusReasonT &&value)
void SetScheduledChange(ScheduledChangeT &&value)
bool StatusReasonHasBeenSet() const
void SetResourceArns(ResourceArnsT &&value)
void SetStatus(Status 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