AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
MinimumThroughputBillingCommitmentOutput.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9#include <aws/kinesis/model/MinimumThroughputBillingCommitmentOutputStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Kinesis {
21namespace Model {
22
30 public:
31 AWS_KINESIS_API MinimumThroughputBillingCommitmentOutput() = default;
34 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
43 m_statusHasBeenSet = true;
44 m_status = value;
45 }
47 SetStatus(value);
48 return *this;
49 }
51
53
56 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
57 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
58 template <typename StartedAtT = Aws::Utils::DateTime>
59 void SetStartedAt(StartedAtT&& value) {
60 m_startedAtHasBeenSet = true;
61 m_startedAt = std::forward<StartedAtT>(value);
62 }
63 template <typename StartedAtT = Aws::Utils::DateTime>
65 SetStartedAt(std::forward<StartedAtT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
75 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
76 template <typename EndedAtT = Aws::Utils::DateTime>
77 void SetEndedAt(EndedAtT&& value) {
78 m_endedAtHasBeenSet = true;
79 m_endedAt = std::forward<EndedAtT>(value);
80 }
81 template <typename EndedAtT = Aws::Utils::DateTime>
83 SetEndedAt(std::forward<EndedAtT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Utils::DateTime& GetEarliestAllowedEndAt() const { return m_earliestAllowedEndAt; }
93 inline bool EarliestAllowedEndAtHasBeenSet() const { return m_earliestAllowedEndAtHasBeenSet; }
94 template <typename EarliestAllowedEndAtT = Aws::Utils::DateTime>
95 void SetEarliestAllowedEndAt(EarliestAllowedEndAtT&& value) {
96 m_earliestAllowedEndAtHasBeenSet = true;
97 m_earliestAllowedEndAt = std::forward<EarliestAllowedEndAtT>(value);
98 }
99 template <typename EarliestAllowedEndAtT = Aws::Utils::DateTime>
101 SetEarliestAllowedEndAt(std::forward<EarliestAllowedEndAtT>(value));
102 return *this;
103 }
105 private:
107
108 Aws::Utils::DateTime m_startedAt{};
109
110 Aws::Utils::DateTime m_endedAt{};
111
112 Aws::Utils::DateTime m_earliestAllowedEndAt{};
113 bool m_statusHasBeenSet = false;
114 bool m_startedAtHasBeenSet = false;
115 bool m_endedAtHasBeenSet = false;
116 bool m_earliestAllowedEndAtHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Kinesis
121} // namespace Aws
MinimumThroughputBillingCommitmentOutput & WithEndedAt(EndedAtT &&value)
MinimumThroughputBillingCommitmentOutput & WithStatus(MinimumThroughputBillingCommitmentOutputStatus value)
void SetStatus(MinimumThroughputBillingCommitmentOutputStatus value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
MinimumThroughputBillingCommitmentOutput & WithEarliestAllowedEndAt(EarliestAllowedEndAtT &&value)
AWS_KINESIS_API MinimumThroughputBillingCommitmentOutput(Aws::Utils::Json::JsonView jsonValue)
MinimumThroughputBillingCommitmentOutput & WithStartedAt(StartedAtT &&value)
AWS_KINESIS_API MinimumThroughputBillingCommitmentOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue