AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MulticastSourceUpdateRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_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 MediaLive
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIALIVE_API MulticastSourceUpdateRequest();
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSourceIp() const{ return m_sourceIp; }
46 inline bool SourceIpHasBeenSet() const { return m_sourceIpHasBeenSet; }
47 inline void SetSourceIp(const Aws::String& value) { m_sourceIpHasBeenSet = true; m_sourceIp = value; }
48 inline void SetSourceIp(Aws::String&& value) { m_sourceIpHasBeenSet = true; m_sourceIp = std::move(value); }
49 inline void SetSourceIp(const char* value) { m_sourceIpHasBeenSet = true; m_sourceIp.assign(value); }
50 inline MulticastSourceUpdateRequest& WithSourceIp(const Aws::String& value) { SetSourceIp(value); return *this;}
51 inline MulticastSourceUpdateRequest& WithSourceIp(Aws::String&& value) { SetSourceIp(std::move(value)); return *this;}
52 inline MulticastSourceUpdateRequest& WithSourceIp(const char* value) { SetSourceIp(value); return *this;}
54
56
59 inline const Aws::String& GetUrl() const{ return m_url; }
60 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
61 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
62 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
63 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
64 inline MulticastSourceUpdateRequest& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
65 inline MulticastSourceUpdateRequest& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
66 inline MulticastSourceUpdateRequest& WithUrl(const char* value) { SetUrl(value); return *this;}
68 private:
69
70 Aws::String m_sourceIp;
71 bool m_sourceIpHasBeenSet = false;
72
73 Aws::String m_url;
74 bool m_urlHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaLive
79} // namespace Aws
AWS_MEDIALIVE_API MulticastSourceUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
MulticastSourceUpdateRequest & WithUrl(Aws::String &&value)
MulticastSourceUpdateRequest & WithSourceIp(const Aws::String &value)
MulticastSourceUpdateRequest & WithUrl(const Aws::String &value)
MulticastSourceUpdateRequest & WithUrl(const char *value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MulticastSourceUpdateRequest & WithSourceIp(Aws::String &&value)
MulticastSourceUpdateRequest & WithSourceIp(const char *value)
AWS_MEDIALIVE_API MulticastSourceUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue