7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/crt/cbor/Cbor.h>
30 AWS_CODEDEPLOY_API
TimeRange(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_CODEDEPLOY_API
TimeRange&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CODEDEPLOY_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename StartT = Aws::Utils::DateTime>
43 m_startHasBeenSet =
true;
44 m_start = std::forward<StartT>(value);
46 template <
typename StartT = Aws::Utils::DateTime>
48 SetStart(std::forward<StartT>(value));
60 template <
typename EndT = Aws::Utils::DateTime>
62 m_endHasBeenSet =
true;
63 m_end = std::forward<EndT>(value);
65 template <
typename EndT = Aws::Utils::DateTime>
67 SetEnd(std::forward<EndT>(value));
75 bool m_startHasBeenSet =
false;
76 bool m_endHasBeenSet =
false;
bool EndHasBeenSet() const
const Aws::Utils::DateTime & GetStart() const
TimeRange & WithStart(StartT &&value)
const Aws::Utils::DateTime & GetEnd() const
AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetEnd(EndT &&value)
AWS_CODEDEPLOY_API TimeRange()=default
AWS_CODEDEPLOY_API TimeRange(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetStart(StartT &&value)
TimeRange & WithEnd(EndT &&value)
bool StartHasBeenSet() const
AWS_CODEDEPLOY_API TimeRange & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)