AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetParticipantToken(const Aws::String& value) { m_participantTokenHasBeenSet = true; m_participantToken = value; }
49 inline void SetParticipantToken(Aws::String&& value) { m_participantTokenHasBeenSet = true; m_participantToken = std::move(value); }
50 inline void SetParticipantToken(const char* value) { m_participantTokenHasBeenSet = true; m_participantToken.assign(value); }
52 inline ParticipantTokenCredentials& WithParticipantToken(Aws::String&& value) { SetParticipantToken(std::move(value)); return *this;}
53 inline ParticipantTokenCredentials& WithParticipantToken(const char* value) { SetParticipantToken(value); return *this;}
55
57
61 inline const Aws::String& GetExpiry() const{ return m_expiry; }
62 inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; }
63 inline void SetExpiry(const Aws::String& value) { m_expiryHasBeenSet = true; m_expiry = value; }
64 inline void SetExpiry(Aws::String&& value) { m_expiryHasBeenSet = true; m_expiry = std::move(value); }
65 inline void SetExpiry(const char* value) { m_expiryHasBeenSet = true; m_expiry.assign(value); }
66 inline ParticipantTokenCredentials& WithExpiry(const Aws::String& value) { SetExpiry(value); return *this;}
67 inline ParticipantTokenCredentials& WithExpiry(Aws::String&& value) { SetExpiry(std::move(value)); return *this;}
68 inline ParticipantTokenCredentials& WithExpiry(const char* value) { SetExpiry(value); return *this;}
70 private:
71
72 Aws::String m_participantToken;
73 bool m_participantTokenHasBeenSet = false;
74
75 Aws::String m_expiry;
76 bool m_expiryHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Connect
81} // namespace Aws
ParticipantTokenCredentials & WithParticipantToken(const char *value)
ParticipantTokenCredentials & WithParticipantToken(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ParticipantTokenCredentials & WithParticipantToken(Aws::String &&value)
ParticipantTokenCredentials & WithExpiry(Aws::String &&value)
AWS_CONNECT_API ParticipantTokenCredentials(Aws::Utils::Json::JsonView jsonValue)
ParticipantTokenCredentials & WithExpiry(const Aws::String &value)
AWS_CONNECT_API ParticipantTokenCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
ParticipantTokenCredentials & WithExpiry(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue