AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Bumper.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
35 class Bumper
36 {
37 public:
38 AWS_MEDIATAILOR_API Bumper();
39 AWS_MEDIATAILOR_API Bumper(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIATAILOR_API Bumper& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetEndUrl() const{ return m_endUrl; }
49 inline bool EndUrlHasBeenSet() const { return m_endUrlHasBeenSet; }
50 inline void SetEndUrl(const Aws::String& value) { m_endUrlHasBeenSet = true; m_endUrl = value; }
51 inline void SetEndUrl(Aws::String&& value) { m_endUrlHasBeenSet = true; m_endUrl = std::move(value); }
52 inline void SetEndUrl(const char* value) { m_endUrlHasBeenSet = true; m_endUrl.assign(value); }
53 inline Bumper& WithEndUrl(const Aws::String& value) { SetEndUrl(value); return *this;}
54 inline Bumper& WithEndUrl(Aws::String&& value) { SetEndUrl(std::move(value)); return *this;}
55 inline Bumper& WithEndUrl(const char* value) { SetEndUrl(value); return *this;}
57
59
62 inline const Aws::String& GetStartUrl() const{ return m_startUrl; }
63 inline bool StartUrlHasBeenSet() const { return m_startUrlHasBeenSet; }
64 inline void SetStartUrl(const Aws::String& value) { m_startUrlHasBeenSet = true; m_startUrl = value; }
65 inline void SetStartUrl(Aws::String&& value) { m_startUrlHasBeenSet = true; m_startUrl = std::move(value); }
66 inline void SetStartUrl(const char* value) { m_startUrlHasBeenSet = true; m_startUrl.assign(value); }
67 inline Bumper& WithStartUrl(const Aws::String& value) { SetStartUrl(value); return *this;}
68 inline Bumper& WithStartUrl(Aws::String&& value) { SetStartUrl(std::move(value)); return *this;}
69 inline Bumper& WithStartUrl(const char* value) { SetStartUrl(value); return *this;}
71 private:
72
73 Aws::String m_endUrl;
74 bool m_endUrlHasBeenSet = false;
75
76 Aws::String m_startUrl;
77 bool m_startUrlHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace MediaTailor
82} // namespace Aws
void SetEndUrl(Aws::String &&value)
Definition Bumper.h:51
Bumper & WithStartUrl(Aws::String &&value)
Definition Bumper.h:68
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIATAILOR_API Bumper & operator=(Aws::Utils::Json::JsonView jsonValue)
Bumper & WithStartUrl(const Aws::String &value)
Definition Bumper.h:67
void SetStartUrl(const char *value)
Definition Bumper.h:66
AWS_MEDIATAILOR_API Bumper()
void SetStartUrl(const Aws::String &value)
Definition Bumper.h:64
const Aws::String & GetStartUrl() const
Definition Bumper.h:62
Bumper & WithEndUrl(Aws::String &&value)
Definition Bumper.h:54
bool EndUrlHasBeenSet() const
Definition Bumper.h:49
const Aws::String & GetEndUrl() const
Definition Bumper.h:48
Bumper & WithStartUrl(const char *value)
Definition Bumper.h:69
void SetEndUrl(const Aws::String &value)
Definition Bumper.h:50
bool StartUrlHasBeenSet() const
Definition Bumper.h:63
void SetStartUrl(Aws::String &&value)
Definition Bumper.h:65
void SetEndUrl(const char *value)
Definition Bumper.h:52
Bumper & WithEndUrl(const Aws::String &value)
Definition Bumper.h:53
Bumper & WithEndUrl(const char *value)
Definition Bumper.h:55
AWS_MEDIATAILOR_API Bumper(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue