AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AllowedCapabilities.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantCapabilities.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
33 {
34 public:
35 AWS_CONNECT_API AllowedCapabilities() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ParticipantCapabilities& GetCustomer() const { return m_customer; }
46 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
47 template<typename CustomerT = ParticipantCapabilities>
48 void SetCustomer(CustomerT&& value) { m_customerHasBeenSet = true; m_customer = std::forward<CustomerT>(value); }
49 template<typename CustomerT = ParticipantCapabilities>
50 AllowedCapabilities& WithCustomer(CustomerT&& value) { SetCustomer(std::forward<CustomerT>(value)); return *this;}
52
54
57 inline const ParticipantCapabilities& GetAgent() const { return m_agent; }
58 inline bool AgentHasBeenSet() const { return m_agentHasBeenSet; }
59 template<typename AgentT = ParticipantCapabilities>
60 void SetAgent(AgentT&& value) { m_agentHasBeenSet = true; m_agent = std::forward<AgentT>(value); }
61 template<typename AgentT = ParticipantCapabilities>
62 AllowedCapabilities& WithAgent(AgentT&& value) { SetAgent(std::forward<AgentT>(value)); return *this;}
64 private:
65
66 ParticipantCapabilities m_customer;
67 bool m_customerHasBeenSet = false;
68
70 bool m_agentHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Connect
75} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AllowedCapabilities & WithCustomer(CustomerT &&value)
const ParticipantCapabilities & GetAgent() const
AWS_CONNECT_API AllowedCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API AllowedCapabilities()=default
AllowedCapabilities & WithAgent(AgentT &&value)
const ParticipantCapabilities & GetCustomer() const
AWS_CONNECT_API AllowedCapabilities(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue