AWS SDK for C++  1.9.104
AWS SDK for C++
HttpPackageConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaTailor
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetPath() const{ return m_path; }
47 
52  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
53 
58  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
59 
64  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
65 
70  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
71 
76  inline HttpPackageConfiguration& WithPath(const Aws::String& value) { SetPath(value); return *this;}
77 
82  inline HttpPackageConfiguration& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
83 
88  inline HttpPackageConfiguration& WithPath(const char* value) { SetPath(value); return *this;}
89 
90 
95  inline const Aws::String& GetSourceGroup() const{ return m_sourceGroup; }
96 
101  inline bool SourceGroupHasBeenSet() const { return m_sourceGroupHasBeenSet; }
102 
107  inline void SetSourceGroup(const Aws::String& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = value; }
108 
113  inline void SetSourceGroup(Aws::String&& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = std::move(value); }
114 
119  inline void SetSourceGroup(const char* value) { m_sourceGroupHasBeenSet = true; m_sourceGroup.assign(value); }
120 
125  inline HttpPackageConfiguration& WithSourceGroup(const Aws::String& value) { SetSourceGroup(value); return *this;}
126 
131  inline HttpPackageConfiguration& WithSourceGroup(Aws::String&& value) { SetSourceGroup(std::move(value)); return *this;}
132 
137  inline HttpPackageConfiguration& WithSourceGroup(const char* value) { SetSourceGroup(value); return *this;}
138 
139 
144  inline const Type& GetType() const{ return m_type; }
145 
150  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
151 
156  inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
157 
162  inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
163 
168  inline HttpPackageConfiguration& WithType(const Type& value) { SetType(value); return *this;}
169 
174  inline HttpPackageConfiguration& WithType(Type&& value) { SetType(std::move(value)); return *this;}
175 
176  private:
177 
178  Aws::String m_path;
179  bool m_pathHasBeenSet;
180 
181  Aws::String m_sourceGroup;
182  bool m_sourceGroupHasBeenSet;
183 
184  Type m_type;
185  bool m_typeHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace MediaTailor
190 } // namespace Aws
Aws::MediaTailor::Model::HttpPackageConfiguration::WithPath
HttpPackageConfiguration & WithPath(const Aws::String &value)
Definition: HttpPackageConfiguration.h:76
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::HttpPackageConfiguration::WithPath
HttpPackageConfiguration & WithPath(Aws::String &&value)
Definition: HttpPackageConfiguration.h:82
Aws::MediaTailor::Model::HttpPackageConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::HttpPackageConfiguration::WithSourceGroup
HttpPackageConfiguration & WithSourceGroup(const char *value)
Definition: HttpPackageConfiguration.h:137
Aws::MediaTailor::Model::HttpPackageConfiguration::WithPath
HttpPackageConfiguration & WithPath(const char *value)
Definition: HttpPackageConfiguration.h:88
Aws::MediaTailor::Model::HttpPackageConfiguration::GetSourceGroup
const Aws::String & GetSourceGroup() const
Definition: HttpPackageConfiguration.h:95
Aws::MediaTailor::Model::HttpPackageConfiguration::SetSourceGroup
void SetSourceGroup(const char *value)
Definition: HttpPackageConfiguration.h:119
Aws::MediaTailor::Model::HttpPackageConfiguration::WithSourceGroup
HttpPackageConfiguration & WithSourceGroup(Aws::String &&value)
Definition: HttpPackageConfiguration.h:131
Aws::MediaTailor::Model::HttpPackageConfiguration::SourceGroupHasBeenSet
bool SourceGroupHasBeenSet() const
Definition: HttpPackageConfiguration.h:101
Aws::MediaTailor::Model::HttpPackageConfiguration::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: HttpPackageConfiguration.h:150
Aws::MediaTailor::Model::HttpPackageConfiguration::SetSourceGroup
void SetSourceGroup(Aws::String &&value)
Definition: HttpPackageConfiguration.h:113
Aws::MediaTailor::Model::HttpPackageConfiguration::HttpPackageConfiguration
HttpPackageConfiguration()
Aws::MediaTailor::Model::HttpPackageConfiguration
Definition: HttpPackageConfiguration.h:34
Aws::MediaTailor::Model::HttpPackageConfiguration::WithType
HttpPackageConfiguration & WithType(const Type &value)
Definition: HttpPackageConfiguration.h:168
Type.h
Aws::MediaTailor::Model::HttpPackageConfiguration::SetType
void SetType(Type &&value)
Definition: HttpPackageConfiguration.h:162
Aws::MediaTailor::Model::HttpPackageConfiguration::WithSourceGroup
HttpPackageConfiguration & WithSourceGroup(const Aws::String &value)
Definition: HttpPackageConfiguration.h:125
Aws::MediaTailor::Model::HttpPackageConfiguration::SetSourceGroup
void SetSourceGroup(const Aws::String &value)
Definition: HttpPackageConfiguration.h:107
Aws::MediaTailor::Model::HttpPackageConfiguration::GetType
const Type & GetType() const
Definition: HttpPackageConfiguration.h:144
Aws::MediaTailor::Model::HttpPackageConfiguration::SetPath
void SetPath(const Aws::String &value)
Definition: HttpPackageConfiguration.h:58
Aws::MediaTailor::Model::HttpPackageConfiguration::operator=
HttpPackageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::HttpPackageConfiguration::SetPath
void SetPath(Aws::String &&value)
Definition: HttpPackageConfiguration.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::Type
Type
Definition: Type.h:17
Aws::MediaTailor::Model::HttpPackageConfiguration::WithType
HttpPackageConfiguration & WithType(Type &&value)
Definition: HttpPackageConfiguration.h:174
Aws::MediaTailor::Model::HttpPackageConfiguration::SetType
void SetType(const Type &value)
Definition: HttpPackageConfiguration.h:156
Aws::MediaTailor::Model::HttpPackageConfiguration::GetPath
const Aws::String & GetPath() const
Definition: HttpPackageConfiguration.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::HttpPackageConfiguration::HttpPackageConfiguration
HttpPackageConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::HttpPackageConfiguration::PathHasBeenSet
bool PathHasBeenSet() const
Definition: HttpPackageConfiguration.h:52
Aws::MediaTailor::Model::HttpPackageConfiguration::SetPath
void SetPath(const char *value)
Definition: HttpPackageConfiguration.h:70