AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LiveSource.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/mediatailor/model/HttpPackageConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaTailor
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIATAILOR_API LiveSource();
39 AWS_MEDIATAILOR_API LiveSource(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIATAILOR_API LiveSource& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline LiveSource& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline LiveSource& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline LiveSource& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
63 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
64 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
65 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
66 inline LiveSource& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
67 inline LiveSource& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
69
71
74 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
75 inline bool HttpPackageConfigurationsHasBeenSet() const { return m_httpPackageConfigurationsHasBeenSet; }
76 inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = value; }
77 inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = std::move(value); }
80 inline LiveSource& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(value); return *this; }
81 inline LiveSource& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
83
85
88 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
89 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
90 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
91 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
92 inline LiveSource& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
93 inline LiveSource& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetLiveSourceName() const{ return m_liveSourceName; }
101 inline bool LiveSourceNameHasBeenSet() const { return m_liveSourceNameHasBeenSet; }
102 inline void SetLiveSourceName(const Aws::String& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = value; }
103 inline void SetLiveSourceName(Aws::String&& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = std::move(value); }
104 inline void SetLiveSourceName(const char* value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName.assign(value); }
105 inline LiveSource& WithLiveSourceName(const Aws::String& value) { SetLiveSourceName(value); return *this;}
106 inline LiveSource& WithLiveSourceName(Aws::String&& value) { SetLiveSourceName(std::move(value)); return *this;}
107 inline LiveSource& WithLiveSourceName(const char* value) { SetLiveSourceName(value); return *this;}
109
111
114 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
115 inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
116 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
117 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
118 inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
119 inline LiveSource& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
120 inline LiveSource& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
121 inline LiveSource& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
123
125
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
133 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
134 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
135 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
136 inline LiveSource& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
137 inline LiveSource& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
138 inline LiveSource& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
139 inline LiveSource& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline LiveSource& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
141 inline LiveSource& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
142 inline LiveSource& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
143 inline LiveSource& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
144 inline LiveSource& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 private:
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::Utils::DateTime m_creationTime;
152 bool m_creationTimeHasBeenSet = false;
153
154 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
155 bool m_httpPackageConfigurationsHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastModifiedTime;
158 bool m_lastModifiedTimeHasBeenSet = false;
159
160 Aws::String m_liveSourceName;
161 bool m_liveSourceNameHasBeenSet = false;
162
163 Aws::String m_sourceLocationName;
164 bool m_sourceLocationNameHasBeenSet = false;
165
167 bool m_tagsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace MediaTailor
172} // namespace Aws
LiveSource & AddTags(const Aws::String &key, const Aws::String &value)
Definition LiveSource.h:138
LiveSource & WithArn(const Aws::String &value)
Definition LiveSource.h:53
LiveSource & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition LiveSource.h:93
const Aws::String & GetSourceLocationName() const
Definition LiveSource.h:114
LiveSource & WithSourceLocationName(const char *value)
Definition LiveSource.h:121
void SetLiveSourceName(const Aws::String &value)
Definition LiveSource.h:102
LiveSource & AddTags(Aws::String &&key, const char *value)
Definition LiveSource.h:143
LiveSource & WithLiveSourceName(const char *value)
Definition LiveSource.h:107
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition LiveSource.h:90
void SetSourceLocationName(const Aws::String &value)
Definition LiveSource.h:116
bool HttpPackageConfigurationsHasBeenSet() const
Definition LiveSource.h:75
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition LiveSource.h:64
LiveSource & WithArn(Aws::String &&value)
Definition LiveSource.h:54
LiveSource & WithSourceLocationName(Aws::String &&value)
Definition LiveSource.h:120
void SetArn(const char *value)
Definition LiveSource.h:52
LiveSource & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition LiveSource.h:79
LiveSource & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition LiveSource.h:78
LiveSource & WithCreationTime(Aws::Utils::DateTime &&value)
Definition LiveSource.h:67
AWS_MEDIATAILOR_API LiveSource(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
LiveSource & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition LiveSource.h:92
LiveSource & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition LiveSource.h:137
void SetArn(Aws::String &&value)
Definition LiveSource.h:51
const Aws::Utils::DateTime & GetCreationTime() const
Definition LiveSource.h:62
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition LiveSource.h:91
void SetArn(const Aws::String &value)
Definition LiveSource.h:50
void SetLiveSourceName(const char *value)
Definition LiveSource.h:104
LiveSource & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
Definition LiveSource.h:80
void SetLiveSourceName(Aws::String &&value)
Definition LiveSource.h:103
LiveSource & WithSourceLocationName(const Aws::String &value)
Definition LiveSource.h:119
AWS_MEDIATAILOR_API LiveSource()
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
Definition LiveSource.h:74
LiveSource & AddTags(const char *key, Aws::String &&value)
Definition LiveSource.h:142
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition LiveSource.h:65
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition LiveSource.h:88
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition LiveSource.h:76
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition LiveSource.h:132
LiveSource & WithArn(const char *value)
Definition LiveSource.h:55
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition LiveSource.h:134
LiveSource & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
Definition LiveSource.h:81
LiveSource & AddTags(const Aws::String &key, Aws::String &&value)
Definition LiveSource.h:140
void SetSourceLocationName(Aws::String &&value)
Definition LiveSource.h:117
LiveSource & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition LiveSource.h:136
LiveSource & AddTags(Aws::String &&key, const Aws::String &value)
Definition LiveSource.h:139
AWS_MEDIATAILOR_API LiveSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition LiveSource.h:135
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition LiveSource.h:77
const Aws::String & GetArn() const
Definition LiveSource.h:48
LiveSource & WithCreationTime(const Aws::Utils::DateTime &value)
Definition LiveSource.h:66
LiveSource & AddTags(const char *key, const char *value)
Definition LiveSource.h:144
LiveSource & WithLiveSourceName(const Aws::String &value)
Definition LiveSource.h:105
const Aws::String & GetLiveSourceName() const
Definition LiveSource.h:100
void SetSourceLocationName(const char *value)
Definition LiveSource.h:118
LiveSource & AddTags(Aws::String &&key, Aws::String &&value)
Definition LiveSource.h:141
LiveSource & WithLiveSourceName(Aws::String &&value)
Definition LiveSource.h:106
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue