AWS SDK for C++

AWS SDK for C++ Version 1.11.934

Loading...
Searching...
No Matches
AvailableLimits.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/Amount.h>
9#include <aws/core/utils/DateTime.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentCore {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENTCORE_API AvailableLimits() = default;
32 AWS_BEDROCKAGENTCORE_API AvailableLimits(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTCORE_API AvailableLimits& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Amount& GetAvailableSpendAmount() const { return m_availableSpendAmount; }
41 inline bool AvailableSpendAmountHasBeenSet() const { return m_availableSpendAmountHasBeenSet; }
42 template <typename AvailableSpendAmountT = Amount>
43 void SetAvailableSpendAmount(AvailableSpendAmountT&& value) {
44 m_availableSpendAmountHasBeenSet = true;
45 m_availableSpendAmount = std::forward<AvailableSpendAmountT>(value);
46 }
47 template <typename AvailableSpendAmountT = Amount>
48 AvailableLimits& WithAvailableSpendAmount(AvailableSpendAmountT&& value) {
49 SetAvailableSpendAmount(std::forward<AvailableSpendAmountT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
59 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
60 template <typename UpdatedAtT = Aws::Utils::DateTime>
61 void SetUpdatedAt(UpdatedAtT&& value) {
62 m_updatedAtHasBeenSet = true;
63 m_updatedAt = std::forward<UpdatedAtT>(value);
64 }
65 template <typename UpdatedAtT = Aws::Utils::DateTime>
66 AvailableLimits& WithUpdatedAt(UpdatedAtT&& value) {
67 SetUpdatedAt(std::forward<UpdatedAtT>(value));
68 return *this;
69 }
71 private:
72 Amount m_availableSpendAmount;
73
74 Aws::Utils::DateTime m_updatedAt{};
75 bool m_availableSpendAmountHasBeenSet = false;
76 bool m_updatedAtHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgentCore
81} // namespace Aws
AWS_BEDROCKAGENTCORE_API AvailableLimits(Aws::Utils::Json::JsonView jsonValue)
AvailableLimits & WithUpdatedAt(UpdatedAtT &&value)
AvailableLimits & WithAvailableSpendAmount(AvailableSpendAmountT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API AvailableLimits()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BEDROCKAGENTCORE_API AvailableLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAvailableSpendAmount(AvailableSpendAmountT &&value)
Aws::Utils::Json::JsonValue JsonValue