AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Srt.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs/IVS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IVS {
20namespace Model {
21
28class Srt {
29 public:
30 AWS_IVS_API Srt() = default;
31 AWS_IVS_API Srt(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IVS_API Srt& operator=(Aws::Utils::Json::JsonView jsonValue);
34
36
39 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
40 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
41 template <typename EndpointT = Aws::String>
42 void SetEndpoint(EndpointT&& value) {
43 m_endpointHasBeenSet = true;
44 m_endpoint = std::forward<EndpointT>(value);
45 }
46 template <typename EndpointT = Aws::String>
47 Srt& WithEndpoint(EndpointT&& value) {
48 SetEndpoint(std::forward<EndpointT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetPassphrase() const { return m_passphrase; }
60 inline bool PassphraseHasBeenSet() const { return m_passphraseHasBeenSet; }
61 template <typename PassphraseT = Aws::String>
62 void SetPassphrase(PassphraseT&& value) {
63 m_passphraseHasBeenSet = true;
64 m_passphrase = std::forward<PassphraseT>(value);
65 }
66 template <typename PassphraseT = Aws::String>
67 Srt& WithPassphrase(PassphraseT&& value) {
68 SetPassphrase(std::forward<PassphraseT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_endpoint;
74
75 Aws::String m_passphrase;
76 bool m_endpointHasBeenSet = false;
77 bool m_passphraseHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace IVS
82} // namespace Aws
bool EndpointHasBeenSet() const
Definition Srt.h:40
const Aws::String & GetPassphrase() const
Definition Srt.h:59
AWS_IVS_API Srt & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API Srt(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVS_API Srt()=default
const Aws::String & GetEndpoint() const
Definition Srt.h:39
bool PassphraseHasBeenSet() const
Definition Srt.h:60
Srt & WithPassphrase(PassphraseT &&value)
Definition Srt.h:67
void SetPassphrase(PassphraseT &&value)
Definition Srt.h:62
void SetEndpoint(EndpointT &&value)
Definition Srt.h:42
Srt & WithEndpoint(EndpointT &&value)
Definition Srt.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue