AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BudgetSummary.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/UsageTrackingResource.h>
10#include <aws/deadline/model/BudgetStatus.h>
11#include <aws/deadline/model/ConsumedUsages.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace deadline
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_DEADLINE_API BudgetSummary();
39 AWS_DEADLINE_API BudgetSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetBudgetId() const{ return m_budgetId; }
49 inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; }
50 inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; }
51 inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); }
52 inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); }
53 inline BudgetSummary& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;}
54 inline BudgetSummary& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;}
55 inline BudgetSummary& WithBudgetId(const char* value) { SetBudgetId(value); return *this;}
57
59
62 inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; }
63 inline bool UsageTrackingResourceHasBeenSet() const { return m_usageTrackingResourceHasBeenSet; }
64 inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = value; }
65 inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = std::move(value); }
69
71
77 inline const BudgetStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline BudgetSummary& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;}
82 inline BudgetSummary& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
92 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
93 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
94 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
95 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
96 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
97 inline BudgetSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
98 inline BudgetSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
99 inline BudgetSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
101
103
106 inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; }
107 inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; }
108 inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; }
109 inline BudgetSummary& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;}
111
113
116 inline const ConsumedUsages& GetUsages() const{ return m_usages; }
117 inline bool UsagesHasBeenSet() const { return m_usagesHasBeenSet; }
118 inline void SetUsages(const ConsumedUsages& value) { m_usagesHasBeenSet = true; m_usages = value; }
119 inline void SetUsages(ConsumedUsages&& value) { m_usagesHasBeenSet = true; m_usages = std::move(value); }
120 inline BudgetSummary& WithUsages(const ConsumedUsages& value) { SetUsages(value); return *this;}
121 inline BudgetSummary& WithUsages(ConsumedUsages&& value) { SetUsages(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
129 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
130 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
131 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
132 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
133 inline BudgetSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
134 inline BudgetSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
135 inline BudgetSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
143 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
144 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
145 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
146 inline BudgetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
147 inline BudgetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
149
151
154 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
155 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
156 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
157 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
158 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
159 inline BudgetSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
160 inline BudgetSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
161 inline BudgetSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
163
165
168 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
169 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
170 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
171 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
172 inline BudgetSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
173 inline BudgetSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
175 private:
176
177 Aws::String m_budgetId;
178 bool m_budgetIdHasBeenSet = false;
179
180 UsageTrackingResource m_usageTrackingResource;
181 bool m_usageTrackingResourceHasBeenSet = false;
182
183 BudgetStatus m_status;
184 bool m_statusHasBeenSet = false;
185
186 Aws::String m_displayName;
187 bool m_displayNameHasBeenSet = false;
188
189 double m_approximateDollarLimit;
190 bool m_approximateDollarLimitHasBeenSet = false;
191
192 ConsumedUsages m_usages;
193 bool m_usagesHasBeenSet = false;
194
195 Aws::String m_createdBy;
196 bool m_createdByHasBeenSet = false;
197
198 Aws::Utils::DateTime m_createdAt;
199 bool m_createdAtHasBeenSet = false;
200
201 Aws::String m_updatedBy;
202 bool m_updatedByHasBeenSet = false;
203
204 Aws::Utils::DateTime m_updatedAt;
205 bool m_updatedAtHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace deadline
210} // namespace Aws
BudgetSummary & WithStatus(BudgetStatus &&value)
BudgetSummary & WithBudgetId(Aws::String &&value)
BudgetSummary & WithApproximateDollarLimit(double value)
void SetBudgetId(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedBy(Aws::String &&value)
BudgetSummary & WithUpdatedBy(Aws::String &&value)
BudgetSummary & WithUsageTrackingResource(const UsageTrackingResource &value)
void SetBudgetId(const Aws::String &value)
BudgetSummary & WithCreatedBy(Aws::String &&value)
const BudgetStatus & GetStatus() const
void SetDisplayName(const char *value)
const UsageTrackingResource & GetUsageTrackingResource() const
void SetStatus(const BudgetStatus &value)
BudgetSummary & WithDisplayName(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
BudgetSummary & WithBudgetId(const char *value)
void SetUsageTrackingResource(const UsageTrackingResource &value)
const Aws::String & GetDisplayName() const
void SetUsages(const ConsumedUsages &value)
const Aws::String & GetBudgetId() const
BudgetSummary & WithCreatedBy(const char *value)
void SetUsageTrackingResource(UsageTrackingResource &&value)
void SetDisplayName(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(BudgetStatus &&value)
void SetCreatedBy(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
BudgetSummary & WithUsageTrackingResource(UsageTrackingResource &&value)
BudgetSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetBudgetId(Aws::String &&value)
void SetDisplayName(Aws::String &&value)
BudgetSummary & WithStatus(const BudgetStatus &value)
void SetUpdatedBy(Aws::String &&value)
BudgetSummary & WithBudgetId(const Aws::String &value)
BudgetSummary & WithUsages(ConsumedUsages &&value)
void SetUpdatedBy(const Aws::String &value)
BudgetSummary & WithDisplayName(Aws::String &&value)
void SetCreatedBy(const char *value)
const Aws::String & GetUpdatedBy() const
BudgetSummary & WithUpdatedBy(const Aws::String &value)
BudgetSummary & WithUsages(const ConsumedUsages &value)
BudgetSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
const ConsumedUsages & GetUsages() const
void SetApproximateDollarLimit(double value)
AWS_DEADLINE_API BudgetSummary(Aws::Utils::Json::JsonView jsonValue)
BudgetSummary & WithUpdatedBy(const char *value)
BudgetSummary & WithDisplayName(const Aws::String &value)
BudgetSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
BudgetSummary & WithCreatedBy(const Aws::String &value)
AWS_DEADLINE_API BudgetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(Aws::Utils::DateTime &&value)
BudgetSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetUsages(ConsumedUsages &&value)
const Aws::String & GetCreatedBy() const
void SetUpdatedBy(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue