AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSdiSourceRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/model/SdiSourceMode.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/medialive/model/SdiSourceType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaLive
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_MEDIALIVE_API UpdateSdiSourceRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateSdiSource"; }
36
37 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
38
39
41
47 inline SdiSourceMode GetMode() const { return m_mode; }
48 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
49 inline void SetMode(SdiSourceMode value) { m_modeHasBeenSet = true; m_mode = value; }
50 inline UpdateSdiSourceRequest& WithMode(SdiSourceMode value) { SetMode(value); return *this;}
52
54
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 UpdateSdiSourceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetSdiSourceId() const { return m_sdiSourceId; }
73 inline bool SdiSourceIdHasBeenSet() const { return m_sdiSourceIdHasBeenSet; }
74 template<typename SdiSourceIdT = Aws::String>
75 void SetSdiSourceId(SdiSourceIdT&& value) { m_sdiSourceIdHasBeenSet = true; m_sdiSourceId = std::forward<SdiSourceIdT>(value); }
76 template<typename SdiSourceIdT = Aws::String>
77 UpdateSdiSourceRequest& WithSdiSourceId(SdiSourceIdT&& value) { SetSdiSourceId(std::forward<SdiSourceIdT>(value)); return *this;}
79
81
86 inline SdiSourceType GetType() const { return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(SdiSourceType value) { m_typeHasBeenSet = true; m_type = value; }
89 inline UpdateSdiSourceRequest& WithType(SdiSourceType value) { SetType(value); return *this;}
91 private:
92
94 bool m_modeHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_sdiSourceId;
100 bool m_sdiSourceIdHasBeenSet = false;
101
103 bool m_typeHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace MediaLive
108} // namespace Aws
UpdateSdiSourceRequest & WithSdiSourceId(SdiSourceIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateSdiSourceRequest & WithName(NameT &&value)
UpdateSdiSourceRequest & WithMode(SdiSourceMode value)
UpdateSdiSourceRequest & WithType(SdiSourceType value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
AWS_MEDIALIVE_API UpdateSdiSourceRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String