AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
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
29 public:
30 AWS_CONNECT_API AllowedCapabilities() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const ParticipantCapabilities& GetCustomer() const { return m_customer; }
40 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
41 template <typename CustomerT = ParticipantCapabilities>
42 void SetCustomer(CustomerT&& value) {
43 m_customerHasBeenSet = true;
44 m_customer = std::forward<CustomerT>(value);
45 }
46 template <typename CustomerT = ParticipantCapabilities>
47 AllowedCapabilities& WithCustomer(CustomerT&& value) {
48 SetCustomer(std::forward<CustomerT>(value));
49 return *this;
50 }
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) {
61 m_agentHasBeenSet = true;
62 m_agent = std::forward<AgentT>(value);
63 }
64 template <typename AgentT = ParticipantCapabilities>
65 AllowedCapabilities& WithAgent(AgentT&& value) {
66 SetAgent(std::forward<AgentT>(value));
67 return *this;
68 }
70 private:
71 ParticipantCapabilities m_customer;
72
74 bool m_customerHasBeenSet = false;
75 bool m_agentHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Connect
80} // 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