AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLiveSourceResult.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 UpdateLiveSourceResult();
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 UpdateLiveSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline UpdateLiveSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline UpdateLiveSourceResult& 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 UpdateLiveSourceResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
60 inline UpdateLiveSourceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
62
64
68 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
69 inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurations = value; }
70 inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurations = std::move(value); }
73 inline UpdateLiveSourceResult& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurations.push_back(value); return *this; }
74 inline UpdateLiveSourceResult& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
76
78
81 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
82 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
83 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
85 inline UpdateLiveSourceResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetLiveSourceName() const{ return m_liveSourceName; }
93 inline void SetLiveSourceName(const Aws::String& value) { m_liveSourceName = value; }
94 inline void SetLiveSourceName(Aws::String&& value) { m_liveSourceName = std::move(value); }
95 inline void SetLiveSourceName(const char* value) { m_liveSourceName.assign(value); }
96 inline UpdateLiveSourceResult& WithLiveSourceName(const Aws::String& value) { SetLiveSourceName(value); return *this;}
97 inline UpdateLiveSourceResult& WithLiveSourceName(Aws::String&& value) { SetLiveSourceName(std::move(value)); return *this;}
98 inline UpdateLiveSourceResult& WithLiveSourceName(const char* value) { SetLiveSourceName(value); return *this;}
100
102
105 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
106 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
107 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
108 inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
110 inline UpdateLiveSourceResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
111 inline UpdateLiveSourceResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
113
115
122 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
123 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
124 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
125 inline UpdateLiveSourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
126 inline UpdateLiveSourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
127 inline UpdateLiveSourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
128 inline UpdateLiveSourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
129 inline UpdateLiveSourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
130 inline UpdateLiveSourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
131 inline UpdateLiveSourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
132 inline UpdateLiveSourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
133 inline UpdateLiveSourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
135
137
138 inline const Aws::String& GetRequestId() const{ return m_requestId; }
139 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
140 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
141 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
142 inline UpdateLiveSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
143 inline UpdateLiveSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
144 inline UpdateLiveSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
146 private:
147
148 Aws::String m_arn;
149
150 Aws::Utils::DateTime m_creationTime;
151
152 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
153
154 Aws::Utils::DateTime m_lastModifiedTime;
155
156 Aws::String m_liveSourceName;
157
158 Aws::String m_sourceLocationName;
159
161
162 Aws::String m_requestId;
163 };
164
165} // namespace Model
166} // namespace MediaTailor
167} // namespace Aws
UpdateLiveSourceResult & WithSourceLocationName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
UpdateLiveSourceResult & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
UpdateLiveSourceResult & WithRequestId(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateLiveSourceResult & WithRequestId(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
UpdateLiveSourceResult & WithArn(const Aws::String &value)
UpdateLiveSourceResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
UpdateLiveSourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateLiveSourceResult & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
UpdateLiveSourceResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_MEDIATAILOR_API UpdateLiveSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
UpdateLiveSourceResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateLiveSourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateLiveSourceResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateLiveSourceResult & WithRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
UpdateLiveSourceResult & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateLiveSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateLiveSourceResult & WithLiveSourceName(Aws::String &&value)
UpdateLiveSourceResult & WithArn(Aws::String &&value)
UpdateLiveSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
UpdateLiveSourceResult & AddTags(const char *key, const char *value)
UpdateLiveSourceResult & AddTags(const char *key, Aws::String &&value)
UpdateLiveSourceResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateLiveSourceResult & WithLiveSourceName(const char *value)
UpdateLiveSourceResult & WithSourceLocationName(const char *value)
UpdateLiveSourceResult & WithArn(const char *value)
UpdateLiveSourceResult & WithLiveSourceName(const Aws::String &value)
UpdateLiveSourceResult & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_MEDIATAILOR_API UpdateLiveSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLiveSourceResult & AddTags(Aws::String &&key, const char *value)
UpdateLiveSourceResult & WithSourceLocationName(Aws::String &&value)
UpdateLiveSourceResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetHttpPackageConfigurations(const Aws::Vector< 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