AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngestEndpoint.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_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 MediaPackage
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIAPACKAGE_API IngestEndpoint();
36 AWS_MEDIAPACKAGE_API IngestEndpoint(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGE_API IngestEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline IngestEndpoint& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline IngestEndpoint& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline IngestEndpoint& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetPassword() const{ return m_password; }
60 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
61 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
62 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
63 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
64 inline IngestEndpoint& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
65 inline IngestEndpoint& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
66 inline IngestEndpoint& WithPassword(const char* value) { SetPassword(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 IngestEndpoint& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
79 inline IngestEndpoint& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
80 inline IngestEndpoint& 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 IngestEndpoint& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
93 inline IngestEndpoint& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
94 inline IngestEndpoint& WithUsername(const char* value) { SetUsername(value); return *this;}
96 private:
97
98 Aws::String m_id;
99 bool m_idHasBeenSet = false;
100
101 Aws::String m_password;
102 bool m_passwordHasBeenSet = 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 MediaPackage
113} // namespace Aws
void SetUsername(Aws::String &&value)
const Aws::String & GetId() const
const Aws::String & GetUsername() const
void SetPassword(Aws::String &&value)
IngestEndpoint & WithPassword(const Aws::String &value)
IngestEndpoint & WithId(const Aws::String &value)
IngestEndpoint & WithUsername(const Aws::String &value)
IngestEndpoint & WithUsername(Aws::String &&value)
void SetUrl(const Aws::String &value)
IngestEndpoint & WithId(Aws::String &&value)
void SetPassword(const Aws::String &value)
void SetUsername(const Aws::String &value)
void SetId(const Aws::String &value)
IngestEndpoint & WithId(const char *value)
const Aws::String & GetUrl() const
IngestEndpoint & WithUrl(const Aws::String &value)
AWS_MEDIAPACKAGE_API IngestEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestEndpoint & WithPassword(Aws::String &&value)
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
IngestEndpoint & WithUsername(const char *value)
const Aws::String & GetPassword() const
AWS_MEDIAPACKAGE_API IngestEndpoint(Aws::Utils::Json::JsonView jsonValue)
IngestEndpoint & WithUrl(const char *value)
IngestEndpoint & WithUrl(Aws::String &&value)
IngestEndpoint & WithPassword(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue