AWS SDK for C++  1.9.66
AWS SDK for C++
InputSourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaLive
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetPasswordParam() const{ return m_passwordParam; }
44 
48  inline bool PasswordParamHasBeenSet() const { return m_passwordParamHasBeenSet; }
49 
53  inline void SetPasswordParam(const Aws::String& value) { m_passwordParamHasBeenSet = true; m_passwordParam = value; }
54 
58  inline void SetPasswordParam(Aws::String&& value) { m_passwordParamHasBeenSet = true; m_passwordParam = std::move(value); }
59 
63  inline void SetPasswordParam(const char* value) { m_passwordParamHasBeenSet = true; m_passwordParam.assign(value); }
64 
68  inline InputSourceRequest& WithPasswordParam(const Aws::String& value) { SetPasswordParam(value); return *this;}
69 
73  inline InputSourceRequest& WithPasswordParam(Aws::String&& value) { SetPasswordParam(std::move(value)); return *this;}
74 
78  inline InputSourceRequest& WithPasswordParam(const char* value) { SetPasswordParam(value); return *this;}
79 
80 
86  inline const Aws::String& GetUrl() const{ return m_url; }
87 
93  inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
94 
100  inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
101 
107  inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
108 
114  inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
115 
121  inline InputSourceRequest& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
122 
128  inline InputSourceRequest& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
129 
135  inline InputSourceRequest& WithUrl(const char* value) { SetUrl(value); return *this;}
136 
137 
141  inline const Aws::String& GetUsername() const{ return m_username; }
142 
146  inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
147 
151  inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
152 
156  inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
157 
161  inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
162 
166  inline InputSourceRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
167 
171  inline InputSourceRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
172 
176  inline InputSourceRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
177 
178  private:
179 
180  Aws::String m_passwordParam;
181  bool m_passwordParamHasBeenSet;
182 
183  Aws::String m_url;
184  bool m_urlHasBeenSet;
185 
186  Aws::String m_username;
187  bool m_usernameHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace MediaLive
192 } // namespace Aws
Aws::MediaLive::Model::InputSourceRequest::UsernameHasBeenSet
bool UsernameHasBeenSet() const
Definition: InputSourceRequest.h:146
Aws::MediaLive::Model::InputSourceRequest::SetUrl
void SetUrl(const char *value)
Definition: InputSourceRequest.h:114
Aws::MediaLive::Model::InputSourceRequest::WithUrl
InputSourceRequest & WithUrl(const char *value)
Definition: InputSourceRequest.h:135
Aws::MediaLive::Model::InputSourceRequest::WithUrl
InputSourceRequest & WithUrl(const Aws::String &value)
Definition: InputSourceRequest.h:121
Aws::MediaLive::Model::InputSourceRequest::UrlHasBeenSet
bool UrlHasBeenSet() const
Definition: InputSourceRequest.h:93
Aws::MediaLive::Model::InputSourceRequest::WithPasswordParam
InputSourceRequest & WithPasswordParam(const char *value)
Definition: InputSourceRequest.h:78
Aws::MediaLive::Model::InputSourceRequest::WithUsername
InputSourceRequest & WithUsername(Aws::String &&value)
Definition: InputSourceRequest.h:171
Aws::MediaLive::Model::InputSourceRequest::InputSourceRequest
InputSourceRequest()
Aws::MediaLive::Model::InputSourceRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaLive::Model::InputSourceRequest::WithUsername
InputSourceRequest & WithUsername(const char *value)
Definition: InputSourceRequest.h:176
Aws::MediaLive::Model::InputSourceRequest::PasswordParamHasBeenSet
bool PasswordParamHasBeenSet() const
Definition: InputSourceRequest.h:48
Aws::MediaLive::Model::InputSourceRequest::GetUsername
const Aws::String & GetUsername() const
Definition: InputSourceRequest.h:141
Aws::MediaLive::Model::InputSourceRequest::SetUrl
void SetUrl(const Aws::String &value)
Definition: InputSourceRequest.h:100
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::InputSourceRequest::WithUsername
InputSourceRequest & WithUsername(const Aws::String &value)
Definition: InputSourceRequest.h:166
Aws::MediaLive::Model::InputSourceRequest::SetUrl
void SetUrl(Aws::String &&value)
Definition: InputSourceRequest.h:107
Aws::MediaLive::Model::InputSourceRequest::InputSourceRequest
InputSourceRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaLive::Model::InputSourceRequest
Definition: InputSourceRequest.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::MediaLive::Model::InputSourceRequest::WithPasswordParam
InputSourceRequest & WithPasswordParam(const Aws::String &value)
Definition: InputSourceRequest.h:68
Aws::MediaLive::Model::InputSourceRequest::GetUrl
const Aws::String & GetUrl() const
Definition: InputSourceRequest.h:86
Aws::MediaLive::Model::InputSourceRequest::WithUrl
InputSourceRequest & WithUrl(Aws::String &&value)
Definition: InputSourceRequest.h:128
Aws::MediaLive::Model::InputSourceRequest::SetPasswordParam
void SetPasswordParam(Aws::String &&value)
Definition: InputSourceRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::MediaLive::Model::InputSourceRequest::SetUsername
void SetUsername(const char *value)
Definition: InputSourceRequest.h:161
Aws::MediaLive::Model::InputSourceRequest::SetPasswordParam
void SetPasswordParam(const Aws::String &value)
Definition: InputSourceRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::InputSourceRequest::SetUsername
void SetUsername(const Aws::String &value)
Definition: InputSourceRequest.h:151
Aws::MediaLive::Model::InputSourceRequest::SetPasswordParam
void SetPasswordParam(const char *value)
Definition: InputSourceRequest.h:63
Aws::MediaLive::Model::InputSourceRequest::GetPasswordParam
const Aws::String & GetPasswordParam() const
Definition: InputSourceRequest.h:43
Aws::MediaLive::Model::InputSourceRequest::operator=
InputSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaLive::Model::InputSourceRequest::SetUsername
void SetUsername(Aws::String &&value)
Definition: InputSourceRequest.h:156
Aws::MediaLive::Model::InputSourceRequest::WithPasswordParam
InputSourceRequest & WithPasswordParam(Aws::String &&value)
Definition: InputSourceRequest.h:73
MediaLive_EXPORTS.h