AWS SDK for C++  1.9.104
AWS SDK for C++
Bumper.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaTailor
22 {
23 namespace Model
24 {
25 
36  {
37  public:
38  Bumper();
42 
43 
47  inline const Aws::String& GetEndUrl() const{ return m_endUrl; }
48 
52  inline bool EndUrlHasBeenSet() const { return m_endUrlHasBeenSet; }
53 
57  inline void SetEndUrl(const Aws::String& value) { m_endUrlHasBeenSet = true; m_endUrl = value; }
58 
62  inline void SetEndUrl(Aws::String&& value) { m_endUrlHasBeenSet = true; m_endUrl = std::move(value); }
63 
67  inline void SetEndUrl(const char* value) { m_endUrlHasBeenSet = true; m_endUrl.assign(value); }
68 
72  inline Bumper& WithEndUrl(const Aws::String& value) { SetEndUrl(value); return *this;}
73 
77  inline Bumper& WithEndUrl(Aws::String&& value) { SetEndUrl(std::move(value)); return *this;}
78 
82  inline Bumper& WithEndUrl(const char* value) { SetEndUrl(value); return *this;}
83 
84 
88  inline const Aws::String& GetStartUrl() const{ return m_startUrl; }
89 
93  inline bool StartUrlHasBeenSet() const { return m_startUrlHasBeenSet; }
94 
98  inline void SetStartUrl(const Aws::String& value) { m_startUrlHasBeenSet = true; m_startUrl = value; }
99 
103  inline void SetStartUrl(Aws::String&& value) { m_startUrlHasBeenSet = true; m_startUrl = std::move(value); }
104 
108  inline void SetStartUrl(const char* value) { m_startUrlHasBeenSet = true; m_startUrl.assign(value); }
109 
113  inline Bumper& WithStartUrl(const Aws::String& value) { SetStartUrl(value); return *this;}
114 
118  inline Bumper& WithStartUrl(Aws::String&& value) { SetStartUrl(std::move(value)); return *this;}
119 
123  inline Bumper& WithStartUrl(const char* value) { SetStartUrl(value); return *this;}
124 
125  private:
126 
127  Aws::String m_endUrl;
128  bool m_endUrlHasBeenSet;
129 
130  Aws::String m_startUrl;
131  bool m_startUrlHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace MediaTailor
136 } // namespace Aws
Aws::MediaTailor::Model::Bumper::SetEndUrl
void SetEndUrl(Aws::String &&value)
Definition: Bumper.h:62
Aws::MediaTailor::Model::Bumper::WithStartUrl
Bumper & WithStartUrl(const char *value)
Definition: Bumper.h:123
Aws::MediaTailor::Model::Bumper::WithEndUrl
Bumper & WithEndUrl(const Aws::String &value)
Definition: Bumper.h:72
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::Bumper::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::Bumper::operator=
Bumper & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::Bumper::WithEndUrl
Bumper & WithEndUrl(const char *value)
Definition: Bumper.h:82
Aws::MediaTailor::Model::Bumper::GetStartUrl
const Aws::String & GetStartUrl() const
Definition: Bumper.h:88
Aws::MediaTailor::Model::Bumper::WithStartUrl
Bumper & WithStartUrl(const Aws::String &value)
Definition: Bumper.h:113
Aws::MediaTailor::Model::Bumper::Bumper
Bumper(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::Bumper
Definition: Bumper.h:36
Aws::MediaTailor::Model::Bumper::SetStartUrl
void SetStartUrl(const Aws::String &value)
Definition: Bumper.h:98
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaTailor::Model::Bumper::SetEndUrl
void SetEndUrl(const char *value)
Definition: Bumper.h:67
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::Bumper::EndUrlHasBeenSet
bool EndUrlHasBeenSet() const
Definition: Bumper.h:52
Aws::MediaTailor::Model::Bumper::SetEndUrl
void SetEndUrl(const Aws::String &value)
Definition: Bumper.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::Bumper::StartUrlHasBeenSet
bool StartUrlHasBeenSet() const
Definition: Bumper.h:93
Aws::MediaTailor::Model::Bumper::Bumper
Bumper()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::Bumper::SetStartUrl
void SetStartUrl(const char *value)
Definition: Bumper.h:108
Aws::MediaTailor::Model::Bumper::GetEndUrl
const Aws::String & GetEndUrl() const
Definition: Bumper.h:47
Aws::MediaTailor::Model::Bumper::WithStartUrl
Bumper & WithStartUrl(Aws::String &&value)
Definition: Bumper.h:118
Aws::MediaTailor::Model::Bumper::WithEndUrl
Bumper & WithEndUrl(Aws::String &&value)
Definition: Bumper.h:77
Aws::MediaTailor::Model::Bumper::SetStartUrl
void SetStartUrl(Aws::String &&value)
Definition: Bumper.h:103