AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputSourceRequest.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 InputSourceRequest();
35 AWS_MEDIALIVE_API InputSourceRequest(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 InputSourceRequest& WithPasswordParam(const Aws::String& value) { SetPasswordParam(value); return *this;}
50 inline InputSourceRequest& WithPasswordParam(Aws::String&& value) { SetPasswordParam(std::move(value)); return *this;}
51 inline InputSourceRequest& 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 InputSourceRequest& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
65 inline InputSourceRequest& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
66 inline InputSourceRequest& 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 InputSourceRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
79 inline InputSourceRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
80 inline InputSourceRequest& 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 SetUsername(const Aws::String &value)
void SetPasswordParam(const Aws::String &value)
InputSourceRequest & WithPasswordParam(const Aws::String &value)
InputSourceRequest & WithUsername(const Aws::String &value)
InputSourceRequest & WithPasswordParam(const char *value)
InputSourceRequest & WithUsername(Aws::String &&value)
InputSourceRequest & WithUrl(Aws::String &&value)
InputSourceRequest & WithUrl(const char *value)
void SetUrl(const Aws::String &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputSourceRequest & WithUsername(const char *value)
AWS_MEDIALIVE_API InputSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
InputSourceRequest & WithUrl(const Aws::String &value)
InputSourceRequest & WithPasswordParam(Aws::String &&value)
AWS_MEDIALIVE_API InputSourceRequest(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPasswordParam() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue