AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBudgetResult.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/memory/stl/AWSVector.h>
13#include <aws/deadline/model/BudgetSchedule.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/deadline/model/ResponseBudgetAction.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace deadline
31{
32namespace Model
33{
35 {
36 public:
37 AWS_DEADLINE_API GetBudgetResult();
40
41
43
46 inline const Aws::String& GetBudgetId() const{ return m_budgetId; }
47 inline void SetBudgetId(const Aws::String& value) { m_budgetId = value; }
48 inline void SetBudgetId(Aws::String&& value) { m_budgetId = std::move(value); }
49 inline void SetBudgetId(const char* value) { m_budgetId.assign(value); }
50 inline GetBudgetResult& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;}
51 inline GetBudgetResult& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;}
52 inline GetBudgetResult& WithBudgetId(const char* value) { SetBudgetId(value); return *this;}
54
56
59 inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; }
60 inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResource = value; }
61 inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResource = std::move(value); }
65
67
72 inline const BudgetStatus& GetStatus() const{ return m_status; }
73 inline void SetStatus(const BudgetStatus& value) { m_status = value; }
74 inline void SetStatus(BudgetStatus&& value) { m_status = std::move(value); }
75 inline GetBudgetResult& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;}
76 inline GetBudgetResult& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;}
78
80
85 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
86 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
87 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
88 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
89 inline GetBudgetResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
90 inline GetBudgetResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
91 inline GetBudgetResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
93
95
100 inline const Aws::String& GetDescription() const{ return m_description; }
101 inline void SetDescription(const Aws::String& value) { m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_description.assign(value); }
104 inline GetBudgetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 inline GetBudgetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline GetBudgetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
113 inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; }
114 inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimit = value; }
115 inline GetBudgetResult& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;}
117
119
122 inline const ConsumedUsages& GetUsages() const{ return m_usages; }
123 inline void SetUsages(const ConsumedUsages& value) { m_usages = value; }
124 inline void SetUsages(ConsumedUsages&& value) { m_usages = std::move(value); }
125 inline GetBudgetResult& WithUsages(const ConsumedUsages& value) { SetUsages(value); return *this;}
126 inline GetBudgetResult& WithUsages(ConsumedUsages&& value) { SetUsages(std::move(value)); return *this;}
128
130
133 inline const Aws::Vector<ResponseBudgetAction>& GetActions() const{ return m_actions; }
134 inline void SetActions(const Aws::Vector<ResponseBudgetAction>& value) { m_actions = value; }
135 inline void SetActions(Aws::Vector<ResponseBudgetAction>&& value) { m_actions = std::move(value); }
136 inline GetBudgetResult& WithActions(const Aws::Vector<ResponseBudgetAction>& value) { SetActions(value); return *this;}
137 inline GetBudgetResult& WithActions(Aws::Vector<ResponseBudgetAction>&& value) { SetActions(std::move(value)); return *this;}
138 inline GetBudgetResult& AddActions(const ResponseBudgetAction& value) { m_actions.push_back(value); return *this; }
139 inline GetBudgetResult& AddActions(ResponseBudgetAction&& value) { m_actions.push_back(std::move(value)); return *this; }
141
143
146 inline const BudgetSchedule& GetSchedule() const{ return m_schedule; }
147 inline void SetSchedule(const BudgetSchedule& value) { m_schedule = value; }
148 inline void SetSchedule(BudgetSchedule&& value) { m_schedule = std::move(value); }
149 inline GetBudgetResult& WithSchedule(const BudgetSchedule& value) { SetSchedule(value); return *this;}
150 inline GetBudgetResult& WithSchedule(BudgetSchedule&& value) { SetSchedule(std::move(value)); return *this;}
152
154
157 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
158 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
159 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
160 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
161 inline GetBudgetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
162 inline GetBudgetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
163 inline GetBudgetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
165
167
170 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
171 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
172 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
173 inline GetBudgetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
174 inline GetBudgetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
176
178
181 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
182 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
183 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
184 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
185 inline GetBudgetResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
186 inline GetBudgetResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
187 inline GetBudgetResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
189
191
194 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
195 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
196 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
197 inline GetBudgetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
198 inline GetBudgetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
200
202
205 inline const Aws::Utils::DateTime& GetQueueStoppedAt() const{ return m_queueStoppedAt; }
206 inline void SetQueueStoppedAt(const Aws::Utils::DateTime& value) { m_queueStoppedAt = value; }
207 inline void SetQueueStoppedAt(Aws::Utils::DateTime&& value) { m_queueStoppedAt = std::move(value); }
208 inline GetBudgetResult& WithQueueStoppedAt(const Aws::Utils::DateTime& value) { SetQueueStoppedAt(value); return *this;}
209 inline GetBudgetResult& WithQueueStoppedAt(Aws::Utils::DateTime&& value) { SetQueueStoppedAt(std::move(value)); return *this;}
211
213
214 inline const Aws::String& GetRequestId() const{ return m_requestId; }
215 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
216 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
217 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
218 inline GetBudgetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
219 inline GetBudgetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
220 inline GetBudgetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
222 private:
223
224 Aws::String m_budgetId;
225
226 UsageTrackingResource m_usageTrackingResource;
227
228 BudgetStatus m_status;
229
230 Aws::String m_displayName;
231
232 Aws::String m_description;
233
234 double m_approximateDollarLimit;
235
236 ConsumedUsages m_usages;
237
239
240 BudgetSchedule m_schedule;
241
242 Aws::String m_createdBy;
243
244 Aws::Utils::DateTime m_createdAt;
245
246 Aws::String m_updatedBy;
247
248 Aws::Utils::DateTime m_updatedAt;
249
250 Aws::Utils::DateTime m_queueStoppedAt;
251
252 Aws::String m_requestId;
253 };
254
255} // namespace Model
256} // namespace deadline
257} // namespace Aws
void SetDescription(Aws::String &&value)
GetBudgetResult & AddActions(const ResponseBudgetAction &value)
void SetCreatedBy(const Aws::String &value)
const UsageTrackingResource & GetUsageTrackingResource() const
const BudgetStatus & GetStatus() const
GetBudgetResult & WithDescription(const Aws::String &value)
const Aws::String & GetUpdatedBy() const
const Aws::String & GetCreatedBy() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetBudgetResult & WithSchedule(BudgetSchedule &&value)
void SetDisplayName(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetBudgetResult & WithBudgetId(const Aws::String &value)
void SetUsageTrackingResource(const UsageTrackingResource &value)
void SetRequestId(Aws::String &&value)
void SetActions(Aws::Vector< ResponseBudgetAction > &&value)
GetBudgetResult & WithBudgetId(const char *value)
GetBudgetResult & WithRequestId(const char *value)
GetBudgetResult & WithSchedule(const BudgetSchedule &value)
const BudgetSchedule & GetSchedule() const
const Aws::Vector< ResponseBudgetAction > & GetActions() const
void SetActions(const Aws::Vector< ResponseBudgetAction > &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetRequestId() const
GetBudgetResult & WithStatus(BudgetStatus &&value)
void SetQueueStoppedAt(Aws::Utils::DateTime &&value)
GetBudgetResult & WithDescription(Aws::String &&value)
const Aws::String & GetDisplayName() const
GetBudgetResult & WithQueueStoppedAt(const Aws::Utils::DateTime &value)
AWS_DEADLINE_API GetBudgetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBudgetResult & WithDisplayName(Aws::String &&value)
GetBudgetResult & WithActions(Aws::Vector< ResponseBudgetAction > &&value)
GetBudgetResult & WithUpdatedBy(const Aws::String &value)
GetBudgetResult & WithUsageTrackingResource(UsageTrackingResource &&value)
void SetCreatedBy(Aws::String &&value)
GetBudgetResult & WithDisplayName(const Aws::String &value)
GetBudgetResult & WithUpdatedBy(Aws::String &&value)
void SetQueueStoppedAt(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
GetBudgetResult & AddActions(ResponseBudgetAction &&value)
GetBudgetResult & WithDescription(const char *value)
const Aws::String & GetDescription() const
GetBudgetResult & WithUsages(const ConsumedUsages &value)
GetBudgetResult & WithUsageTrackingResource(const UsageTrackingResource &value)
GetBudgetResult & WithApproximateDollarLimit(double value)
const Aws::String & GetBudgetId() const
void SetUsages(ConsumedUsages &&value)
GetBudgetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedBy(const Aws::String &value)
AWS_DEADLINE_API GetBudgetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBudgetResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetSchedule(BudgetSchedule &&value)
GetBudgetResult & WithBudgetId(Aws::String &&value)
GetBudgetResult & WithCreatedBy(const char *value)
GetBudgetResult & WithRequestId(Aws::String &&value)
const ConsumedUsages & GetUsages() const
GetBudgetResult & WithCreatedBy(const Aws::String &value)
GetBudgetResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetBudgetResult & WithUpdatedBy(const char *value)
void SetRequestId(const Aws::String &value)
void SetStatus(BudgetStatus &&value)
GetBudgetResult & WithQueueStoppedAt(Aws::Utils::DateTime &&value)
void SetStatus(const BudgetStatus &value)
void SetBudgetId(const Aws::String &value)
void SetSchedule(const BudgetSchedule &value)
void SetUsages(const ConsumedUsages &value)
void SetUsageTrackingResource(UsageTrackingResource &&value)
GetBudgetResult & WithUsages(ConsumedUsages &&value)
GetBudgetResult & WithStatus(const BudgetStatus &value)
GetBudgetResult & WithCreatedBy(Aws::String &&value)
GetBudgetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetBudgetResult & WithRequestId(const Aws::String &value)
void SetUpdatedBy(Aws::String &&value)
void SetDisplayName(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetBudgetResult & WithDisplayName(const char *value)
void SetDisplayName(Aws::String &&value)
const Aws::Utils::DateTime & GetQueueStoppedAt() const
GetBudgetResult & WithActions(const Aws::Vector< ResponseBudgetAction > &value)
void SetBudgetId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue