AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ParticipantTokenCredentials.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
28 public:
29 AWS_CONNECT_API ParticipantTokenCredentials() = default;
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline const Aws::String& GetParticipantToken() const { return m_participantToken; }
41 inline bool ParticipantTokenHasBeenSet() const { return m_participantTokenHasBeenSet; }
42 template <typename ParticipantTokenT = Aws::String>
43 void SetParticipantToken(ParticipantTokenT&& value) {
44 m_participantTokenHasBeenSet = true;
45 m_participantToken = std::forward<ParticipantTokenT>(value);
46 }
47 template <typename ParticipantTokenT = Aws::String>
49 SetParticipantToken(std::forward<ParticipantTokenT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetExpiry() const { return m_expiry; }
60 inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; }
61 template <typename ExpiryT = Aws::String>
62 void SetExpiry(ExpiryT&& value) {
63 m_expiryHasBeenSet = true;
64 m_expiry = std::forward<ExpiryT>(value);
65 }
66 template <typename ExpiryT = Aws::String>
68 SetExpiry(std::forward<ExpiryT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_participantToken;
74
75 Aws::String m_expiry;
76 bool m_participantTokenHasBeenSet = false;
77 bool m_expiryHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Connect
82} // namespace Aws
AWS_CONNECT_API ParticipantTokenCredentials()=default
ParticipantTokenCredentials & WithExpiry(ExpiryT &&value)
ParticipantTokenCredentials & WithParticipantToken(ParticipantTokenT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ParticipantTokenCredentials(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ParticipantTokenCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue