AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
InputSdpLocation.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 InputSdpLocation() = default;
36 AWS_MEDIALIVE_API InputSdpLocation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetMediaIndex() const { return m_mediaIndex; }
46 inline bool MediaIndexHasBeenSet() const { return m_mediaIndexHasBeenSet; }
47 inline void SetMediaIndex(int value) { m_mediaIndexHasBeenSet = true; m_mediaIndex = value; }
48 inline InputSdpLocation& WithMediaIndex(int value) { SetMediaIndex(value); return *this;}
50
52
55 inline const Aws::String& GetSdpUrl() const { return m_sdpUrl; }
56 inline bool SdpUrlHasBeenSet() const { return m_sdpUrlHasBeenSet; }
57 template<typename SdpUrlT = Aws::String>
58 void SetSdpUrl(SdpUrlT&& value) { m_sdpUrlHasBeenSet = true; m_sdpUrl = std::forward<SdpUrlT>(value); }
59 template<typename SdpUrlT = Aws::String>
60 InputSdpLocation& WithSdpUrl(SdpUrlT&& value) { SetSdpUrl(std::forward<SdpUrlT>(value)); return *this;}
62 private:
63
64 int m_mediaIndex{0};
65 bool m_mediaIndexHasBeenSet = false;
66
67 Aws::String m_sdpUrl;
68 bool m_sdpUrlHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MediaLive
73} // namespace Aws
InputSdpLocation & WithMediaIndex(int value)
AWS_MEDIALIVE_API InputSdpLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InputSdpLocation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSdpUrl() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API InputSdpLocation()=default
InputSdpLocation & WithSdpUrl(SdpUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue