AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVodSourceResult.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 CreateVodSourceResult();
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 CreateVodSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline CreateVodSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline CreateVodSourceResult& 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 CreateVodSourceResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
60 inline CreateVodSourceResult& 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 CreateVodSourceResult& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurations.push_back(value); return *this; }
73 inline CreateVodSourceResult& 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 CreateVodSourceResult& 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 CreateVodSourceResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
97 inline CreateVodSourceResult& 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 CreateVodSourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
112 inline CreateVodSourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
113 inline CreateVodSourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
114 inline CreateVodSourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
115 inline CreateVodSourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
116 inline CreateVodSourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
117 inline CreateVodSourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
118 inline CreateVodSourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
119 inline CreateVodSourceResult& 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 CreateVodSourceResult& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
131 inline CreateVodSourceResult& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
132 inline CreateVodSourceResult& 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 CreateVodSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
142 inline CreateVodSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
143 inline CreateVodSourceResult& 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 SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
CreateVodSourceResult & WithSourceLocationName(const Aws::String &value)
CreateVodSourceResult & WithArn(Aws::String &&value)
CreateVodSourceResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateVodSourceResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_MEDIATAILOR_API CreateVodSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVodSourceResult & WithRequestId(const char *value)
CreateVodSourceResult & WithSourceLocationName(const char *value)
CreateVodSourceResult & WithSourceLocationName(Aws::String &&value)
CreateVodSourceResult & WithArn(const char *value)
CreateVodSourceResult & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateVodSourceResult & AddTags(const char *key, Aws::String &&value)
CreateVodSourceResult & AddTags(Aws::String &&key, const char *value)
CreateVodSourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateVodSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
CreateVodSourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateVodSourceResult & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
AWS_MEDIATAILOR_API CreateVodSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVodSourceResult & WithRequestId(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
CreateVodSourceResult & WithVodSourceName(const char *value)
CreateVodSourceResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateVodSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
CreateVodSourceResult & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
CreateVodSourceResult & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
CreateVodSourceResult & WithVodSourceName(Aws::String &&value)
CreateVodSourceResult & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
CreateVodSourceResult & WithVodSourceName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
CreateVodSourceResult & AddTags(const char *key, const char *value)
CreateVodSourceResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
CreateVodSourceResult & WithRequestId(const Aws::String &value)
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
CreateVodSourceResult & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVodSourceResult & AddTags(Aws::String &&key, const Aws::String &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