AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLiveSourceResult.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 DescribeLiveSourceResult();
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 DescribeLiveSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline DescribeLiveSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline DescribeLiveSourceResult& 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); }
60 inline DescribeLiveSourceResult& 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 DescribeLiveSourceResult& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurations.push_back(value); return *this; }
73 inline DescribeLiveSourceResult& 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); }
86
88
91 inline const Aws::String& GetLiveSourceName() const{ return m_liveSourceName; }
92 inline void SetLiveSourceName(const Aws::String& value) { m_liveSourceName = value; }
93 inline void SetLiveSourceName(Aws::String&& value) { m_liveSourceName = std::move(value); }
94 inline void SetLiveSourceName(const char* value) { m_liveSourceName.assign(value); }
95 inline DescribeLiveSourceResult& WithLiveSourceName(const Aws::String& value) { SetLiveSourceName(value); return *this;}
96 inline DescribeLiveSourceResult& WithLiveSourceName(Aws::String&& value) { SetLiveSourceName(std::move(value)); return *this;}
97 inline DescribeLiveSourceResult& WithLiveSourceName(const char* value) { SetLiveSourceName(value); return *this;}
99
101
104 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
105 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
106 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
107 inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
109 inline DescribeLiveSourceResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
110 inline DescribeLiveSourceResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
112
114
121 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
122 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
123 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
125 inline DescribeLiveSourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
126 inline DescribeLiveSourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
127 inline DescribeLiveSourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
128 inline DescribeLiveSourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
129 inline DescribeLiveSourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
130 inline DescribeLiveSourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
131 inline DescribeLiveSourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
132 inline DescribeLiveSourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 DescribeLiveSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
142 inline DescribeLiveSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
143 inline DescribeLiveSourceResult& 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_liveSourceName;
156
157 Aws::String m_sourceLocationName;
158
160
161 Aws::String m_requestId;
162 };
163
164} // namespace Model
165} // namespace MediaTailor
166} // namespace Aws
DescribeLiveSourceResult & WithRequestId(const Aws::String &value)
DescribeLiveSourceResult & WithSourceLocationName(const Aws::String &value)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
DescribeLiveSourceResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeLiveSourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeLiveSourceResult & WithArn(Aws::String &&value)
DescribeLiveSourceResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeLiveSourceResult & WithLiveSourceName(Aws::String &&value)
DescribeLiveSourceResult & AddTags(const char *key, Aws::String &&value)
DescribeLiveSourceResult & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_MEDIATAILOR_API DescribeLiveSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLiveSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLiveSourceResult & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
AWS_MEDIATAILOR_API DescribeLiveSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLiveSourceResult & WithRequestId(const char *value)
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
DescribeLiveSourceResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeLiveSourceResult & WithLiveSourceName(const Aws::String &value)
DescribeLiveSourceResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeLiveSourceResult & WithSourceLocationName(Aws::String &&value)
DescribeLiveSourceResult & WithLiveSourceName(const char *value)
DescribeLiveSourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeLiveSourceResult & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
DescribeLiveSourceResult & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeLiveSourceResult & AddTags(Aws::String &&key, const char *value)
DescribeLiveSourceResult & WithRequestId(Aws::String &&value)
DescribeLiveSourceResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeLiveSourceResult & AddTags(const char *key, const char *value)
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
DescribeLiveSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLiveSourceResult & WithArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeLiveSourceResult & WithSourceLocationName(const char *value)
DescribeLiveSourceResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeLiveSourceResult & WithArn(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &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