AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BillingViewElement.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/billing/model/BillingViewType.h>
10#include <aws/billing/model/Expression.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Billing
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BILLING_API BillingViewElement() = default;
40 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 BillingViewElement& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 BillingViewElement& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 BillingViewElement& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
84 inline BillingViewType GetBillingViewType() const { return m_billingViewType; }
85 inline bool BillingViewTypeHasBeenSet() const { return m_billingViewTypeHasBeenSet; }
86 inline void SetBillingViewType(BillingViewType value) { m_billingViewTypeHasBeenSet = true; m_billingViewType = value; }
89
91
94 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
95 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
96 template<typename OwnerAccountIdT = Aws::String>
97 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
98 template<typename OwnerAccountIdT = Aws::String>
99 BillingViewElement& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
101
103
109 inline const Expression& GetDataFilterExpression() const { return m_dataFilterExpression; }
110 inline bool DataFilterExpressionHasBeenSet() const { return m_dataFilterExpressionHasBeenSet; }
111 template<typename DataFilterExpressionT = Expression>
112 void SetDataFilterExpression(DataFilterExpressionT&& value) { m_dataFilterExpressionHasBeenSet = true; m_dataFilterExpression = std::forward<DataFilterExpressionT>(value); }
113 template<typename DataFilterExpressionT = Expression>
114 BillingViewElement& WithDataFilterExpression(DataFilterExpressionT&& value) { SetDataFilterExpression(std::forward<DataFilterExpressionT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
122 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
123 template<typename CreatedAtT = Aws::Utils::DateTime>
124 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
125 template<typename CreatedAtT = Aws::Utils::DateTime>
126 BillingViewElement& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
134 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
135 template<typename UpdatedAtT = Aws::Utils::DateTime>
136 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
137 template<typename UpdatedAtT = Aws::Utils::DateTime>
138 BillingViewElement& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
140 private:
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 BillingViewType m_billingViewType{BillingViewType::NOT_SET};
152 bool m_billingViewTypeHasBeenSet = false;
153
154 Aws::String m_ownerAccountId;
155 bool m_ownerAccountIdHasBeenSet = false;
156
157 Expression m_dataFilterExpression;
158 bool m_dataFilterExpressionHasBeenSet = false;
159
160 Aws::Utils::DateTime m_createdAt{};
161 bool m_createdAtHasBeenSet = false;
162
163 Aws::Utils::DateTime m_updatedAt{};
164 bool m_updatedAtHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Billing
169} // namespace Aws
void SetOwnerAccountId(OwnerAccountIdT &&value)
AWS_BILLING_API BillingViewElement()=default
BillingViewElement & WithDescription(DescriptionT &&value)
BillingViewElement & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetDescription() const
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)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
BillingViewElement & WithBillingViewType(BillingViewType value)
BillingViewElement & WithDataFilterExpression(DataFilterExpressionT &&value)
void SetDataFilterExpression(DataFilterExpressionT &&value)
void SetDescription(DescriptionT &&value)
BillingViewElement & WithName(NameT &&value)
BillingViewElement & WithCreatedAt(CreatedAtT &&value)
void SetBillingViewType(BillingViewType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue