AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrefetchConsumption.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/mediatailor/model/AvailMatchingCriteria.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaTailor
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MEDIATAILOR_API PrefetchConsumption();
39 AWS_MEDIATAILOR_API PrefetchConsumption(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<AvailMatchingCriteria>& GetAvailMatchingCriteria() const{ return m_availMatchingCriteria; }
51 inline bool AvailMatchingCriteriaHasBeenSet() const { return m_availMatchingCriteriaHasBeenSet; }
52 inline void SetAvailMatchingCriteria(const Aws::Vector<AvailMatchingCriteria>& value) { m_availMatchingCriteriaHasBeenSet = true; m_availMatchingCriteria = value; }
53 inline void SetAvailMatchingCriteria(Aws::Vector<AvailMatchingCriteria>&& value) { m_availMatchingCriteriaHasBeenSet = true; m_availMatchingCriteria = std::move(value); }
56 inline PrefetchConsumption& AddAvailMatchingCriteria(const AvailMatchingCriteria& value) { m_availMatchingCriteriaHasBeenSet = true; m_availMatchingCriteria.push_back(value); return *this; }
57 inline PrefetchConsumption& AddAvailMatchingCriteria(AvailMatchingCriteria&& value) { m_availMatchingCriteriaHasBeenSet = true; m_availMatchingCriteria.push_back(std::move(value)); return *this; }
59
61
67 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
68 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
69 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
70 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
71 inline PrefetchConsumption& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
72 inline PrefetchConsumption& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
74
76
81 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
82 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
83 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
84 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
85 inline PrefetchConsumption& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
86 inline PrefetchConsumption& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
88 private:
89
90 Aws::Vector<AvailMatchingCriteria> m_availMatchingCriteria;
91 bool m_availMatchingCriteriaHasBeenSet = false;
92
93 Aws::Utils::DateTime m_endTime;
94 bool m_endTimeHasBeenSet = false;
95
96 Aws::Utils::DateTime m_startTime;
97 bool m_startTimeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace MediaTailor
102} // namespace Aws
PrefetchConsumption & AddAvailMatchingCriteria(AvailMatchingCriteria &&value)
void SetAvailMatchingCriteria(Aws::Vector< AvailMatchingCriteria > &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
PrefetchConsumption & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_MEDIATAILOR_API PrefetchConsumption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAvailMatchingCriteria(const Aws::Vector< AvailMatchingCriteria > &value)
AWS_MEDIATAILOR_API PrefetchConsumption(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Vector< AvailMatchingCriteria > & GetAvailMatchingCriteria() const
PrefetchConsumption & WithEndTime(const Aws::Utils::DateTime &value)
PrefetchConsumption & WithAvailMatchingCriteria(Aws::Vector< AvailMatchingCriteria > &&value)
PrefetchConsumption & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
PrefetchConsumption & WithEndTime(Aws::Utils::DateTime &&value)
PrefetchConsumption & AddAvailMatchingCriteria(const AvailMatchingCriteria &value)
PrefetchConsumption & WithAvailMatchingCriteria(const Aws::Vector< AvailMatchingCriteria > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue