AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 UpdateLiveSourceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
55 template<typename CreationTimeT = Aws::Utils::DateTime>
56 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
57 template<typename CreationTimeT = Aws::Utils::DateTime>
58 UpdateLiveSourceResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
60
62
66 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const { return m_httpPackageConfigurations; }
67 template<typename HttpPackageConfigurationsT = Aws::Vector<HttpPackageConfiguration>>
68 void SetHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = std::forward<HttpPackageConfigurationsT>(value); }
69 template<typename HttpPackageConfigurationsT = Aws::Vector<HttpPackageConfiguration>>
70 UpdateLiveSourceResult& WithHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { SetHttpPackageConfigurations(std::forward<HttpPackageConfigurationsT>(value)); return *this;}
71 template<typename HttpPackageConfigurationsT = HttpPackageConfiguration>
72 UpdateLiveSourceResult& AddHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.emplace_back(std::forward<HttpPackageConfigurationsT>(value)); return *this; }
74
76
79 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
80 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
81 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
82 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
83 UpdateLiveSourceResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
85
87
90 inline const Aws::String& GetLiveSourceName() const { return m_liveSourceName; }
91 template<typename LiveSourceNameT = Aws::String>
92 void SetLiveSourceName(LiveSourceNameT&& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = std::forward<LiveSourceNameT>(value); }
93 template<typename LiveSourceNameT = Aws::String>
94 UpdateLiveSourceResult& WithLiveSourceName(LiveSourceNameT&& value) { SetLiveSourceName(std::forward<LiveSourceNameT>(value)); return *this;}
96
98
101 inline const Aws::String& GetSourceLocationName() const { return m_sourceLocationName; }
102 template<typename SourceLocationNameT = Aws::String>
103 void SetSourceLocationName(SourceLocationNameT&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::forward<SourceLocationNameT>(value); }
104 template<typename SourceLocationNameT = Aws::String>
105 UpdateLiveSourceResult& WithSourceLocationName(SourceLocationNameT&& value) { SetSourceLocationName(std::forward<SourceLocationNameT>(value)); return *this;}
107
109
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
117 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
119 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 UpdateLiveSourceResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
121 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
122 UpdateLiveSourceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
123 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
124 }
126
128
129 inline const Aws::String& GetRequestId() const { return m_requestId; }
130 template<typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
132 template<typename RequestIdT = Aws::String>
133 UpdateLiveSourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
135 private:
136
137 Aws::String m_arn;
138 bool m_arnHasBeenSet = false;
139
140 Aws::Utils::DateTime m_creationTime{};
141 bool m_creationTimeHasBeenSet = false;
142
143 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
144 bool m_httpPackageConfigurationsHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastModifiedTime{};
147 bool m_lastModifiedTimeHasBeenSet = false;
148
149 Aws::String m_liveSourceName;
150 bool m_liveSourceNameHasBeenSet = false;
151
152 Aws::String m_sourceLocationName;
153 bool m_sourceLocationNameHasBeenSet = false;
154
156 bool m_tagsHasBeenSet = false;
157
158 Aws::String m_requestId;
159 bool m_requestIdHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace MediaTailor
164} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_MEDIATAILOR_API UpdateLiveSourceResult()=default
UpdateLiveSourceResult & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateLiveSourceResult & WithLiveSourceName(LiveSourceNameT &&value)
UpdateLiveSourceResult & WithSourceLocationName(SourceLocationNameT &&value)
void SetSourceLocationName(SourceLocationNameT &&value)
UpdateLiveSourceResult & WithCreationTime(CreationTimeT &&value)
AWS_MEDIATAILOR_API UpdateLiveSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateLiveSourceResult & AddHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
UpdateLiveSourceResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
UpdateLiveSourceResult & WithHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
UpdateLiveSourceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateLiveSourceResult & WithArn(ArnT &&value)
UpdateLiveSourceResult & WithRequestId(RequestIdT &&value)
AWS_MEDIATAILOR_API UpdateLiveSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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