AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVodSourceResult.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{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaTailor
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MEDIATAILOR_API UpdateVodSourceResult();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline UpdateVodSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline UpdateVodSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline UpdateVodSourceResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
57 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
58 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
59 inline UpdateVodSourceResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
60 inline UpdateVodSourceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
62
64
67 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
68 inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurations = value; }
69 inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurations = std::move(value); }
72 inline UpdateVodSourceResult& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurations.push_back(value); return *this; }
73 inline UpdateVodSourceResult& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
75
77
80 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
81 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
82 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
84 inline UpdateVodSourceResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
92 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
93 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
94 inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
96 inline UpdateVodSourceResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
97 inline UpdateVodSourceResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
99
101
108 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
109 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
110 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
111 inline UpdateVodSourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
112 inline UpdateVodSourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
113 inline UpdateVodSourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
114 inline UpdateVodSourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
115 inline UpdateVodSourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
116 inline UpdateVodSourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
117 inline UpdateVodSourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
118 inline UpdateVodSourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
119 inline UpdateVodSourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
121
123
126 inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
127 inline void SetVodSourceName(const Aws::String& value) { m_vodSourceName = value; }
128 inline void SetVodSourceName(Aws::String&& value) { m_vodSourceName = std::move(value); }
129 inline void SetVodSourceName(const char* value) { m_vodSourceName.assign(value); }
130 inline UpdateVodSourceResult& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
131 inline UpdateVodSourceResult& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
132 inline UpdateVodSourceResult& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
134
136
137 inline const Aws::String& GetRequestId() const{ return m_requestId; }
138 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
139 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
140 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
141 inline UpdateVodSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
142 inline UpdateVodSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
143 inline UpdateVodSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
145 private:
146
147 Aws::String m_arn;
148
149 Aws::Utils::DateTime m_creationTime;
150
151 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
152
153 Aws::Utils::DateTime m_lastModifiedTime;
154
155 Aws::String m_sourceLocationName;
156
158
159 Aws::String m_vodSourceName;
160
161 Aws::String m_requestId;
162 };
163
164} // namespace Model
165} // namespace MediaTailor
166} // namespace Aws
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateVodSourceResult & WithVodSourceName(Aws::String &&value)
UpdateVodSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
UpdateVodSourceResult & AddTags(const char *key, Aws::String &&value)
UpdateVodSourceResult & WithRequestId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateVodSourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateVodSourceResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateVodSourceResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateVodSourceResult & WithVodSourceName(const Aws::String &value)
UpdateVodSourceResult & WithRequestId(Aws::String &&value)
UpdateVodSourceResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateVodSourceResult & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
UpdateVodSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateVodSourceResult & WithSourceLocationName(Aws::String &&value)
UpdateVodSourceResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateVodSourceResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
UpdateVodSourceResult & WithRequestId(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
UpdateVodSourceResult & AddTags(const char *key, const char *value)
UpdateVodSourceResult & WithVodSourceName(const char *value)
UpdateVodSourceResult & AddTags(Aws::String &&key, const char *value)
UpdateVodSourceResult & WithArn(const char *value)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
UpdateVodSourceResult & WithSourceLocationName(const Aws::String &value)
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateVodSourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateVodSourceResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateVodSourceResult & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
UpdateVodSourceResult & WithArn(Aws::String &&value)
AWS_MEDIATAILOR_API UpdateVodSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVodSourceResult & WithSourceLocationName(const char *value)
AWS_MEDIATAILOR_API UpdateVodSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVodSourceResult & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
UpdateVodSourceResult & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
UpdateVodSourceResult & AddHttpPackageConfigurations(HttpPackageConfiguration &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue