AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SegmentDeliveryConfiguration.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaTailor
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIATAILOR_API SegmentDeliveryConfiguration();
37 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
48 inline const Aws::String& GetBaseUrl() const{ return m_baseUrl; }
49 inline bool BaseUrlHasBeenSet() const { return m_baseUrlHasBeenSet; }
50 inline void SetBaseUrl(const Aws::String& value) { m_baseUrlHasBeenSet = true; m_baseUrl = value; }
51 inline void SetBaseUrl(Aws::String&& value) { m_baseUrlHasBeenSet = true; m_baseUrl = std::move(value); }
52 inline void SetBaseUrl(const char* value) { m_baseUrlHasBeenSet = true; m_baseUrl.assign(value); }
53 inline SegmentDeliveryConfiguration& WithBaseUrl(const Aws::String& value) { SetBaseUrl(value); return *this;}
54 inline SegmentDeliveryConfiguration& WithBaseUrl(Aws::String&& value) { SetBaseUrl(std::move(value)); return *this;}
55 inline SegmentDeliveryConfiguration& WithBaseUrl(const char* value) { SetBaseUrl(value); return *this;}
57
59
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline SegmentDeliveryConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline SegmentDeliveryConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline SegmentDeliveryConfiguration& WithName(const char* value) { SetName(value); return *this;}
72 private:
73
74 Aws::String m_baseUrl;
75 bool m_baseUrlHasBeenSet = false;
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace MediaTailor
83} // namespace Aws
AWS_MEDIATAILOR_API SegmentDeliveryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SegmentDeliveryConfiguration & WithName(Aws::String &&value)
SegmentDeliveryConfiguration & WithName(const Aws::String &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
SegmentDeliveryConfiguration & WithBaseUrl(const Aws::String &value)
SegmentDeliveryConfiguration & WithBaseUrl(Aws::String &&value)
SegmentDeliveryConfiguration & WithName(const char *value)
AWS_MEDIATAILOR_API SegmentDeliveryConfiguration(Aws::Utils::Json::JsonView jsonValue)
SegmentDeliveryConfiguration & WithBaseUrl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue