AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputSource.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
32 {
33 public:
34 AWS_MEDIALIVE_API InputSource();
35 AWS_MEDIALIVE_API InputSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIALIVE_API InputSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetPasswordParam() const{ return m_passwordParam; }
45 inline bool PasswordParamHasBeenSet() const { return m_passwordParamHasBeenSet; }
46 inline void SetPasswordParam(const Aws::String& value) { m_passwordParamHasBeenSet = true; m_passwordParam = value; }
47 inline void SetPasswordParam(Aws::String&& value) { m_passwordParamHasBeenSet = true; m_passwordParam = std::move(value); }
48 inline void SetPasswordParam(const char* value) { m_passwordParamHasBeenSet = true; m_passwordParam.assign(value); }
49 inline InputSource& WithPasswordParam(const Aws::String& value) { SetPasswordParam(value); return *this;}
50 inline InputSource& WithPasswordParam(Aws::String&& value) { SetPasswordParam(std::move(value)); return *this;}
51 inline InputSource& WithPasswordParam(const char* value) { SetPasswordParam(value); return *this;}
53
55
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 InputSource& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
65 inline InputSource& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
66 inline InputSource& WithUrl(const char* value) { SetUrl(value); return *this;}
68
70
73 inline const Aws::String& GetUsername() const{ return m_username; }
74 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
75 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
76 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
77 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
78 inline InputSource& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
79 inline InputSource& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
80 inline InputSource& WithUsername(const char* value) { SetUsername(value); return *this;}
82 private:
83
84 Aws::String m_passwordParam;
85 bool m_passwordParamHasBeenSet = false;
86
87 Aws::String m_url;
88 bool m_urlHasBeenSet = false;
89
90 Aws::String m_username;
91 bool m_usernameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MediaLive
96} // namespace Aws
void SetPasswordParam(Aws::String &&value)
Definition InputSource.h:47
InputSource & WithUsername(const char *value)
Definition InputSource.h:80
void SetUsername(const char *value)
Definition InputSource.h:77
InputSource & WithPasswordParam(Aws::String &&value)
Definition InputSource.h:50
InputSource & WithUsername(const Aws::String &value)
Definition InputSource.h:78
const Aws::String & GetPasswordParam() const
Definition InputSource.h:44
InputSource & WithUrl(Aws::String &&value)
Definition InputSource.h:65
void SetUsername(const Aws::String &value)
Definition InputSource.h:75
void SetPasswordParam(const char *value)
Definition InputSource.h:48
void SetUrl(const char *value)
Definition InputSource.h:63
InputSource & WithPasswordParam(const char *value)
Definition InputSource.h:51
void SetUrl(const Aws::String &value)
Definition InputSource.h:61
InputSource & WithUrl(const char *value)
Definition InputSource.h:66
void SetPasswordParam(const Aws::String &value)
Definition InputSource.h:46
const Aws::String & GetUsername() const
Definition InputSource.h:73
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUsername(Aws::String &&value)
Definition InputSource.h:76
InputSource & WithPasswordParam(const Aws::String &value)
Definition InputSource.h:49
void SetUrl(Aws::String &&value)
Definition InputSource.h:62
InputSource & WithUrl(const Aws::String &value)
Definition InputSource.h:64
InputSource & WithUsername(Aws::String &&value)
Definition InputSource.h:79
AWS_MEDIALIVE_API InputSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InputSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUrl() const
Definition InputSource.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue