AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 Connect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECT_API ParticipantTokenCredentials() = default;
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetParticipantToken() const { return m_participantToken; }
47 inline bool ParticipantTokenHasBeenSet() const { return m_participantTokenHasBeenSet; }
48 template<typename ParticipantTokenT = Aws::String>
49 void SetParticipantToken(ParticipantTokenT&& value) { m_participantTokenHasBeenSet = true; m_participantToken = std::forward<ParticipantTokenT>(value); }
50 template<typename ParticipantTokenT = Aws::String>
51 ParticipantTokenCredentials& WithParticipantToken(ParticipantTokenT&& value) { SetParticipantToken(std::forward<ParticipantTokenT>(value)); return *this;}
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) { m_expiryHasBeenSet = true; m_expiry = std::forward<ExpiryT>(value); }
63 template<typename ExpiryT = Aws::String>
64 ParticipantTokenCredentials& WithExpiry(ExpiryT&& value) { SetExpiry(std::forward<ExpiryT>(value)); return *this;}
66 private:
67
68 Aws::String m_participantToken;
69 bool m_participantTokenHasBeenSet = false;
70
71 Aws::String m_expiry;
72 bool m_expiryHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Connect
77} // 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