AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrefetchRetrieval.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.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 PrefetchRetrieval();
39 AWS_MEDIATAILOR_API PrefetchRetrieval(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
53 inline const Aws::Map<Aws::String, Aws::String>& GetDynamicVariables() const{ return m_dynamicVariables; }
54 inline bool DynamicVariablesHasBeenSet() const { return m_dynamicVariablesHasBeenSet; }
55 inline void SetDynamicVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables = value; }
56 inline void SetDynamicVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables = std::move(value); }
59 inline PrefetchRetrieval& AddDynamicVariables(const Aws::String& key, const Aws::String& value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables.emplace(key, value); return *this; }
60 inline PrefetchRetrieval& AddDynamicVariables(Aws::String&& key, const Aws::String& value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables.emplace(std::move(key), value); return *this; }
61 inline PrefetchRetrieval& AddDynamicVariables(const Aws::String& key, Aws::String&& value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables.emplace(key, std::move(value)); return *this; }
62 inline PrefetchRetrieval& AddDynamicVariables(Aws::String&& key, Aws::String&& value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables.emplace(std::move(key), std::move(value)); return *this; }
63 inline PrefetchRetrieval& AddDynamicVariables(const char* key, Aws::String&& value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables.emplace(key, std::move(value)); return *this; }
64 inline PrefetchRetrieval& AddDynamicVariables(Aws::String&& key, const char* value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables.emplace(std::move(key), value); return *this; }
65 inline PrefetchRetrieval& AddDynamicVariables(const char* key, const char* value) { m_dynamicVariablesHasBeenSet = true; m_dynamicVariables.emplace(key, value); return *this; }
67
69
73 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
74 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
75 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
76 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
77 inline PrefetchRetrieval& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
78 inline PrefetchRetrieval& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
80
82
88 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
89 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
90 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
91 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
92 inline PrefetchRetrieval& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
93 inline PrefetchRetrieval& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
95 private:
96
97 Aws::Map<Aws::String, Aws::String> m_dynamicVariables;
98 bool m_dynamicVariablesHasBeenSet = false;
99
100 Aws::Utils::DateTime m_endTime;
101 bool m_endTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_startTime;
104 bool m_startTimeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace MediaTailor
109} // namespace Aws
PrefetchRetrieval & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
PrefetchRetrieval & WithEndTime(const Aws::Utils::DateTime &value)
void SetDynamicVariables(Aws::Map< Aws::String, Aws::String > &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_MEDIATAILOR_API PrefetchRetrieval & operator=(Aws::Utils::Json::JsonView jsonValue)
PrefetchRetrieval & WithDynamicVariables(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetEndTime(Aws::Utils::DateTime &&value)
PrefetchRetrieval & AddDynamicVariables(Aws::String &&key, const char *value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
PrefetchRetrieval & WithStartTime(Aws::Utils::DateTime &&value)
PrefetchRetrieval & AddDynamicVariables(Aws::String &&key, Aws::String &&value)
PrefetchRetrieval & WithEndTime(Aws::Utils::DateTime &&value)
PrefetchRetrieval & AddDynamicVariables(Aws::String &&key, const Aws::String &value)
AWS_MEDIATAILOR_API PrefetchRetrieval(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(const Aws::Utils::DateTime &value)
PrefetchRetrieval & AddDynamicVariables(const char *key, const char *value)
PrefetchRetrieval & AddDynamicVariables(const Aws::String &key, const Aws::String &value)
PrefetchRetrieval & AddDynamicVariables(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetDynamicVariables() const
PrefetchRetrieval & AddDynamicVariables(const char *key, Aws::String &&value)
void SetDynamicVariables(const Aws::Map< Aws::String, Aws::String > &value)
PrefetchRetrieval & WithDynamicVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetStartTime(Aws::Utils::DateTime &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue