AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParticipantDetailsToAdd.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantRole.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API ParticipantDetailsToAdd();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ParticipantRole& GetParticipantRole() const{ return m_participantRole; }
46 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
47 inline void SetParticipantRole(const ParticipantRole& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
48 inline void SetParticipantRole(ParticipantRole&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); }
50 inline ParticipantDetailsToAdd& WithParticipantRole(ParticipantRole&& value) { SetParticipantRole(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
58 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
59 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
60 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
61 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
62 inline ParticipantDetailsToAdd& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
63 inline ParticipantDetailsToAdd& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
64 inline ParticipantDetailsToAdd& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
66 private:
67
68 ParticipantRole m_participantRole;
69 bool m_participantRoleHasBeenSet = false;
70
71 Aws::String m_displayName;
72 bool m_displayNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Connect
77} // namespace Aws
AWS_CONNECT_API ParticipantDetailsToAdd & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ParticipantDetailsToAdd(Aws::Utils::Json::JsonView jsonValue)
ParticipantDetailsToAdd & WithDisplayName(Aws::String &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ParticipantDetailsToAdd & WithDisplayName(const Aws::String &value)
void SetParticipantRole(const ParticipantRole &value)
ParticipantDetailsToAdd & WithDisplayName(const char *value)
ParticipantDetailsToAdd & WithParticipantRole(const ParticipantRole &value)
ParticipantDetailsToAdd & WithParticipantRole(ParticipantRole &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue