AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VodSource.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 VodSource();
39 AWS_MEDIATAILOR_API VodSource(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIATAILOR_API VodSource& 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 VodSource& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline VodSource& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline VodSource& 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 VodSource& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
67 inline VodSource& 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 VodSource& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(value); return *this; }
81 inline VodSource& 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 VodSource& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
93 inline VodSource& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
101 inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
102 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
103 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
104 inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
105 inline VodSource& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
106 inline VodSource& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
107 inline VodSource& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
109
111
118 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
119 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
120 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
121 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
122 inline VodSource& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
123 inline VodSource& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
124 inline VodSource& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
125 inline VodSource& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline VodSource& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
127 inline VodSource& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
128 inline VodSource& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
129 inline VodSource& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
130 inline VodSource& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
132
134
137 inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
138 inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
139 inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
140 inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
141 inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
142 inline VodSource& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
143 inline VodSource& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
144 inline VodSource& WithVodSourceName(const char* value) { SetVodSourceName(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_sourceLocationName;
161 bool m_sourceLocationNameHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165
166 Aws::String m_vodSourceName;
167 bool m_vodSourceNameHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace MediaTailor
172} // namespace Aws
VodSource & AddTags(Aws::String &&key, Aws::String &&value)
Definition VodSource.h:127
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition VodSource.h:120
VodSource & WithVodSourceName(Aws::String &&value)
Definition VodSource.h:143
VodSource & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition VodSource.h:78
VodSource & WithSourceLocationName(Aws::String &&value)
Definition VodSource.h:106
AWS_MEDIATAILOR_API VodSource()
VodSource & WithCreationTime(const Aws::Utils::DateTime &value)
Definition VodSource.h:66
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition VodSource.h:121
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool HttpPackageConfigurationsHasBeenSet() const
Definition VodSource.h:75
void SetSourceLocationName(const Aws::String &value)
Definition VodSource.h:102
VodSource & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition VodSource.h:79
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition VodSource.h:65
VodSource & AddTags(const Aws::String &key, Aws::String &&value)
Definition VodSource.h:126
VodSource & WithCreationTime(Aws::Utils::DateTime &&value)
Definition VodSource.h:67
VodSource & AddTags(const Aws::String &key, const Aws::String &value)
Definition VodSource.h:124
VodSource & WithVodSourceName(const Aws::String &value)
Definition VodSource.h:142
const Aws::String & GetVodSourceName() const
Definition VodSource.h:137
VodSource & WithArn(const Aws::String &value)
Definition VodSource.h:53
const Aws::String & GetArn() const
Definition VodSource.h:48
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition VodSource.h:64
VodSource & WithSourceLocationName(const Aws::String &value)
Definition VodSource.h:105
void SetArn(const char *value)
Definition VodSource.h:52
VodSource & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition VodSource.h:93
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition VodSource.h:90
VodSource & AddTags(Aws::String &&key, const Aws::String &value)
Definition VodSource.h:125
VodSource & AddTags(Aws::String &&key, const char *value)
Definition VodSource.h:129
VodSource & AddTags(const char *key, const char *value)
Definition VodSource.h:130
VodSource & WithArn(const char *value)
Definition VodSource.h:55
VodSource & WithArn(Aws::String &&value)
Definition VodSource.h:54
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition VodSource.h:118
VodSource & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition VodSource.h:122
VodSource & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
Definition VodSource.h:81
VodSource & WithSourceLocationName(const char *value)
Definition VodSource.h:107
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition VodSource.h:88
void SetVodSourceName(const Aws::String &value)
Definition VodSource.h:139
void SetSourceLocationName(const char *value)
Definition VodSource.h:104
void SetVodSourceName(const char *value)
Definition VodSource.h:141
VodSource & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition VodSource.h:92
void SetArn(Aws::String &&value)
Definition VodSource.h:51
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
Definition VodSource.h:74
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition VodSource.h:91
AWS_MEDIATAILOR_API VodSource(Aws::Utils::Json::JsonView jsonValue)
void SetSourceLocationName(Aws::String &&value)
Definition VodSource.h:103
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition VodSource.h:77
void SetVodSourceName(Aws::String &&value)
Definition VodSource.h:140
VodSource & WithVodSourceName(const char *value)
Definition VodSource.h:144
void SetArn(const Aws::String &value)
Definition VodSource.h:50
VodSource & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition VodSource.h:123
VodSource & AddTags(const char *key, Aws::String &&value)
Definition VodSource.h:128
const Aws::Utils::DateTime & GetCreationTime() const
Definition VodSource.h:62
VodSource & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
Definition VodSource.h:80
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition VodSource.h:76
AWS_MEDIATAILOR_API VodSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceLocationName() const
Definition VodSource.h:100
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