AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HttpPackageConfiguration.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediatailor/model/Type.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaTailor
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIATAILOR_API HttpPackageConfiguration() = default;
39 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetPath() const { return m_path; }
48 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
49 template<typename PathT = Aws::String>
50 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
51 template<typename PathT = Aws::String>
52 HttpPackageConfiguration& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
54
56
60 inline const Aws::String& GetSourceGroup() const { return m_sourceGroup; }
61 inline bool SourceGroupHasBeenSet() const { return m_sourceGroupHasBeenSet; }
62 template<typename SourceGroupT = Aws::String>
63 void SetSourceGroup(SourceGroupT&& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = std::forward<SourceGroupT>(value); }
64 template<typename SourceGroupT = Aws::String>
65 HttpPackageConfiguration& WithSourceGroup(SourceGroupT&& value) { SetSourceGroup(std::forward<SourceGroupT>(value)); return *this;}
67
69
73 inline Type GetType() const { return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
76 inline HttpPackageConfiguration& WithType(Type value) { SetType(value); return *this;}
78 private:
79
80 Aws::String m_path;
81 bool m_pathHasBeenSet = false;
82
83 Aws::String m_sourceGroup;
84 bool m_sourceGroupHasBeenSet = false;
85
86 Type m_type{Type::NOT_SET};
87 bool m_typeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MediaTailor
92} // namespace Aws
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
HttpPackageConfiguration & WithSourceGroup(SourceGroupT &&value)
AWS_MEDIATAILOR_API HttpPackageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIATAILOR_API HttpPackageConfiguration()=default
HttpPackageConfiguration & WithPath(PathT &&value)
AWS_MEDIATAILOR_API HttpPackageConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue