AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceLocation.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/AccessConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mediatailor/model/DefaultSegmentDeliveryConfiguration.h>
12#include <aws/mediatailor/model/HttpConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/mediatailor/model/SegmentDeliveryConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaTailor
29{
30namespace Model
31{
32
43 {
44 public:
45 AWS_MEDIATAILOR_API SourceLocation();
46 AWS_MEDIATAILOR_API SourceLocation(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIATAILOR_API SourceLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; }
56 inline bool AccessConfigurationHasBeenSet() const { return m_accessConfigurationHasBeenSet; }
57 inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = value; }
58 inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = std::move(value); }
60 inline SourceLocation& WithAccessConfiguration(AccessConfiguration&& value) { SetAccessConfiguration(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetArn() const{ return m_arn; }
68 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
69 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
70 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
71 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
72 inline SourceLocation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 inline SourceLocation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 inline SourceLocation& WithArn(const char* value) { SetArn(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
82 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
83 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
84 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
85 inline SourceLocation& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
86 inline SourceLocation& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
88
90
93 inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; }
94 inline bool DefaultSegmentDeliveryConfigurationHasBeenSet() const { return m_defaultSegmentDeliveryConfigurationHasBeenSet; }
95 inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = value; }
96 inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = std::move(value); }
100
102
105 inline const HttpConfiguration& GetHttpConfiguration() const{ return m_httpConfiguration; }
106 inline bool HttpConfigurationHasBeenSet() const { return m_httpConfigurationHasBeenSet; }
107 inline void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = value; }
108 inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = std::move(value); }
109 inline SourceLocation& WithHttpConfiguration(const HttpConfiguration& value) { SetHttpConfiguration(value); return *this;}
110 inline SourceLocation& WithHttpConfiguration(HttpConfiguration&& value) { SetHttpConfiguration(std::move(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
118 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
119 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
120 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
122 inline SourceLocation& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
124
126
129 inline const Aws::Vector<SegmentDeliveryConfiguration>& GetSegmentDeliveryConfigurations() const{ return m_segmentDeliveryConfigurations; }
130 inline bool SegmentDeliveryConfigurationsHasBeenSet() const { return m_segmentDeliveryConfigurationsHasBeenSet; }
131 inline void SetSegmentDeliveryConfigurations(const Aws::Vector<SegmentDeliveryConfiguration>& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations = value; }
132 inline void SetSegmentDeliveryConfigurations(Aws::Vector<SegmentDeliveryConfiguration>&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations = std::move(value); }
135 inline SourceLocation& AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations.push_back(value); return *this; }
136 inline SourceLocation& AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations.push_back(std::move(value)); return *this; }
138
140
143 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
144 inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
145 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
146 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
147 inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
148 inline SourceLocation& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
149 inline SourceLocation& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
150 inline SourceLocation& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
152
154
161 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
162 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
163 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
164 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
165 inline SourceLocation& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
166 inline SourceLocation& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
167 inline SourceLocation& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
168 inline SourceLocation& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
169 inline SourceLocation& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
170 inline SourceLocation& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
171 inline SourceLocation& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
172 inline SourceLocation& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
173 inline SourceLocation& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
175 private:
176
177 AccessConfiguration m_accessConfiguration;
178 bool m_accessConfigurationHasBeenSet = false;
179
180 Aws::String m_arn;
181 bool m_arnHasBeenSet = false;
182
183 Aws::Utils::DateTime m_creationTime;
184 bool m_creationTimeHasBeenSet = false;
185
186 DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
187 bool m_defaultSegmentDeliveryConfigurationHasBeenSet = false;
188
189 HttpConfiguration m_httpConfiguration;
190 bool m_httpConfigurationHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastModifiedTime;
193 bool m_lastModifiedTimeHasBeenSet = false;
194
195 Aws::Vector<SegmentDeliveryConfiguration> m_segmentDeliveryConfigurations;
196 bool m_segmentDeliveryConfigurationsHasBeenSet = false;
197
198 Aws::String m_sourceLocationName;
199 bool m_sourceLocationNameHasBeenSet = false;
200
202 bool m_tagsHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace MediaTailor
207} // namespace Aws
void SetSourceLocationName(Aws::String &&value)
AWS_MEDIATAILOR_API SourceLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHttpConfiguration(HttpConfiguration &&value)
SourceLocation & WithSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
SourceLocation & WithArn(const Aws::String &value)
void SetArn(const Aws::String &value)
SourceLocation & AddTags(Aws::String &&key, const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
SourceLocation & WithHttpConfiguration(const HttpConfiguration &value)
SourceLocation & AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration &&value)
SourceLocation & WithSourceLocationName(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
const Aws::Vector< SegmentDeliveryConfiguration > & GetSegmentDeliveryConfigurations() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetAccessConfiguration(AccessConfiguration &&value)
const AccessConfiguration & GetAccessConfiguration() const
SourceLocation & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
SourceLocation & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
SourceLocation & AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration &value)
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
const Aws::String & GetSourceLocationName() const
SourceLocation & WithArn(const char *value)
SourceLocation & WithCreationTime(Aws::Utils::DateTime &&value)
void SetSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
const HttpConfiguration & GetHttpConfiguration() const
SourceLocation & WithHttpConfiguration(HttpConfiguration &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
SourceLocation & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetHttpConfiguration(const HttpConfiguration &value)
SourceLocation & AddTags(Aws::String &&key, const Aws::String &value)
SourceLocation & WithCreationTime(const Aws::Utils::DateTime &value)
SourceLocation & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
SourceLocation & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
SourceLocation & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
SourceLocation & AddTags(Aws::String &&key, Aws::String &&value)
SourceLocation & WithArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSourceLocationName(const char *value)
void SetSourceLocationName(const Aws::String &value)
void SetAccessConfiguration(const AccessConfiguration &value)
SourceLocation & WithSourceLocationName(const Aws::String &value)
SourceLocation & WithAccessConfiguration(const AccessConfiguration &value)
SourceLocation & WithAccessConfiguration(AccessConfiguration &&value)
SourceLocation & WithSourceLocationName(Aws::String &&value)
SourceLocation & AddTags(const Aws::String &key, const Aws::String &value)
SourceLocation & AddTags(const char *key, const char *value)
AWS_MEDIATAILOR_API SourceLocation(Aws::Utils::Json::JsonView jsonValue)
SourceLocation & AddTags(const Aws::String &key, Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
SourceLocation & WithSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
const Aws::String & GetArn() const
SourceLocation & WithLastModifiedTime(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