AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCustomer(const ParticipantCapabilities& value) { m_customerHasBeenSet = true; m_customer = value; }
48 inline void SetCustomer(ParticipantCapabilities&& value) { m_customerHasBeenSet = true; m_customer = std::move(value); }
49 inline AllowedCapabilities& WithCustomer(const ParticipantCapabilities& value) { SetCustomer(value); return *this;}
50 inline AllowedCapabilities& WithCustomer(ParticipantCapabilities&& value) { SetCustomer(std::move(value)); return *this;}
52
54
57 inline const ParticipantCapabilities& GetAgent() const{ return m_agent; }
58 inline bool AgentHasBeenSet() const { return m_agentHasBeenSet; }
59 inline void SetAgent(const ParticipantCapabilities& value) { m_agentHasBeenSet = true; m_agent = value; }
60 inline void SetAgent(ParticipantCapabilities&& value) { m_agentHasBeenSet = true; m_agent = std::move(value); }
61 inline AllowedCapabilities& WithAgent(const ParticipantCapabilities& value) { SetAgent(value); return *this;}
62 inline AllowedCapabilities& WithAgent(ParticipantCapabilities&& value) { SetAgent(std::move(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
AllowedCapabilities & WithAgent(const ParticipantCapabilities &value)
void SetAgent(const ParticipantCapabilities &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomer(const ParticipantCapabilities &value)
const ParticipantCapabilities & GetAgent() const
AWS_CONNECT_API AllowedCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
AllowedCapabilities & WithAgent(ParticipantCapabilities &&value)
void SetAgent(ParticipantCapabilities &&value)
const ParticipantCapabilities & GetCustomer() const
AllowedCapabilities & WithCustomer(ParticipantCapabilities &&value)
AWS_CONNECT_API AllowedCapabilities(Aws::Utils::Json::JsonView jsonValue)
void SetCustomer(ParticipantCapabilities &&value)
AllowedCapabilities & WithCustomer(const ParticipantCapabilities &value)
Aws::Utils::Json::JsonValue JsonValue