AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
50 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
51 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
52 inline HttpPackageConfiguration& WithPath(const Aws::String& value) { SetPath(value); return *this;}
53 inline HttpPackageConfiguration& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
54 inline HttpPackageConfiguration& WithPath(const char* value) { SetPath(value); return *this;}
56
58
62 inline const Aws::String& GetSourceGroup() const{ return m_sourceGroup; }
63 inline bool SourceGroupHasBeenSet() const { return m_sourceGroupHasBeenSet; }
64 inline void SetSourceGroup(const Aws::String& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = value; }
65 inline void SetSourceGroup(Aws::String&& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = std::move(value); }
66 inline void SetSourceGroup(const char* value) { m_sourceGroupHasBeenSet = true; m_sourceGroup.assign(value); }
67 inline HttpPackageConfiguration& WithSourceGroup(const Aws::String& value) { SetSourceGroup(value); return *this;}
68 inline HttpPackageConfiguration& WithSourceGroup(Aws::String&& value) { SetSourceGroup(std::move(value)); return *this;}
69 inline HttpPackageConfiguration& WithSourceGroup(const char* value) { SetSourceGroup(value); return *this;}
71
73
77 inline const Type& GetType() const{ return m_type; }
78 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
80 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
81 inline HttpPackageConfiguration& WithType(const Type& value) { SetType(value); return *this;}
82 inline HttpPackageConfiguration& WithType(Type&& value) { SetType(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_path;
87 bool m_pathHasBeenSet = false;
88
89 Aws::String m_sourceGroup;
90 bool m_sourceGroupHasBeenSet = false;
91
92 Type m_type;
93 bool m_typeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace MediaTailor
98} // namespace Aws
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
HttpPackageConfiguration & WithType(const Type &value)
HttpPackageConfiguration & WithType(Type &&value)
HttpPackageConfiguration & WithPath(Aws::String &&value)
AWS_MEDIATAILOR_API HttpPackageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HttpPackageConfiguration & WithSourceGroup(const char *value)
HttpPackageConfiguration & WithSourceGroup(const Aws::String &value)
HttpPackageConfiguration & WithPath(const char *value)
HttpPackageConfiguration & WithSourceGroup(Aws::String &&value)
HttpPackageConfiguration & WithPath(const Aws::String &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