AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutputDestinationSettings.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 OutputDestinationSettings();
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetPasswordParam() const{ return m_passwordParam; }
46 inline bool PasswordParamHasBeenSet() const { return m_passwordParamHasBeenSet; }
47 inline void SetPasswordParam(const Aws::String& value) { m_passwordParamHasBeenSet = true; m_passwordParam = value; }
48 inline void SetPasswordParam(Aws::String&& value) { m_passwordParamHasBeenSet = true; m_passwordParam = std::move(value); }
49 inline void SetPasswordParam(const char* value) { m_passwordParamHasBeenSet = true; m_passwordParam.assign(value); }
50 inline OutputDestinationSettings& WithPasswordParam(const Aws::String& value) { SetPasswordParam(value); return *this;}
51 inline OutputDestinationSettings& WithPasswordParam(Aws::String&& value) { SetPasswordParam(std::move(value)); return *this;}
52 inline OutputDestinationSettings& WithPasswordParam(const char* value) { SetPasswordParam(value); return *this;}
54
56
59 inline const Aws::String& GetStreamName() const{ return m_streamName; }
60 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
61 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
62 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
63 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
64 inline OutputDestinationSettings& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
65 inline OutputDestinationSettings& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
66 inline OutputDestinationSettings& WithStreamName(const char* value) { SetStreamName(value); return *this;}
68
70
73 inline const Aws::String& GetUrl() const{ return m_url; }
74 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
75 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
76 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
77 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
78 inline OutputDestinationSettings& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
79 inline OutputDestinationSettings& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
80 inline OutputDestinationSettings& WithUrl(const char* value) { SetUrl(value); return *this;}
82
84
87 inline const Aws::String& GetUsername() const{ return m_username; }
88 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
89 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
90 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
91 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
92 inline OutputDestinationSettings& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
93 inline OutputDestinationSettings& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
94 inline OutputDestinationSettings& WithUsername(const char* value) { SetUsername(value); return *this;}
96 private:
97
98 Aws::String m_passwordParam;
99 bool m_passwordParamHasBeenSet = false;
100
101 Aws::String m_streamName;
102 bool m_streamNameHasBeenSet = false;
103
104 Aws::String m_url;
105 bool m_urlHasBeenSet = false;
106
107 Aws::String m_username;
108 bool m_usernameHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace MediaLive
113} // namespace Aws
OutputDestinationSettings & WithPasswordParam(const char *value)
OutputDestinationSettings & WithStreamName(const Aws::String &value)
OutputDestinationSettings & WithStreamName(Aws::String &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
OutputDestinationSettings & WithUsername(const char *value)
OutputDestinationSettings & WithPasswordParam(const Aws::String &value)
OutputDestinationSettings & WithUrl(Aws::String &&value)
OutputDestinationSettings & WithUsername(Aws::String &&value)
OutputDestinationSettings & WithPasswordParam(Aws::String &&value)
OutputDestinationSettings & WithUsername(const Aws::String &value)
OutputDestinationSettings & WithStreamName(const char *value)
AWS_MEDIALIVE_API OutputDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API OutputDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
OutputDestinationSettings & WithUrl(const char *value)
OutputDestinationSettings & WithUrl(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue