AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BillingDetails.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SFN {
17namespace Model {
18
26 public:
27 AWS_SFN_API BillingDetails() = default;
31
33
36 inline long long GetBilledMemoryUsedInMB() const { return m_billedMemoryUsedInMB; }
37 inline bool BilledMemoryUsedInMBHasBeenSet() const { return m_billedMemoryUsedInMBHasBeenSet; }
38 inline void SetBilledMemoryUsedInMB(long long value) {
39 m_billedMemoryUsedInMBHasBeenSet = true;
40 m_billedMemoryUsedInMB = value;
41 }
42 inline BillingDetails& WithBilledMemoryUsedInMB(long long value) {
44 return *this;
45 }
47
49
52 inline long long GetBilledDurationInMilliseconds() const { return m_billedDurationInMilliseconds; }
53 inline bool BilledDurationInMillisecondsHasBeenSet() const { return m_billedDurationInMillisecondsHasBeenSet; }
54 inline void SetBilledDurationInMilliseconds(long long value) {
55 m_billedDurationInMillisecondsHasBeenSet = true;
56 m_billedDurationInMilliseconds = value;
57 }
60 return *this;
61 }
63 private:
64 long long m_billedMemoryUsedInMB{0};
65
66 long long m_billedDurationInMilliseconds{0};
67 bool m_billedMemoryUsedInMBHasBeenSet = false;
68 bool m_billedDurationInMillisecondsHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace SFN
73} // namespace Aws
long long GetBilledMemoryUsedInMB() const
long long GetBilledDurationInMilliseconds() const
AWS_SFN_API BillingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API BillingDetails(Aws::Utils::Json::JsonView jsonValue)
bool BilledDurationInMillisecondsHasBeenSet() const
AWS_SFN_API BillingDetails()=default
BillingDetails & WithBilledMemoryUsedInMB(long long value)
void SetBilledDurationInMilliseconds(long long value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
BillingDetails & WithBilledDurationInMilliseconds(long long value)
void SetBilledMemoryUsedInMB(long long value)
Aws::Utils::Json::JsonValue JsonValue