AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputLocation.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 InputLocation();
35 AWS_MEDIALIVE_API InputLocation(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIALIVE_API InputLocation& 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 InputLocation& WithPasswordParam(const Aws::String& value) { SetPasswordParam(value); return *this;}
50 inline InputLocation& WithPasswordParam(Aws::String&& value) { SetPasswordParam(std::move(value)); return *this;}
51 inline InputLocation& WithPasswordParam(const char* value) { SetPasswordParam(value); return *this;}
53
55
60 inline const Aws::String& GetUri() const{ return m_uri; }
61 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
62 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
63 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
64 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
65 inline InputLocation& WithUri(const Aws::String& value) { SetUri(value); return *this;}
66 inline InputLocation& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
67 inline InputLocation& WithUri(const char* value) { SetUri(value); return *this;}
69
71
74 inline const Aws::String& GetUsername() const{ return m_username; }
75 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
76 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
77 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
78 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
79 inline InputLocation& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
80 inline InputLocation& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
81 inline InputLocation& WithUsername(const char* value) { SetUsername(value); return *this;}
83 private:
84
85 Aws::String m_passwordParam;
86 bool m_passwordParamHasBeenSet = false;
87
88 Aws::String m_uri;
89 bool m_uriHasBeenSet = false;
90
91 Aws::String m_username;
92 bool m_usernameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MediaLive
97} // namespace Aws
InputLocation & WithPasswordParam(const char *value)
void SetUri(const Aws::String &value)
InputLocation & WithPasswordParam(Aws::String &&value)
const Aws::String & GetUri() const
InputLocation & WithUsername(Aws::String &&value)
void SetUsername(const char *value)
void SetPasswordParam(const char *value)
InputLocation & WithUri(const Aws::String &value)
void SetPasswordParam(Aws::String &&value)
const Aws::String & GetPasswordParam() const
const Aws::String & GetUsername() const
InputLocation & WithUsername(const Aws::String &value)
InputLocation & WithUri(Aws::String &&value)
void SetUri(Aws::String &&value)
InputLocation & WithUsername(const char *value)
InputLocation & WithUri(const char *value)
void SetPasswordParam(const Aws::String &value)
AWS_MEDIALIVE_API InputLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUsername(const Aws::String &value)
AWS_MEDIALIVE_API InputLocation(Aws::Utils::Json::JsonView jsonValue)
InputLocation & WithPasswordParam(const Aws::String &value)
void SetUsername(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue