7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/BillingViewHealthStatus.h>
9#include <aws/billing/model/BillingViewType.h>
10#include <aws/billing/model/Expression.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
100 m_billingViewTypeHasBeenSet =
true;
101 m_billingViewType = value;
115 template <
typename OwnerAccountIdT = Aws::String>
117 m_ownerAccountIdHasBeenSet =
true;
118 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
120 template <
typename OwnerAccountIdT = Aws::String>
134 template <
typename SourceAccountIdT = Aws::String>
136 m_sourceAccountIdHasBeenSet =
true;
137 m_sourceAccountId = std::forward<SourceAccountIdT>(value);
139 template <
typename SourceAccountIdT = Aws::String>
155 template <
typename DataFilterExpressionT = Expression>
157 m_dataFilterExpressionHasBeenSet =
true;
158 m_dataFilterExpression = std::forward<DataFilterExpressionT>(value);
160 template <
typename DataFilterExpressionT = Expression>
173 template <
typename CreatedAtT = Aws::Utils::DateTime>
175 m_createdAtHasBeenSet =
true;
176 m_createdAt = std::forward<CreatedAtT>(value);
178 template <
typename CreatedAtT = Aws::Utils::DateTime>
191 template <
typename UpdatedAtT = Aws::Utils::DateTime>
193 m_updatedAtHasBeenSet =
true;
194 m_updatedAt = std::forward<UpdatedAtT>(value);
196 template <
typename UpdatedAtT = Aws::Utils::DateTime>
210 m_derivedViewCountHasBeenSet =
true;
211 m_derivedViewCount = value;
226 m_sourceViewCountHasBeenSet =
true;
227 m_sourceViewCount = value;
241 template <
typename ViewDefinitionLastUpdatedAtT = Aws::Utils::DateTime>
243 m_viewDefinitionLastUpdatedAtHasBeenSet =
true;
244 m_viewDefinitionLastUpdatedAt = std::forward<ViewDefinitionLastUpdatedAtT>(value);
246 template <
typename ViewDefinitionLastUpdatedAtT = Aws::Utils::DateTime>
259 template <
typename HealthStatusT = BillingViewHealthStatus>
261 m_healthStatusHasBeenSet =
true;
262 m_healthStatus = std::forward<HealthStatusT>(value);
264 template <
typename HealthStatusT = BillingViewHealthStatus>
283 Expression m_dataFilterExpression;
289 int m_derivedViewCount{0};
291 int m_sourceViewCount{0};
295 BillingViewHealthStatus m_healthStatus;
296 bool m_arnHasBeenSet =
false;
297 bool m_nameHasBeenSet =
false;
298 bool m_descriptionHasBeenSet =
false;
299 bool m_billingViewTypeHasBeenSet =
false;
300 bool m_ownerAccountIdHasBeenSet =
false;
301 bool m_sourceAccountIdHasBeenSet =
false;
302 bool m_dataFilterExpressionHasBeenSet =
false;
303 bool m_createdAtHasBeenSet =
false;
304 bool m_updatedAtHasBeenSet =
false;
305 bool m_derivedViewCountHasBeenSet =
false;
306 bool m_sourceViewCountHasBeenSet =
false;
307 bool m_viewDefinitionLastUpdatedAtHasBeenSet =
false;
308 bool m_healthStatusHasBeenSet =
false;
void SetOwnerAccountId(OwnerAccountIdT &&value)
AWS_BILLING_API BillingViewElement()=default
bool SourceViewCountHasBeenSet() const
bool ViewDefinitionLastUpdatedAtHasBeenSet() const
const Aws::String & GetSourceAccountId() const
BillingViewElement & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetViewDefinitionLastUpdatedAt() const
BillingViewElement & WithUpdatedAt(UpdatedAtT &&value)
void SetArn(ArnT &&value)
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
bool SourceAccountIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BILLING_API BillingViewElement(Aws::Utils::Json::JsonView jsonValue)
const Expression & GetDataFilterExpression() const
const Aws::String & GetOwnerAccountId() const
AWS_BILLING_API BillingViewElement & operator=(Aws::Utils::Json::JsonView jsonValue)
BillingViewElement & WithOwnerAccountId(OwnerAccountIdT &&value)
BillingViewElement & WithArn(ArnT &&value)
void SetHealthStatus(HealthStatusT &&value)
bool BillingViewTypeHasBeenSet() const
bool UpdatedAtHasBeenSet() const
int GetSourceViewCount() const
bool OwnerAccountIdHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
int GetDerivedViewCount() const
const BillingViewHealthStatus & GetHealthStatus() const
BillingViewElement & WithBillingViewType(BillingViewType value)
BillingViewElement & WithDataFilterExpression(DataFilterExpressionT &&value)
void SetName(NameT &&value)
void SetDataFilterExpression(DataFilterExpressionT &&value)
BillingViewElement & WithHealthStatus(HealthStatusT &&value)
BillingViewElement & WithViewDefinitionLastUpdatedAt(ViewDefinitionLastUpdatedAtT &&value)
BillingViewType GetBillingViewType() const
void SetSourceAccountId(SourceAccountIdT &&value)
bool HealthStatusHasBeenSet() const
bool DataFilterExpressionHasBeenSet() const
BillingViewElement & WithDerivedViewCount(int value)
void SetDescription(DescriptionT &&value)
BillingViewElement & WithName(NameT &&value)
void SetSourceViewCount(int value)
void SetViewDefinitionLastUpdatedAt(ViewDefinitionLastUpdatedAtT &&value)
bool ArnHasBeenSet() const
BillingViewElement & WithSourceAccountId(SourceAccountIdT &&value)
BillingViewElement & WithSourceViewCount(int value)
void SetDerivedViewCount(int value)
BillingViewElement & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetName() const
const Aws::String & GetArn() const
void SetBillingViewType(BillingViewType value)
bool DerivedViewCountHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue