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>
84 template <
typename PlanTierT = Aws::String>
86 m_planTierHasBeenSet =
true;
87 m_planTier = std::forward<PlanTierT>(value);
89 template <
typename PlanTierT = Aws::String>
103 template <
typename UsageLevelT = Aws::String>
105 m_usageLevelHasBeenSet =
true;
106 m_usageLevel = std::forward<UsageLevelT>(value);
108 template <
typename UsageLevelT = Aws::String>
123 template <
typename ScheduledChangeT = ScheduledChange>
125 m_scheduledChangeHasBeenSet =
true;
126 m_scheduledChange = std::forward<ScheduledChangeT>(value);
128 template <
typename ScheduledChangeT = ScheduledChange>
143 m_statusHasBeenSet =
true;
159 template <
typename StatusReasonT = Aws::String>
161 m_statusReasonHasBeenSet =
true;
162 m_statusReason = std::forward<StatusReasonT>(value);
164 template <
typename StatusReasonT = Aws::String>
177 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
179 m_resourceArnsHasBeenSet =
true;
180 m_resourceArns = std::forward<ResourceArnsT>(value);
182 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
187 template <
typename ResourceArnsT = Aws::String>
189 m_resourceArnsHasBeenSet =
true;
190 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
201 template <
typename CreatedAtT = Aws::Utils::DateTime>
203 m_createdAtHasBeenSet =
true;
204 m_createdAt = std::forward<CreatedAtT>(value);
206 template <
typename CreatedAtT = Aws::Utils::DateTime>
220 template <
typename UpdatedAtT = Aws::Utils::DateTime>
222 m_updatedAtHasBeenSet =
true;
223 m_updatedAt = std::forward<UpdatedAtT>(value);
225 template <
typename UpdatedAtT = Aws::Utils::DateTime>
251 bool m_arnHasBeenSet =
false;
252 bool m_planFamilyHasBeenSet =
false;
253 bool m_planTierHasBeenSet =
false;
254 bool m_usageLevelHasBeenSet =
false;
255 bool m_scheduledChangeHasBeenSet =
false;
256 bool m_statusHasBeenSet =
false;
257 bool m_statusReasonHasBeenSet =
false;
258 bool m_resourceArnsHasBeenSet =
false;
259 bool m_createdAtHasBeenSet =
false;
260 bool m_updatedAtHasBeenSet =
false;
void SetStatus(Status value)
void SetScheduledChange(ScheduledChangeT &&value)
const Aws::String & GetPlanTier() const
bool ArnHasBeenSet() const
Subscription & WithResourceArns(ResourceArnsT &&value)
Subscription & AddResourceArns(ResourceArnsT &&value)
bool StatusReasonHasBeenSet() const
Subscription & WithUpdatedAt(UpdatedAtT &&value)
Subscription & WithStatus(Status value)
bool UsageLevelHasBeenSet() const
bool StatusHasBeenSet() const
void SetStatusReason(StatusReasonT &&value)
void SetResourceArns(ResourceArnsT &&value)
const Aws::Vector< Aws::String > & GetResourceArns() const
void SetUsageLevel(UsageLevelT &&value)
AWS_PRICINGPLANMANAGER_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
Subscription & WithArn(ArnT &&value)
const ScheduledChange & GetScheduledChange() const
void SetUpdatedAt(UpdatedAtT &&value)
Subscription & WithUsageLevel(UsageLevelT &&value)
const Aws::String & GetUsageLevel() const
bool PlanTierHasBeenSet() const
bool ScheduledChangeHasBeenSet() const
const Aws::String & GetStatusReason() const
const Aws::String & GetPlanFamily() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_PRICINGPLANMANAGER_API Subscription()=default
Subscription & WithPlanFamily(PlanFamilyT &&value)
const Aws::String & GetArn() const
AWS_PRICINGPLANMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
Subscription & WithPlanTier(PlanTierT &&value)
Subscription & WithStatusReason(StatusReasonT &&value)
bool ResourceArnsHasBeenSet() const
bool CreatedAtHasBeenSet() const
Subscription & WithScheduledChange(ScheduledChangeT &&value)
bool PlanFamilyHasBeenSet() const
void SetPlanFamily(PlanFamilyT &&value)
AWS_PRICINGPLANMANAGER_API Subscription(Aws::Utils::Json::JsonView jsonValue)
void SetPlanTier(PlanTierT &&value)
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
Subscription & WithCreatedAt(CreatedAtT &&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